Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - template

Pages: [1]
1
Thank you. May be there is a bit not enough understanding from my part concerning clang and libc++ configuration.
Do you think I shall recompile the SFML lib from inside Qt ?

Talking about an osx tutorial, do you mean this page : http://sfml-dev.org/tutorials/2.1/start-osx.php ?

2

I did not find a similar error, with just one of the SFML functions causing trouble and not the others. Did you ?

Well, did I omit to mention that I used Qt as an IDE ? The tutorial for OSX takes care of the Xcode approach which I have tried and succeeded in using, but not within Qt.

3
General / error undefined symbol x86_64 only for saveToFile() on osX ?
« on: August 27, 2014, 07:07:36 pm »
My config : OS X.9.4, SFML-2.1-osx-clang-universal

In a program having making lots of references to other sgml sound objects, when I uncomment the line "mySoundBuffer.saveToFile(theName.str());" I'm getting the error message
Undefined symbols for architecture x86_64:
  "sf::SoundBuffer::saveToFile(std::string const&) const", referenced from:
      soundSauv::generate() in soundSauv.o
Otherwise it does compile well with the rest of the app.

in the .pro file was put the following :
LIBS += -L"/usr/local/lib"

CONFIG(release, debug|release): LIBS += -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-network -lsfml-window
CONFIG(debug, debug|release): LIBS += -lsfml-audio -lsfml-graphics -lsfml-system -lsfml-network -lsfml-window

INCLUDEPATH += "/usr/local/include/"
DEPENDPATH += "/usr/local/include/"

Thanks

4
General / Re: template app OK on 32 bits / crash on 64 bits
« on: May 20, 2014, 11:10:17 pm »
OK, sfml seems to be installed now with cmake.
 I issued this commands  :
cmake -G 'Unix Makefiles' -DCMAKE_OSX_ARCHITECTURES='x86_64'  -DSFML_INSTALL_XCODE4_TEMPLATES='ON' -DCMAKE_OSX_SYSROOT=/Developer/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -DCMAKE_OSX_DEPLOYMENT_TARGET=10.7

(it would not work if arch was set also to i386. Sysroot and Target were to be set at 10.7)

But now I can't compile anymore, even for 32 bits. Don't know how to get this SFML lib working back again.

Thanks

5
General / Re: template app OK on 32 bits / crash on 64 bits
« on: May 20, 2014, 10:31:26 pm »
So sorry if I don't get all the picture - I'm not a git hero, but according to the cmakelists.txt file, SFML is not 32 bits-compatible, so why , on the contrary, can I only build for 32 bits and not for 64 ?

6
General / Re: template app OK on 32 bits / crash on 64 bits
« on: May 20, 2014, 09:42:43 pm »
Strangely enough, I tried to build sfml with cmake, and he message I got is : SFML doesn't support 32 bit on
  Mac OS X. This advice is written in the Cmakelists.txt file itself.

7
General / template app OK on 32 bits / crash on 64 bits
« on: May 20, 2014, 05:42:50 pm »
Hello,
opened the sfml app template Xcode Project with Xcode 4.6.3 in OSX 10.7 (macbook Pro 2008, 64 bits)
the build was OK with SFML 2.1 clang-universal installed.
The app could run when targeting a 32 bit architecture, with base sdk 10.7
But when targeting 64 bits or Standard, the run would issue :

dyld: Symbol not found: _OBJC_CLASS_$_NSObject
  Referenced from: /Users/me/Library/Developer/Xcode/DerivedData/tu-fpaxmpysdutavabjbdmdizvyttkh/Build/Products/Debug/tu.app/Contents/MacOS/../Frameworks/libsfml-window.2.dylib
  Expected in: /usr/lib/libobjc.A.dylib
 in /Users/me/Library/Developer/Xcode/DerivedData/tu-fpaxmpysdutavabjbdmdizvyttkh/Build/Products/Debug/tu.app/Contents/MacOS/../Frameworks/libsfml-window.2.dylib
(lldb)

Any idea ?

Thanks

Pages: [1]
anything