-
Notifications
You must be signed in to change notification settings - Fork 6
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
ZLib Linking error #19
Comments
Give it an libz devel package maybe? |
Wow @LinuxDonald you are fast! The following libs are installed:
|
i will take an look later on it. I have tested it last time on ArchLinux and dont had any problems. But i have Ubuntu installed too i will test it and see what happens. |
Just tested it on a clean Kubuntu install, because @milandamen has no problems with building on Kubuntu, but I am getting the same ( |
Have you installed all fife deps? https://github.com/fifengine/fifengine/wiki/Compiling-fife |
Yes, all deps have been installed properly. |
We have Do you have any errors messages during building libfife? |
Just cloned the fifengine repo and build from source. Have not seen any errors during the build process, also the installed ZLib library (1.2.8) is found. cmake -> http://pastebin.com/McLVqHN4 |
Thank you for posting the logs. What could help is to go into cmake verbose mode to see the linker commands. Another thing, which could help is, to output the vars from the library detection done by Just add the following lines after find_package did it's job and the vars have been set.
|
I have ran make with VERBOSE=1 Also when adding the message statements to the Which seem like the legit folders... |
Thank you. The message output is ok. The verbose output is for fifengine itself - and i noticed one issue, regarding Fifechan:
Seems the includes for fifechan are missing or not detected properly. The later maybe, because the old logs show that the lib is found Update: i've enabled verbose mode on Travis for Linux builds. I could reproduce the Fifechan include issue But not the original zlib linking issue (the linker line contains |
I recreated the exact problem in a VM running Ubuntu 64bit and I found a solution: Instead of running That's it. The tutorial builds correctly now. It doesn't fix the original issue but it can be used as a workaround for the time being. |
Hi,
I am currently trying to build the FIFEngine tutorial, but I am getting stuck at the following error:
I figured libz.so might be missing from my system, but as you can see, CMake is able to find the libz library correctly:
Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8")
. I have checked if the library is indeed installed and can be found/accessed at the folder in which CMake locates libz and that is the case.I am running Ubuntu 16.04 LTS (x64).
Hopefully someone can help me out!
The text was updated successfully, but these errors were encountered: