Undefined reference to 'inflateInit2_'

前端 未结 2 1916
猫巷女王i
猫巷女王i 2020-12-17 22:43

I\'m using Code Blocks IDE and I want to install Tiled Map Editor for SFML. So, I downloaded the source and imported it to my project. Unfortunately, the build finished with

2条回答
  •  無奈伤痛
    2020-12-17 23:47

    Use the option -L to tell the linker where to find libz.so.x.y.z.

    For your reference: http://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html

提交回复
热议问题