Update: I got the makefile thing fixed but now I am having trouble with compiling.
Here are some of my errors.
Linking console executable: bin\Debug\GL_TestArea.exe
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.text+0x51): undefined reference to `_Unwind_Resume'
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.text+0xf3): undefined reference to `_Unwind_Resume'
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.text+0x17a): undefined reference to `_Unwind_Resume'
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.text+0x1e8): undefined reference to `_Unwind_Resume'
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(RenderWindow.cpp.obj):RenderWindow.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: Dwarf Error: Offset (11020) greater than or equal to (null) size (4954657).
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.text+0x87): undefined reference to `_Unwind_Resume'
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: Dwarf Error: found dwarf version '0', this reader only handles version 2 and 3 information.
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.text+0x170): undefined reference to `_Unwind_Resume'
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: Dwarf Error: found dwarf version '20039', this reader only handles version 2 and 3 information.
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.text+0x259): undefined reference to `_Unwind_Resume'
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: Dwarf Error: found dwarf version '11075', this reader only handles version 2 and 3 information.
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.text+0x2fb): undefined reference to `_Unwind_Resume'
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: Dwarf Error: found dwarf version '11828', this reader only handles version 2 and 3 information.
C:\Program Files (x86)\CodeBlocks\MinGW\lib/libsfml-graphics-s-d.a(Image.cpp.obj):Image.cpp:(.text+0x3a4): undefined reference to `_Unwind_Resume'
Previous stuff to help others that i figured out down here...
UPDATE:
Tried using vc++ libs but only got errors like this.
undefined reference to `sf::RenderWindow::~RenderWindow()'
So how do I use a makefile?
Update:
I made makefiles but I can't figure out how to compile them..
I tried a codeblocks makefile and when opened in CB nothing happened either. It said
'make.exe -s -f Makefile all' in 'C:\SFML\Build\CodeBlocks' failed.
Update:
I installed mingw.
I went into cmd and typed this: set PATH=%PATH%;C:\MinGW\bin cmake
Then I went back to cmake and it said. Missing libgmp-10.dll.
Original Post:
Ok well I have the latest source from the svn and I tried opening it up in cmake and setting the files the mingw make files. And then it gave me this:
Here are my errors:
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:C:/SFML/Build/CodeBlocks/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:C:/SFML/Build/CodeBlocks/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Configuring incomplete, errors occurred!
Also that shell script thing i dont understand! IDK what to do about it. I think that is my problem.