Results 1 to 3 of 3

Thread: MacOsX + QtCreator + Ogre

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default MacOsX + QtCreator + Ogre

    Hey guys I'm trying to link a Qt library with Ogre on MacOSX.

    When using Xcode with the following command line, it compiles:

    Qt Code:
    1. /Developer/usr/bin/g++-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/benjaminarnaud/dev/xcode/testOgre/build/Debug -L/Users/benjaminarnaud/dev/xcode/testOgre/../../workspace/sky/lib -F/Users/benjaminarnaud/dev/xcode/testOgre/build/Debug -filelist /Users/benjaminarnaud/dev/xcode/testOgre/build/testOgre.build/Debug/testOgre.build/Objects-normal/i386/testOgre.LinkFileList -mmacosx-version-min=10.5 -framework Carbon /Users/benjaminarnaud/dev/xcode/testOgre/../../workspace/sky/lib/Ogre_d -o /Users/benjaminarnaud/dev/xcode/testOgre/build/Debug/testOgre.app/Contents/MacOS/testOgre
    To copy to clipboard, switch view to plain text mode 

    When using QtCreator it crashes like following:

    Qt Code:
    1. g++ -headerpad_max_install_names -arch i386 -single_module -dynamiclib -o libSkGraphicsEngineD.dylib WControllerGraphicsEngine.o WPluginGraphicsEngine.o moc_WControllerGraphicsEngine.o moc_WPluginGraphicsEngine.o -F/Library/Frameworks -L/Library/Frameworks -L../../lib -lSkCoreD -lSkGuiD -framework Ogre -framework QtGui -framework QtCore
    2. Undefined symbols:
    3. "Ogre::NedPoolingImpl::deallocBytes(void*)", referenced from:
    4. Ogre::NedPoolingPolicy::deallocateBytes(void*) in WControllerGraphicsEngine.o
    5. "Ogre::NedPoolingImpl::allocBytes(unsigned long, char const*, int, char const*)", referenced from:
    6. Ogre::NedPoolingPolicy::allocateBytes(unsigned long, char const*, int, char const*)in WControllerGraphicsEngine.o
    7. ld: symbol(s) not found
    8. collect2: ld returned 1 exit status
    To copy to clipboard, switch view to plain text mode 

    Any idea ?

  2. #2
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: MacOsX + QtCreator + Ogre


  3. #3
    Join Date
    Jul 2010
    Location
    Talca, chile
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: MacOsX + QtCreator + Ogre

    Sorry bunjee, you can show me the .pro.

    I try compile with QtCreator but I cant not.

    thanks a lot.

    My .pro File is http://pastebin.com/kbB59GZA

Similar Threads

  1. Replies: 1
    Last Post: 10th February 2010, 07:28
  2. MacOSX Bundles
    By pwopwo in forum Qt Programming
    Replies: 0
    Last Post: 24th November 2009, 02:53
  3. Help - QOgreGLWidget in macOSx
    By Machado in forum Qt Programming
    Replies: 0
    Last Post: 1st September 2009, 18:27
  4. qwt DYLD_LIBRARY_PATH on MacOsX
    By dup in forum Qwt
    Replies: 10
    Last Post: 10th January 2009, 01:44
  5. Replies: 0
    Last Post: 17th August 2008, 17:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.