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 - el0x

Pages: [1]
1
General / Re: Problems with compiling a Code::Blocks project
« on: November 02, 2018, 01:44:45 pm »
the GCC version

2
General / Problems with compiling a Code::Blocks project
« on: November 01, 2018, 08:09:30 pm »
I've been trying to create an SFML project for quite a while now, but it isn't working no matter what i do.

Here is the build log after running the program:


-------------- Build: Debug in sfml_test (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -L..\..\..\..\..\SFML\SFML-2.5.1\lib -o bin\Debug\sfml_test.exe obj\Debug\main.o   -lsfml-graphics-s-d -lsfml-window-s-d -lsfml-system-s-d -lopengl32 -lfreetype -lwinmm -lgdi32 -mwindows
..\..\..\..\..\SFML\SFML-2.5.1\lib/libsfml-system-s-d.a(Err.cpp.obj): In function `sync':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/System/Err.cpp:87: undefined reference to `_imp____acrt_iob_func'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
 



I use SFML version 2.5.1 and Windows 10 operating system

Here are the program's settings:

Global > Search Directories > Compiler:
..\..\..\..\..\SFML\SFML-2.5.1\include


Global > Search Directories > Linker:
..\..\..\..\..\SFML\SFML-2.5.1\lib

Global >Compiler settings > #defines:
SFML_STATIC

Debug > Linker settings > Link libraries:
sfml-graphics-s-d
sfml-window-s-d
sfml-system-s-d
opengl32
freetype
winmm
gdi32
 

Release > Linker settings > Link libraries:
sfml-graphics-s
sfml-window-s
sfml-system-s
opengl32
freetype
winmm
gdi32
 


Any ideas what might be wrong here?

Pages: [1]