-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manjaro can't compile this #14
Comments
I think FIND SDL PACKAGE is not working in CMAKE |
I know I'm a month late but changing the cmake file to contain this line: |
Both |
I'm in Manjaro too, I get this error while executing
|
Can confirm this is also a issue for me on the Raspberry pi 4 By editing CMakeLists.txt and replacing |
Manjaro can't compile this because of missing SDL?
ain.cpp:(.text+0x58c): undefined reference to
SDL_GetTicks' /usr/bin/ld: Main.cpp:(.text+0x5b8): undefined reference to
SDL_PollEvent'/usr/bin/ld: Main.cpp:(.text+0x604): undefined reference to
SDL_GetKeyboardState' /usr/bin/ld: Main.cpp:(.text+0x7d6): undefined reference to
SDL_SetWindowFullscreen'/usr/bin/ld: Main.cpp:(.text+0x81b): undefined reference to
SDL_UpdateTexture' /usr/bin/ld: Main.cpp:(.text+0x82a): undefined reference to
SDL_RenderClear'/usr/bin/ld: Main.cpp:(.text+0x843): undefined reference to
SDL_RenderSetLogicalSize' /usr/bin/ld: Main.cpp:(.text+0x863): undefined reference to
SDL_RenderCopy'/usr/bin/ld: Main.cpp:(.text+0x885): undefined reference to
SDL_RenderSetLogicalSize' /usr/bin/ld: Main.cpp:(.text+0x8a5): undefined reference to
SDL_RenderCopy'/usr/bin/ld: Main.cpp:(.text+0x8b4): undefined reference to
SDL_RenderPresent' /usr/bin/ld: Main.cpp:(.text+0x8b9): undefined reference to
SDL_GetTicks'/usr/bin/ld: Main.cpp:(.text+0x922): undefined reference to
SDL_Delay' /usr/bin/ld: CMakeFiles/smbc.dir/source/Emulation/APU.cpp.o: in function
APU::stepFrame()':APU.cpp:(.text+0x3f4): undefined reference to
SDL_LockAudio' /usr/bin/ld: APU.cpp:(.text+0x4f1): undefined reference to
SDL_UnlockAudio'/usr/bin/ld: CMakeFiles/smbc.dir/source/Util/Video.cpp.o: in function
generateScanlineTexture(SDL_Renderer*)': Video.cpp:(.text+0x3f2): undefined reference to
SDL_CreateTexture'/usr/bin/ld: Video.cpp:(.text+0x4fe): undefined reference to
SDL_SetTextureBlendMode' /usr/bin/ld: Video.cpp:(.text+0x518): undefined reference to
SDL_UpdateTexture'collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/smbc.dir/build.make:219: smbc] Error 1
make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/smbc.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
The text was updated successfully, but these errors were encountered: