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

Author Topic: Compiling in Codeblocks gcc 4.8.1  (Read 2902 times)

0 Members and 1 Guest are viewing this topic.

Christopher Jozwiak

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Blog
    • Email
Compiling in Codeblocks gcc 4.8.1
« 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

 
Noob C++ Programmer.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Compiling in Codeblocks gcc 4.8.1
« Reply #1 on: October 12, 2014, 06:11:49 pm »
Please search before posting.

https://github.com/SFML/SFML/issues/718
Laurent Gomila - SFML developer

Christopher Jozwiak

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Blog
    • Email
Re: Compiling in Codeblocks gcc 4.8.1
« Reply #2 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.
Noob C++ Programmer.