René's URL Explorer Experiment


Title: ZLib Linking error · Issue #19 · fifengine/cpp-tutorials · GitHub

Open Graph Title: ZLib Linking error · Issue #19 · fifengine/cpp-tutorials

X Title: ZLib Linking error · Issue #19 · fifengine/cpp-tutorials

Description: Hi, I am currently trying to build the FIFEngine tutorial, but I am getting stuck at the following error: sromer@ubuntu:~/Development/cpp-tutorials/src/_build$ cmake .. -- The C compiler identification is GNU 5.4.0 -- The CXX compiler id...

Open Graph Description: Hi, I am currently trying to build the FIFEngine tutorial, but I am getting stuck at the following error: sromer@ubuntu:~/Development/cpp-tutorials/src/_build$ cmake .. -- The C compiler identifica...

X Description: Hi, I am currently trying to build the FIFEngine tutorial, but I am getting stuck at the following error: sromer@ubuntu:~/Development/cpp-tutorials/src/_build$ cmake .. -- The C compiler identifica...

Opengraph URL: https://github.com/fifengine/cpp-tutorials/issues/19

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ZLib Linking error","articleBody":"Hi,\n\nI am currently trying to build the FIFEngine tutorial, but I am getting stuck at the following error:\n\n```\nsromer@ubuntu:~/Development/cpp-tutorials/src/_build$ cmake ..\n-- The C compiler identification is GNU 5.4.0\n-- The CXX compiler identification is GNU 5.4.0\n-- Check for working C compiler: /usr/bin/cc\n-- Check for working C compiler: /usr/bin/cc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Check for working CXX compiler: /usr/bin/c++\n-- Check for working CXX compiler: /usr/bin/c++ -- works\n-- Detecting CXX compiler ABI info\n-- Detecting CXX compiler ABI info - done\n-- Detecting CXX compile features\n-- Detecting CXX compile features - done\n-- Set CMAKE_BUILD_TYPE to default 'Release'.\n\n== Building fife-cpp-tutorials using build type 'Release'.\n--     Source directory is '/home/sromer/Development/cpp-tutorials/src'.\n--     Build  directory is '/home/sromer/Development/cpp-tutorials/src/_build'.\n--     Installation path is '/usr/local' (set -DCMAKE_INSTALL_PREFIX=\u003cpath\u003e to change).\n--     CXX Compiler Flags: ''.\n--     Dependencies folder: '/home/sromer/Development/cpp-tutorials/src/../dependencies'.\n\n-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so\n-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found\n-- Looking for gethostbyname\n-- Looking for gethostbyname - found\n-- Looking for connect\n-- Looking for connect - found\n-- Looking for remove\n-- Looking for remove - found\n-- Looking for shmat\n-- Looking for shmat - found\n-- Looking for IceConnectionNumber in ICE\n-- Looking for IceConnectionNumber in ICE - found\n-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so\n-- Found FIFE: /usr/local/lib/libfife.a (found version \"0.4.0\") \n-- Found the following FifeChan libraries:\n--   fifechan_opengl\n--   fifechan_sdl\n-- Found FIFECHAN: /usr/local/lib/libfifechan.so   \n-- Boost version: 1.58.0\n-- Found the following Boost libraries:\n--   system\n--   filesystem\n--   regex\n-- Found VORBIS: /usr/lib/x86_64-linux-gnu/libvorbisfile.so  \n-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version \"1.2.8\") \n-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so (found version \"1.2.54\") \n-- Found OGG: /usr/lib/x86_64-linux-gnu/libogg.so  \n\u003cFindSDL2.cmake\u003e\n-- Looking for pthread.h\n-- Looking for pthread.h - found\n-- Looking for pthread_create\n-- Looking for pthread_create - not found\n-- Looking for pthread_create in pthreads\n-- Looking for pthread_create in pthreads - not found\n-- Looking for pthread_create in pthread\n-- Looking for pthread_create in pthread - found\n-- Found Threads: TRUE  \n\u003c/FindSDL2.cmake\u003e\n-- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread  \n-- Found SDL2_image: /usr/lib/x86_64-linux-gnu/libSDL2_image.so (found version \"2.0.1\") \n-- Found SDL2_ttf: /usr/lib/x86_64-linux-gnu/libSDL2_ttf.so (found version \"2.0.14\") \n-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so  \n-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  \n-- Found TinyXML: /usr/lib/x86_64-linux-gnu/libtinyxml.so  \n-- Configuring done\n-- Generating done\n-- Build files have been written to: /home/sromer/Development/cpp-tutorials/src/_build\nsromer@ubuntu:~/Development/cpp-tutorials/src/_build$ make\nScanning dependencies of target Tutorial1\n[ 14%] Building CXX object tutorial_1/CMakeFiles/Tutorial1.dir/MouseListener.cpp.o\n[ 28%] Building CXX object tutorial_1/CMakeFiles/Tutorial1.dir/ScreenScroller.cpp.o\n[ 42%] Building CXX object tutorial_1/CMakeFiles/Tutorial1.dir/Game.cpp.o\n[ 57%] Building CXX object tutorial_1/CMakeFiles/Tutorial1.dir/main.cpp.o\n[ 71%] Building CXX object tutorial_1/CMakeFiles/Tutorial1.dir/KeyListener.cpp.o\n[ 85%] Building CXX object tutorial_1/CMakeFiles/Tutorial1.dir/ViewController.cpp.o\n[100%] Linking CXX executable Tutorial1\n/usr/bin/ld: /usr/local/lib/libfife.a(zipsource.cpp.o): undefined reference to symbol 'inflateInit2_'\n/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libz.so: error adding symbols: DSO missing from command line\ncollect2: error: ld returned 1 exit status\ntutorial_1/CMakeFiles/Tutorial1.dir/build.make:268: recipe for target 'tutorial_1/Tutorial1' failed\nmake[2]: *** [tutorial_1/Tutorial1] Error 1\nCMakeFiles/Makefile2:85: recipe for target 'tutorial_1/CMakeFiles/Tutorial1.dir/all' failed\nmake[1]: *** [tutorial_1/CMakeFiles/Tutorial1.dir/all] Error 2\nMakefile:127: recipe for target 'all' failed\nmake: *** [all] Error 2\n```\n\nI 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.\n\nI am running Ubuntu 16.04 LTS (x64).\n\nHopefully someone can help me out!\n","author":{"url":"https://github.com/sromer","@type":"Person","name":"sromer"},"datePublished":"2016-10-24T10:33:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/19/cpp-tutorials/issues/19"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5a0515fc-8830-56d9-57e8-153db1df12e4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDF2A:31190F:42BB58B:5BB5E09:6977F83E
html-safe-nonce340646435cc72ed30cd1fc9608bb2117a6f64291756a7f1788ef20cd7736d518
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjJBOjMxMTkwRjo0MkJCNThCOjVCQjVFMDk6Njk3N0Y4M0UiLCJ2aXNpdG9yX2lkIjoiODM2MDQzNzQwNTc2NDI4NjUyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1ba998911cf9491550d53cd69ba0fd101fb61d363893474a8ce3824cd18250ce
hovercard-subject-tagissue:184804613
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fifengine/cpp-tutorials/19/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cb5fc6707f532220cef216d88b17bc6f1954a879675b3b0bcbf9ca216fcd1544/fifengine/cpp-tutorials/issues/19
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cb5fc6707f532220cef216d88b17bc6f1954a879675b3b0bcbf9ca216fcd1544/fifengine/cpp-tutorials/issues/19
og:image:altHi, I am currently trying to build the FIFEngine tutorial, but I am getting stuck at the following error: sromer@ubuntu:~/Development/cpp-tutorials/src/_build$ cmake .. -- The C compiler identifica...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesromer
hostnamegithub.com
expected-hostnamegithub.com
None9306bf4a8c8a88a5945f83e25033fc5e6fb7a05f40c5fca300ac67db7fee56ae
turbo-cache-controlno-preview
go-importgithub.com/fifengine/cpp-tutorials git https://github.com/fifengine/cpp-tutorials.git
octolytics-dimension-user_id3652510
octolytics-dimension-user_loginfifengine
octolytics-dimension-repository_id8343577
octolytics-dimension-repository_nwofifengine/cpp-tutorials
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8343577
octolytics-dimension-repository_network_root_nwofifengine/cpp-tutorials
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec586ac0f2edbf5b31f9ca03622220a4285e2def8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/fifengine/cpp-tutorials/issues/19#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffifengine%2Fcpp-tutorials%2Fissues%2F19
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffifengine%2Fcpp-tutorials%2Fissues%2F19
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=fifengine%2Fcpp-tutorials
Reloadhttps://github.com/fifengine/cpp-tutorials/issues/19
Reloadhttps://github.com/fifengine/cpp-tutorials/issues/19
Reloadhttps://github.com/fifengine/cpp-tutorials/issues/19
fifengine https://github.com/fifengine
cpp-tutorialshttps://github.com/fifengine/cpp-tutorials
Notifications https://github.com/login?return_to=%2Ffifengine%2Fcpp-tutorials
Fork 6 https://github.com/login?return_to=%2Ffifengine%2Fcpp-tutorials
Star 30 https://github.com/login?return_to=%2Ffifengine%2Fcpp-tutorials
Code https://github.com/fifengine/cpp-tutorials
Issues 3 https://github.com/fifengine/cpp-tutorials/issues
Pull requests 0 https://github.com/fifengine/cpp-tutorials/pulls
Actions https://github.com/fifengine/cpp-tutorials/actions
Projects 0 https://github.com/fifengine/cpp-tutorials/projects
Wiki https://github.com/fifengine/cpp-tutorials/wiki
Security 0 https://github.com/fifengine/cpp-tutorials/security
Insights https://github.com/fifengine/cpp-tutorials/pulse
Code https://github.com/fifengine/cpp-tutorials
Issues https://github.com/fifengine/cpp-tutorials/issues
Pull requests https://github.com/fifengine/cpp-tutorials/pulls
Actions https://github.com/fifengine/cpp-tutorials/actions
Projects https://github.com/fifengine/cpp-tutorials/projects
Wiki https://github.com/fifengine/cpp-tutorials/wiki
Security https://github.com/fifengine/cpp-tutorials/security
Insights https://github.com/fifengine/cpp-tutorials/pulse
New issuehttps://github.com/login?return_to=https://github.com/fifengine/cpp-tutorials/issues/19
New issuehttps://github.com/login?return_to=https://github.com/fifengine/cpp-tutorials/issues/19
ZLib Linking errorhttps://github.com/fifengine/cpp-tutorials/issues/19#top
https://github.com/sromer
https://github.com/sromer
sromerhttps://github.com/sromer
on Oct 24, 2016https://github.com/fifengine/cpp-tutorials/issues/19#issue-184804613
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.