Dear Friend,
i have succeded for the half to Compile SMFL Library!!!!
I have used NetBeans IDE 11.3 with my mac os x 10.13.6 High Sierra..version of gcc is 9...
Now in Debug Mode my app works fine...i have compiled the demo example source for Linux...ok..
I have had to setup also in the linker (inside netbeans) this line of code:"-lsfml-graphics -lsfml-window -lsfml-system".
Also i have putted on c++ the Hedears Library Reference located in the system frameworks....
Ok now if i compile in release mode the compiler say to me:
cd '/Users/saverio/NetBeansProjects/testsmfl'
/usr/bin/make -f Makefile CONF=Release
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -f nbproject/Makefile-Release.mk QMAKE= SUBPROJECTS= .build-conf
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -f nbproject/Makefile-Release.mk dist/Release/GNU-MacOSX/testsmfl
mkdir -p dist/Release/GNU-MacOSX
g++ -o dist/Release/GNU-MacOSX/testsmfl build/Release/GNU-MacOSX/main.o -framework SFML
Undefined symbols for architecture x86_64:
"sf::CircleShape::CircleShape(float, unsigned long)", referenced from:
_main in main.o
"sf::RenderStates::Default", referenced from:
_main in main.o
"sf::RenderTarget::draw(sf::Drawable const&, sf::RenderStates const&)", referenced from:
_main in main.o
"sf::RenderTarget::clear(sf::Color const&)", referenced from:
_main in main.o
"sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)", referenced from:
_main in main.o
"sf::RenderWindow::~RenderWindow()", referenced from:
_main in main.o
"sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)", referenced from:
_main in main.o
"sf::Shape::setFillColor(sf::Color const&)", referenced from:
_main in main.o
"sf::Shape::setOutlineColor(sf::Color const&)", referenced from:
_main in main.o
"sf::Shape::setOutlineThickness(float)", referenced from:
_main in main.o
"sf::Shape::~Shape()", referenced from:
_main in main.o
"sf::String::String(char const*, std::__1::locale const&)", referenced from:
_main in main.o
"sf::Window::close()", referenced from:
_main in main.o
"sf::Window::display()", referenced from:
_main in main.o
"sf::Window::pollEvent(sf::Event&)", referenced from:
_main in main.o
"sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)", referenced from:
_main in main.o
"sf::Window::isOpen() const", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [dist/Release/GNU-MacOSX/testsmfl] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 87ms)
Can some bodyhelp me please???Thanks a lot!!! Lestroso
![Smiley :)](https://www.sfml-dev.org/forums/Smileys/default/smiley.gif)