我正在尝试使用SDL_Image库,并将.so文件添加到我的项目链接库列表中(顺便说一下,我正在使用Code::Blocks)。
在这样做之后,当我尝试编译时,出现以下错误:
Linking console executable: bin/Debug/ttfx
/usr/lib32/libSDL_image-1.2.so: could not read symbols: File in wrong format
这是什么意思,我该如何让它工作?
编辑:我正在使用gcc。
谢谢!
我正在尝试使用SDL_Image库,并将.so文件添加到我的项目链接库列表中(顺便说一下,我正在使用Code::Blocks)。
在这样做之后,当我尝试编译时,出现以下错误:
Linking console executable: bin/Debug/ttfx
/usr/lib32/libSDL_image-1.2.so: could not read symbols: File in wrong format
codeblocks
,但文档中的这个部分似乎详细说明了需要做什么。http://wiki.codeblocks.org/index.php?title=Developing_32_bit_apps_under_64_bit_Linux_(Ubuntu)#Setting_the_build_options_in_Code::Blocks - Benjamin Bannier