当库路径包含空格时,找不到路径。 因此,我使用引号来包装路径。该路径已找到,但无法在目录中找到该库。Makefile在库目录中有空格
如:
Debug_Library_Path=-L"../Externals/TextLibrary/libs/with space/gccDebug/"
Release_Library_Path=-L"../Externals/TextLibrary/libs/with space/gccRelease/"
Debug_Libraries=-Wl,--start-group -lTextLibrary -Wl,--end-group
Release_Libraries=-Wl,--start-group -lTextLibrary -Wl,--end-group
它提示说:找不到 “-lTextLibrary”
有谁知道什么可能会造成这个问题?
您能否提供有关生成错误的实际命令的信息? – 2012-07-23 18:55:04