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

Author Topic: Unit testing with NetBeans + SFML is not nice to me  (Read 1452 times)

0 Members and 1 Guest are viewing this topic.

amireldor

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Unit testing with NetBeans + SFML is not nice to me
« on: April 25, 2012, 03:59:05 pm »
Hello.

Not sure if the SFML forums is the right place but as I already posted it in a NetBeans forums and got no answer - maybe someone here will have an idea.

NetBeans 7.1.1, Windows 7 64-bit, SFML 1.6

I'm trying to build a project that uses SFML and the built-in simple C++ unit test in NetBeans.

When I run a test, it compiles and links my files successfully, but when the tests should start, nothing happens. It just idles without any jobs pending on the bottom status bar and the message on the tests panel stays "Running tests, please wait...".

I managed to trace the problem to something with SFML. When I compile without any SFML code (i.e. all SFML code is commented out), the unit tests run. As soon as I compile using code from the SFML library (i.e. uncommenting even a single line of my SFML code), stuff goes wrong.

As I mentioned above, I posted a similar question on the NetBeans forums:
http://forums.netbeans.org/viewtopic.php?t=47710

Thanks for any help,
Amir

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Unit testing with NetBeans + SFML is not nice to me
« Reply #1 on: April 25, 2012, 04:01:42 pm »
This is probably the ATI/AMD graphics card bug. Half of this forum's threads are about it.
Laurent Gomila - SFML developer