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

Author Topic: Problem compiling SFML with Code::Blocks and TDM-GCC  (Read 2432 times)

0 Members and 1 Guest are viewing this topic.

zigarrre

  • Newbie
  • *
  • Posts: 1
    • View Profile
Problem compiling SFML with Code::Blocks and TDM-GCC
« on: October 18, 2010, 10:30:22 pm »
Because i wanted to use static librarys i've tryed to compile SFML myself. But when i try to compile it with the batch-build-script it stops with the error:
Code: [Select]
-------------- Build: Debug_Win32 in sfml-main ---------------

Compiling: ..\..\src\SFML\Main\SFML_Main.cpp
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

I've also tryed to compile it manualy with Code::Blocks by opening the SFML workspace an do build->build workspace for every target.
When i'm compiling the static targets i get some "notes" such as:
Code: [Select]
C:\SFML-1.6\src\SFML\Graphics\SOIL\stb_image_aug.c|3326|note: 's.img_buffer_end' was declared here|
But i think is only becaus i haven't installed wxWidgets and Qt.

But when i'm compiling the dynamic targets i get always the error
Code: [Select]
mingw32-g++.exe: ..\..\lib\mingw\libsfml-system.a: No such file or directory in sfml-window.

Because I need only the static librarys i will try now to manually include the external librarys. But i wanted to post that errors anyway to help improving SFML and preventing these problems in the future.

I'm using SFML 1.6 Code::Blocks 10.05 and TDM-GCC 4.5.1.

Please excuse my bad english.

zigarrre