Jennal / cocos2dx-3.2-qt

make cocos2dx 3.2 work with qt 5.4
MIT License
32 stars 28 forks source link

can you help me please! i'm Compiler this project get some err #6

Closed toFighting closed 7 years ago

toFighting commented 7 years ago

can you help me, please! I have set this in ENV_QT but I get these err info set(CPLUS_INCLUDE_PATH "E:/Compiler/msys2/mingw64/include") set(LIBRARY_PATH "E:/Compiler/msys2/mingw64/lib")

E:/IDE/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lsqlite3 E:/IDE/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lcurl_dll E:/IDE/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lwebsockets_dll E:/IDE/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ljbig_dll E:/IDE/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ltiff_dll E:/IDE/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lharfbuzz_dll E:/IDE/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lfreetype_dll E:/IDE/Qt/Tools/mingw530_32/bin/../lib/gcc/i686-w64-mingw32/5.3.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lfontconfig_dll

Jennal commented 7 years ago

@toFighting

For sqlite3, I think you should install a msys or something which could manage the packages of MinGW. Then you can install sqlite3 by following command

pacman -S --force --noconfirm --needed mingw-w64-x86_64-glfw mingw-w64-x86_64-glew mingw-w64-x86_64-libwebp mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-libpng mingw-w64-x86_64-freetype mingw-w64-x86_64-libiconv mingw-w64-x86_64-zlib mingw-w64-x86_64-curl mingw-w64-x86_64-make mingw-w64-x86_64-clang mingw-w64-x86_64-binutils mingw-w64-x86_64-headers mingw-w64-x86_64-cmake sqlite3

And for _dll libs, sorry for the hack. You should find all the lib files in Qt folder

curl.dll
websockets.dll
jbig.dll
tiff.dll
harfbuzz.dll
freetype.dll
fontconfig.dll

Make a copy and rename . to _.

toFighting commented 7 years ago

I see . thank you I will try

toFighting commented 7 years ago

excuse me!
thanks for your help me! I successful, but it's not run ! I get some err info The application does not start properly (0xc000007b). Click OK to close the application.

Jennal commented 7 years ago

Try this software: http://www.dependencywalker.com/ It tell you the dependency of you exe/dll. You can use it to find out if any dll missed with the compiled exe.