- bounty将在3天后过期**。回答此问题可获得+50声望奖励。KungPhoo希望引起更多人对此问题的关注:请使用以下文件:glbasic.com/beta/twintris_as.zip而不是.7z
当我试图构建我的项目时,我现在得到错误。我没有改变任何东西,我的印象是,它确实是几年前构建的。你能帮忙吗?
错误消息为:
C/C++: ld: error: C:\Users\gf\Documents\GLBasic\TwinTris\distribute\android_studio\app\build\intermediates\cxx\Debug\5e641jm3/obj/local/arm64-v8a/objs-debug/main/glbasic/lib_glbasic.o: unable to find library from dependent library specifier: SDL.lib
C/C++: ld: error: C:\Users\gf\Documents\GLBasic\TwinTris\distribute\android_studio\app\build\intermediates\cxx\Debug\5e641jm3/obj/local/arm64-v8a/objs-debug/main/glbasic/lib_glbasic.o: unable to find library from dependent library specifier: SDL_mixer.lib
C/C++: ld: error: C:\Users\gf\Documents\GLBasic\TwinTris\distribute\android_studio\app\build\intermediates\cxx\Debug\5e641jm3/obj/local/arm64-v8a/objs-debug/main/glbasic/lib_glbasic.o: unable to find library from dependent library specifier: SDLmain.lib
C/C++: ld: error: C:\Users\gf\Documents\GLBasic\TwinTris\distribute\android_studio\app\build\intermediates\cxx\Debug\5e641jm3/obj/local/arm64-v8a/objs-debug/main/glbasic/lib_glbasic.o: unable to find library from dependent library specifier: SDL_mixer.lib
C/C++: clang++: error: linker command failed with exit code 1 (use -v to see invocation)
C/C++: make: *** [C:/Users/gf/AppData/Local/Android/Sdk/ndk/23.1.7779620/build//../build/core/build-binary.mk:715: C:\Users\gf\Documents\GLBasic\TwinTris\distribute\android_studio\app\build\intermediates\cxx\Debug\5e641jm3/obj/local/arm64-v8a/libmain.so] Error 1
C/C++: ld: error: C:\Users\gf\Documents\GLBasic\TwinTris\distribute\android_studio\app\build\intermediates\cxx\Debug\5e641jm3/obj/local/arm64-v8a/objs-debug/main/glbasic/lib_glbasic.o: unable to find library from dependent library specifier: SDL_mixer.lib
您可以在以下位置找到该项目:https://www.glbasic.com/beta/twintris_as.7z
1条答案
按热度按时间6ojccjat1#
看起来好像你需要告诉编译器在哪里可以找到SDL库。你可以按照这里的建议去做:Linking errors with SDL_mixer library
您需要确保这些lib库也位于编译器可以找到的位置。