SFML community forums

Help => Window => Topic started by: Christopher Jozwiak on October 12, 2014, 05:33:43 pm

Title: Compiling in Codeblocks gcc 4.8.1
Post by: Christopher Jozwiak on October 12, 2014, 05:33:43 pm
Hello,
To start I cloned the source from Github.  Then used CMake to generate the makefiles for codeblocks.  I then opened the project and hit build and I am getting a errors.

Error:
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 4 second(s)) ===|
C:\Sfml\SFML\src\SFML\Window\Win32\WindowImplWin32.cpp:387:26: error: 'FLASHW_TRAY' was not declared in this scope
         info.dwFlags   = FLASHW_TRAY;
                          ^
mingw32-make.exe[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj] Error 1
mingw32-make.exe[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
mingw32-make.exe: *** [all] Error 2
src\SFML\Window\CMakeFiles\sfml-window.dir\build.make:486: recipe for target 'src/SFML/Window/CMakeFiles/sfml-window.dir/Win32/WindowImplWin32.cpp.obj' failed
mingw32-make.exe[2]: Leaving directory 'C:/Sfml/SFML'
CMakeFiles\Makefile2:204: recipe for target 'src/SFML/Window/CMakeFiles/sfml-window.dir/all' failed
mingw32-make.exe[1]: Leaving directory 'C:/Sfml/SFML'
C:/Sfml/SFML/Makefile:116: recipe for target 'all' failed

 
Title: Re: Compiling in Codeblocks gcc 4.8.1
Post by: Laurent on October 12, 2014, 06:11:49 pm
Please search before posting.

https://github.com/SFML/SFML/issues/718
Title: Re: Compiling in Codeblocks gcc 4.8.1
Post by: Christopher Jozwiak on October 12, 2014, 07:02:41 pm
Thank you.  That fixed it.  Probably the millionth time you've read it but I analogize for not utilizing available resources.  It will most likely happen again.. and for that I truly am sorry.