We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
conan profile show default
conan profile show <profile>
[settings] os=Linux os_build=Linux arch=x86 arch_build=x86_64 compiler=gcc compiler.version=8 compiler.libcxx=libstdc++ build_type=Release [options] [build_requires] [env]
I'm trying to integrate conan to my project that uses sdl2 and sdl2-mixer, here my conanfile.txt:
conanfile.txt
[requires] sdl2/2.0.9@bincrafters/stable sdl2_mixer/2.0.4@bincrafters/stable libalsa/1.1.5@conan/stable [generators] cmake_find_package
After run conan install .. --settings arch=x86, cmake -G Ninja .. and ninja I got error
conan install .. --settings arch=x86
cmake -G Ninja ..
ninja
[1/1] Linking CXX executable bin/systemshock FAILED: bin/systemshock : && /usr/bin/c++ -m32 -D__STDC_LIMIT_MACROS -rdynamic CMakeFiles/systemshock.dir/src/MacSrc/ShockBitmap.c.o CMakeFiles/systemshock.dir/src/MacSrc/InitMac.c.o CMakeFiles/systemshock.dir/src/MacSrc/Shock.c.o CMakeFiles/systemshock.dir/src/MacSrc/Prefs.c.o CMakeFiles/systemshock.dir/src/MacSrc/MacTune.c.o CMakeFiles/systemshock.dir/src/MacSrc/SDLSound.c.o CMakeFiles/systemshock.dir/src/MacSrc/Modding.c.o CMakeFiles/systemshock.dir/src/MacSrc/OpenGL.cc.o CMakeFiles/systemshock.dir/src/MacSrc/Xmi.c.o CMakeFiles/systemshock.dir/src/MusicSrc/MusicDevice.c.o -o bin/systemshock libGAME_LIB.a src/Libraries/libUI_LIB.a src/Libraries/lib2D_LIB.a src/Libraries/libLG_LIB.a src/Libraries/libGR_LIB.a src/Libraries/lib3D_LIB.a src/Libraries/libRND_LIB.a src/Libraries/libAFILE_LIB.a src/Libraries/libDSTRUCT_LIB.a src/Libraries/libFIX_LIB.a src/Libraries/libINPUT_LIB.a src/Libraries/libPALETTE_LIB.a src/Libraries/libRES_LIB.a src/Libraries/libVOX_LIB.a src/Libraries/libEDMS_LIB.a src/Libraries/libFIXPP_LIB.a src/Libraries/libADLMIDI_LIB.a /home/winterheart/.conan/data/sdl2/2.0.9/bincrafters/stable/package/502c8846d551d3db16b9994b49b53b2409eb7439/lib/libSDL2.a /home/winterheart/.conan/data/sdl2/2.0.9/bincrafters/stable/package/502c8846d551d3db16b9994b49b53b2409eb7439/lib/libSDL2main.a -ldl -lrt -lpthread -lasound -lm -ldl -lpthread -lrt -ljack -lpthread -lpulse -laudio /home/winterheart/.conan/data/sdl2_mixer/2.0.4/bincrafters/stable/package/700e5783b0b8d07f6f63b44013845f0f52dd5b7f/lib/libsdl2_mixer.a -lGL -lGLU -lfluidsynth src/Libraries/lib2D_LIB.a src/Libraries/libLG_LIB.a -ldl -lrt -lasound -ljack -lm -lpulse -laudio /home/winterheart/.conan/data/sdl2_mixer/2.0.4/bincrafters/stable/package/700e5783b0b8d07f6f63b44013845f0f52dd5b7f/lib/libsdl2_mixer.a -lGL -lGLU -lfluidsynth && cd /home/winterheart/playground/systemshock/build && /usr/bin/cmake -E copy_directory /home/winterheart/playground/systemshock/shaders /home/winterheart/playground/systemshock/build/bin/shaders /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/winterheart/.conan/data/sdl2_mixer/2.0.4/bincrafters/stable/package/700e5783b0b8d07f6f63b44013845f0f52dd5b7f/lib/libsdl2_mixer.a(music_flac.c.o): undefined reference to symbol 'FLAC__stream_decoder_seek_absolute' /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libFLAC.so.8: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
It seems sdl2_mixer/2.0.4@bincrafters/stable not fills sdl2_mixer_LIBRARY_LIST in generated Findsdl2_mixer.cmake.
sdl2_mixer_LIBRARY_LIST
The text was updated successfully, but these errors were encountered:
Generated Findsdl2_mixer.cmake
Sorry, something went wrong.
@Croydon do you have an idea what might be wrong here?
No branches or pull requests
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)[settings]
os=Linux
os_build=Linux
arch=x86
arch_build=x86_64
compiler=gcc
compiler.version=8
compiler.libcxx=libstdc++
build_type=Release
[options]
[build_requires]
[env]
Steps to reproduce (Include if Applicable)
I'm trying to integrate conan to my project that uses sdl2 and sdl2-mixer, here my
conanfile.txt
:After run
conan install .. --settings arch=x86
,cmake -G Ninja ..
andninja
I got errorIt seems sdl2_mixer/2.0.4@bincrafters/stable not fills
sdl2_mixer_LIBRARY_LIST
in generated Findsdl2_mixer.cmake.Logs (Include/Attach if Applicable)
The text was updated successfully, but these errors were encountered: