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.


Topics - Knarf0

Pages: [1]
1
General / Linker undefined references
« on: December 26, 2015, 09:25:09 pm »
Hello,

I'm trying to compile my project from Linux to Windows and the linker is giving me a few undefined references errors.

Using : SFML 2.3.2 for GCC 4.9.2 MinGW (DW2) - 32-bit
and compiling with i686-w64-mingw32-g++ (GCC) 5.3.1

(click to show/hide)

Thanks for your help

2
General / How to stop SFML from printing Warnings ?
« on: August 11, 2015, 12:50:52 pm »
Hi,

When I compile my code with these args
Quote
-W -Wall -std=c++11
Everything is fine.
But when I compile with these args
Quote
$$(pkg-config --cflags --libs gtk+-2.0) -W -Wall -std=c++11
My program runs fine as always but SFML is often printing Warnings such as
Quote
Warning: Partial sends might not be handled properly.
(when sending data through non-blocking tcp socket), how to prevent SFML from printing these annoying Warnings ?
Keep in mind that I need to tell the compiler wich directory to include for gtk so I can't juste remove the compiler argument.

Thanks

3
General / help compiling my game for Windows
« on: September 11, 2014, 06:38:05 pm »
Hi,

My game compiles and runs just fine on Linux (Debian), but when I try to create a Windows binary using mingw it fails.

Here is how I compile :
Quote
i586-mingw32msvc-g++ -W -Wall -DSFML_DYNAMIC -ltgui -lsfml-system -lsfml-window -lsfml-graphics -lsfml-network -lsfml-audio -std=c++11 main.cpp -o main.exe

and this is the output :
(click to show/hide)

lib files are in the right path, otherwise it would have said "Cannot find -libsfml-..."

Thanks for your help.

Pages: [1]
anything