1
Général / Re : [Xcode5] problème d'utilisation des frameworks
« le: Décembre 20, 2013, 08:04:45 pm »
up
personne n'a d'idées ?
personne n'a d'idées ?
Cette section vous permet de consulter les contributions (messages, sujets et fichiers joints) d'un utilisateur. Vous ne pourrez voir que les contributions des zones auxquelles vous avez accès.
Ld DerivedData/SGF/Build/Products/Debug/SGF normal x86_64
cd /Users/depassearthur/SGF/SGF
setenv MACOSX_DEPLOYMENT_TARGET 10.9
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -L/Users/depassearthur/SGF/SGF/DerivedData/SGF/Build/Products/Debug -L/usr/local/lib -F/Users/depassearthur/SGF/SGF/DerivedData/SGF/Build/Products/Debug -F/Library/Frameworks -F/Library/Frameworks -filelist /Users/depassearthur/SGF/SGF/DerivedData/SGF/Build/Intermediates/SGF.build/Debug/SGF.build/Objects-normal/x86_64/SGF.LinkFileList -mmacosx-version-min=10.9 -frameworksfml-system -frameworksfml-window -frameworksfml-graphics -frameworksfml-audio -frameworksfml-network -stdlib=libc++ -framework SFML -Xlinker -dependency_info -Xlinker /Users/depassearthur/SGF/SGF/DerivedData/SGF/Build/Intermediates/SGF.build/Debug/SGF.build/Objects-normal/x86_64/SGF_dependency_info.dat -o /Users/depassearthur/SGF/SGF/DerivedData/SGF/Build/Products/Debug/SGF
Undefined symbols for architecture x86_64:
"sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)", referenced from:
sgf::Game::Game(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, unsigned int) in Game.o
"sf::RenderWindow::~RenderWindow()", referenced from:
sgf::Game::~Game() in Game.o
"sf::String::String(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::locale const&)", referenced from:
sgf::Game::Game(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, unsigned int) in Game.o
"sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)", referenced from:
sgf::Game::Game(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, unsigned int) in Game.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
// Window system dependent definitions
#if defined(Q_WS_MAC) && !defined(Q_WS_QWS)
#include <QtGui/qmacdefines_mac.h>
#ifdef Q_WS_MAC32
typedef int WId;
#else
typedef long WId;
#endif
#endif // Q_WS_MAC
#if defined(Q_WS_WIN)
#include <QtGui/qwindowdefs_win.h>
#endif // Q_WS_WIN
#if defined(Q_WS_X11)
typedef struct _XDisplay Display;
typedef union _XEvent XEvent;
typedef struct _XGC *GC;
typedef struct _XRegion *Region;
typedef unsigned long WId;
#endif // Q_WS_X11
#if defined(Q_WS_QWS)
typedef unsigned long WId;
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
struct QWSEvent;
QT_END_NAMESPACE
QT_END_HEADER
#endif // Q_WS_QWS
#if defined(Q_WS_QPA)
typedef unsigned long WId;
#endif // Q_WS_QPA
#if defined(Q_OS_SYMBIAN)
class CCoeControl;
typedef CCoeControl * WId;
#endif // Q_OS_SYMBIAN
/Users/depassearthur/Documents/Programmation/Test_SFML_et_Qt-build-desktop-Qt_4_8_0_dans_le_PATH__Syst_me__Debug/../Test_SFML_et_Qt/QSFMLCanvas.cpp:91: erreur : invalid static_cast from type 'WId' to type 'void*'
/Users/depassearthur/Documents/Programmation/Test_SFML_et_Qt-build-desktop-Qt_4_8_0_dans_le_PATH__Syst_me__Debug/../Test_SFML_et_Qt/QSFMLCanvas.cpp:91: erreur : invalid conversion from 'WId' to 'void*'
/Users/depassearthur/Documents/Programmation/Test_SFML_et_Qt-build-desktop-Qt_4_8_0_dans_le_PATH__Syst_me__Debug/../Test_SFML_et_Qt/QSFMLCanvas.cpp:91: error: initializing argument 1 of 'void sf::Window::Create(void*, const sf::ContextSettings&)'