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

Author Topic: SFML 1.6 Examples crash  (Read 3753 times)

0 Members and 1 Guest are viewing this topic.

DaysShadow

  • Newbie
  • *
  • Posts: 6
    • View Profile
SFML 1.6 Examples crash
« on: May 30, 2011, 10:53:52 am »
Hi,

i wanted to start using SFML with C# but even the examples don't work.
I put all the libs and the extlibs in the samples/bin folder but they crash with the popup "post-fx.exe doesn't work anymore", for example.
What could cause this?

I've installed Visual Studio Express 2010 on a Windows 7 x64 Professional.
Hardware is up to date, so there shouldn't be any incompatabilitys.

Recompiling the example doesn't change anything, unfortunately.

I hope someone can help me here :)

Greetings

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 Examples crash
« Reply #1 on: May 30, 2011, 11:04:44 am »
Are you sure that you're not mixing 32 and 64 bits?
Laurent Gomila - SFML developer

DaysShadow

  • Newbie
  • *
  • Posts: 6
    • View Profile
SFML 1.6 Examples crash
« Reply #2 on: May 30, 2011, 11:24:24 am »
Ehm, 1.6 does not have 32 and 64 bit libs, there is only one bunch of libs in libs and extlibs.
If they are 32bit libs, shouldn't they work anyway on a 64 bit system?

64 bit libs on a 32 bit system don't work but the other way round it should work.

Thanks for your help.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 Examples crash
« Reply #3 on: May 30, 2011, 11:38:27 am »
Yes you're right, sorry (64 bits is supported in SFML 2 only).

Can you run a sample with the debugger, in order to know more about the error?
Laurent Gomila - SFML developer

DaysShadow

  • Newbie
  • *
  • Posts: 6
    • View Profile
SFML 1.6 Examples crash
« Reply #4 on: May 30, 2011, 11:44:06 am »
post-fx sample

Crashes at the RenderWindow creation:

Code: [Select]
RenderWindow App = new RenderWindow(new VideoMode(800, 600), "SFML.Net PostFX");

Error Message is:

BadImageFormatException was not handled

It was tried to load a file of a wrong format (Exception of HRESULT: 0x8007000B)

I hope the translation is right, i've got the visual studio in german here.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML 1.6 Examples crash
« Reply #5 on: May 30, 2011, 11:53:05 am »
Have you tried to recompile SFML.Net?
Laurent Gomila - SFML developer

DaysShadow

  • Newbie
  • *
  • Posts: 6
    • View Profile
SFML 1.6 Examples crash
« Reply #6 on: May 30, 2011, 12:04:27 pm »
Recompiled it but there is still the same error.

 

anything