Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7042337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:09:22+00:00 2026-05-28T02:09:22+00:00

When i compile my cocos2d mac project i get this error: Undefined symbols for

  • 0

When i compile my cocos2d mac project i get this error:

Undefined symbols for architecture x86_64:
"_inflateInit2_", referenced from:
  _ccInflateMemoryWithHint in ZipUtils.o
"_inflate", referenced from:
  _ccInflateMemoryWithHint in ZipUtils.o
"_inflateEnd", referenced from:
  _ccInflateMemoryWithHint in ZipUtils.o
"_gzopen", referenced from:
  _ccInflateGZipFile in ZipUtils.o
"_gzread", referenced from:
  _ccInflateGZipFile in ZipUtils.o
"_gzclose", referenced from:
  _ccInflateGZipFile in ZipUtils.o
"_uncompress", referenced from:
  _ccInflateCCZFile in ZipUtils.o

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:09:23+00:00Added an answer on May 28, 2026 at 2:09 am

    You need to add the libz.dylib library to your target.

    As of Xcode 4.6, this is very easy. The target summary screen lets you add and remove frameworks and libraries. Here’s a demonstration:

    adding a library to a target in Xcode 4.6 and later

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When attempting to compile my C# project, I get the following error: 'C:\Documents and
When I try to compile new cocos2d+box2d project in xcode4. I got error message
I compile in Visual studio 2008 and get this error. I have researched linkage
how can I compile .css from .less in intellij ? sure this should be
I compile this code, it has no error. But when run the EXE in
I compile this bit of code on Snow Leopard and linux and I get
Im working on SpaceViking project from Ray Wenderlich's Cocos2D Book and the project has
A project that runs fine on Xcode3, fails to compile on Xcode4 with this
Is it possible to compile and run OpenGL programs from under Cygwin? If yes,
I'm trying to compile a Delphi 7 project that I've inherited, and I'm getting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.