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

Author Topic: Problems for everything but VS  (Read 1044 times)

0 Members and 1 Guest are viewing this topic.

Argha

  • Newbie
  • *
  • Posts: 11
    • View Profile
Problems for everything but VS
« on: July 12, 2015, 01:11:12 pm »
So I try to get SFML work outside of VS (tried eclipse and netbeans with mingw), but I am too dumb.
I, at least I assume so, set up everything and still get tons of issues.

E.g. my settings for netbeans:

C++ Compiler
Include: D:\Libraries\SFML-2.3.1-mingw\include
Preproc. Def.: SFML_STATIC

Linker
Additional Lib Directories: D:\Libraries\SFML-2.3.1-mingw\lib
Libs: the libs

What I get:

g++     -o dist/Debug/MinGW-Windows/cppapplication_1 build/Debug/MinGW-Windows/main.o -L/D\Libraries\SFML-2.3.1-mingw\lib -lsfml-graphics-s-d -lsfml-window-s-d -lsfml-system-s-d -lsfml-network-s-d

d:/Libraries/SFML-2.3.1-mingw/lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj): In function `ZNK2sf12RenderWindow7captureEv':
D:/sfml-release/_Sources/SFML/src/SFML/Graphics/RenderWindow.cpp:92: undefined reference to `glReadPixels@28'
and tons of other similar issues.


I would really prefer a way without VS, any help? :(

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Problems for everything but VS
« Reply #1 on: July 12, 2015, 02:28:22 pm »
Read the official 2.3.x tutorial on Code::Blocks or check the FAQ to see how you have to properly statically link.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything