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

Author Topic: MinGW compilation error in Debug  (Read 3560 times)

0 Members and 1 Guest are viewing this topic.

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
MinGW compilation error in Debug
« on: June 16, 2012, 11:13:27 pm »
Hi!

Trying some new stuff out and as I fetched the new version of the API I got this problem:
[ 44%] Building CXX object src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/Circl
eShape.cpp.obj
C:\Users\Groogy\Documents\Work\CSFML\src\SFML\Graphics\CircleShape.cpp: In funct
ion 'sfTransform sfCircleShape_getTransform(const sfCircleShape*)':
C:\Users\Groogy\Documents\Work\CSFML\src\SFML\Graphics\CircleShape.cpp:162:5: er
ror: could not convert '0' from 'int' to 'sfTransform'
C:\Users\Groogy\Documents\Work\CSFML\src\SFML\Graphics\CircleShape.cpp: In funct
ion 'sfTransform sfCircleShape_getInverseTransform(const sfCircleShape*)':
C:\Users\Groogy\Documents\Work\CSFML\src\SFML\Graphics\CircleShape.cpp:172:5: er
ror: could not convert '0' from 'int' to 'sfTransform'
mingw32-make[2]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/CircleShap
e.cpp.obj] Error 1
mingw32-make[1]: *** [src/SFML/Graphics/CMakeFiles/csfml-graphics.dir/all] Error
 2
mingw32-make: *** [all] Error 2

It compiles perfectly with release settings but only fails in debug and I don't know why.

Update: Got the same with Visual Studio 10
« Last Edit: June 16, 2012, 11:59:58 pm by Groogy »
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: MinGW compilation error in Debug
« Reply #1 on: June 17, 2012, 09:32:34 am »
It's fixed, thanks.
Laurent Gomila - SFML developer