Closed micky-zh closed 8 years ago
seems the folder should be glib-2.48.1, but changed to glib-tools-2.48.1 some file compile ,still link to glib-2.48.1 folder,
A simple easy way: cp -r /Users/x/cerbero/build/sources/build-tools/glib-tools-2.48.1/ glib-2.48.1
When I finshed build Mac os HOST.
then I build android got this issues. (when build glib can not find a libglib-2.0.la) plz help me find out.
..... libtool: error: cannot find the library '/Users/baidu/cerbero/build/sources/build-tools/glib-2.48.1/glib/libglib-2.0.la' or unhandled argument '/Users/baidu/cerbero/build/sources/build-tools/glib-2.48.1/glib/libglib-2.0.la' make[4]: * [gobject-query] Error 1 make[4]: * Waiting for unfinished jobs.... libtool: link: clang -Wall -Wstrict-prototypes -Werror=declaration-after-statement -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/baidu/cerbero/build/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/baidu/cerbero/build/build-tools/include -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -headerpad_max_install_names -Wl,-headerpad_max_install_names -Wno-error=unused-command-line-argument -arch x86_64 -m64 -Wl,-arch -Wl,x86_64 -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -headerpad_max_install_names -Wl,-headerpad_max_install_names -Wno-error=unused-command-line-argument -arch x86_64 -m64 -Wl,-arch -Wl,x86_64 -mmacosx-version-min=10.8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -Wl,-framework -Wl,Carbon -Wl,-framework -Wl,Foundation -Wl,-framework -Wl,AppKit -o .libs/glib-genmarshal glib-genmarshal.o -L/Users/baidu/cerbero/build/build-tools/lib ../glib/.libs/libglib-2.0.dylib /Users/baidu/cerbero/build/build-tools/lib/libintl.dylib -liconv -lc make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Running command 'make -j4'