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 9135881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:52:48+00:00 2026-06-17T08:52:48+00:00

I’ve downloaded and installed Cinder and even run the TinderBox tutorial to create a

  • 0

I’ve downloaded and installed Cinder and even run the TinderBox tutorial to create a Cinder project in XCode.

However i’m keen to use eclipse as my IDE and not Xcode.

I’m running OSX 10.8.2

Having followed the following tutorials to configure eclipse Configure Eclipse and Vimeo Video, I encountered a number of issues compiling and linking.

make *** Error 1 C/C++ Problem cinder
undefined symbols for architecture i386:

I figure i’ve either not followed the tutorial posts to the letter or there is some difference in my setup.

Note: this is a Question Answer post.

  • 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-06-17T08:52:49+00:00Added an answer on June 17, 2026 at 8:52 am

    index

    1. Configure eclipse
    2. Issues encountered and solutions
    3. Appendix (source code)
    4. References

    ** Configure eclipse **

    Assumes that you have a C++ version of eclipse and have created a basic C++ Cinder project. You can find the .h and .cpp files in the appendix below. The following outlines the settings you need to configure to compile.

    Step 1.

    1. Open the project ‘properties’ window.
    2. Navigate to the C/C++ Build > ‘Build Variables’ option.

    Add the following Variable.

    CINDER_PATH /path/to/cinder_0.8.4_mac/
    

    Step 2.

    1. Navigate to the C/C++ Build > Settings window.
    2. Under the Tools Tab select the ‘MacOS X C++ Linker’ option.

    Here, in the ‘command’ input field you need to add after the g++ your command line options and OSX framework references

    g++ -m32 -arch i386 -framework Cocoa -framework IOKit -framework Accelerate -framework AudioToolbox -framework AudioUnit -framework CoreAudio -framework CoreVideo -framework CoreServices -framework QTKit -framework OpenGL -framework QuickTime -framework AppKit -framework Cocoa -framework CoreData -framework Foundation
    

    -m32 Tells the link to use 32 bit rather than 64 bit.

    -arch i386 Ensures we link for the correct architecture.

    -framework Reference the frameworks required to run Cinder (As i understand it currently)

    NOTE: Depending on your mac version you might find -framework Carbon in stead of -framework Cocoa, I used Cocoa. 
    

    Step 3.

    1. Navigate to the ‘MacOS X C++ Linker’ > ‘Libraries’ option
    2. Add the following library search paths. ( -L command line)

      ${CINDER_PATH}/lib
      ${CINDER_PATH}/lib/ios-sim
      ${CINDER_PATH}/lib/ios
      ${CINDER_PATH}/lib/macosx

    Add the following libraries to include ( -l command line)

    cinder
    cinder_d
    z
    png14
    pixman-1
    cairo
    boost_thread
    boost_system
    boost_filesystem
    boost_date_time
    cinder-iphone-sim_d
    

    Step 4.

    Under the ‘MacOS X C++ Linker’ menu select the ‘Miscellaneous’ option and add the following in the XLinker field.

    ${CINDER_PATH}/lib/libcinder_d.a
    
    NOTE: It was adding this option along with the -arch i386 option that resolved this error "undefined symbols for architecture i386:"
    

    Step 5.

    1. Select the “GCC C++ Compiler” menu option.
    2. Add the following in the ‘command” field.

      g++ -m32 -arch i386

    Select the ‘Includes’ menu option and add the following folder paths

    ${CINDER_PATH}/boost
    ${CINDER_PATH}/include
    /System/Library/Frameworks
    

    ** Issues encountered and solutions **

    Problem A

    make *** Error 1 C/C++ Problem cinder
    undefined symbols for architecture i386:
    

    Solution A

    I found that there were two contributing factors to overcoming this issue. The first was adding the -m32 and -arch i386 command line options to the linker and compiler settings.

    The second was that inclusion of the following -XLinker option

    ${CINDER_PATH}/lib/libcinder_d.a
    

    Note: The above is for debug mode, (The _d) for release you have to set it to

    ${CINDER_PATH}/lib/libcinder.a
    

    ** Appendix **

    HelloWorld.h

    #include "cinder/app/AppBasic.h"
    #include "cinder/gl/gl.h"
    
    using namespace ci;
    using namespace ci::app;
    using namespace std;
    
    
    class HelloWorld : public AppBasic {
      public:
        void setup();
        void mouseDown( MouseEvent event );
        void update();
        void draw();
        void prepareSettings(Settings * settings);
    };
    

    HellowWorld.cpp

    #include "HelloWorld.h"
    // You dont' need this when you have the CINDER_APP_BASIC line below.
    //int main(int argc, char **argv) {
    //  return -1;
    //}
    
    
    void HelloWorld::setup()
    {
    
    }
    
    void HelloWorld::mouseDown( MouseEvent event )
    {
    }
    
    void HelloWorld::update()
    {
    }
    
    void HelloWorld::draw()
    {
        // clear out the window with black
        gl::clear( Color( 0, 0, 0 ) );
    }
    
    void HelloWorld::prepareSettings(Settings * settings)
    {
        settings->setWindowSize( 800, 600 );
        settings->setFrameRate( 60.0f );
    }
    
    CINDER_APP_BASIC( HelloWorld, RendererGl )
    

    References

    All credit goes to these posts that helped me in the first place and of course the creators of Cinder.

    1. Original Tutorial followed to configure eclipse for Cinder
    2. Link that helped solve the problem of correctly linking
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I am confused How to use looping for Json response Array in another Array.
I want use html5's new tag to play a wav file (currently only supported
I would like to run a str_replace or preg_replace which looks for certain words
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
I'm trying to create an if statement in PHP that prevents a single post
Let's say I'm outputting a post title and in our database, it's Hello Y’all

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.