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

Author Topic: Running Problem (after compiled)  (Read 2094 times)

0 Members and 1 Guest are viewing this topic.

Svenskpopis

  • Newbie
  • *
  • Posts: 3
    • View Profile
Running Problem (after compiled)
« on: June 28, 2010, 09:57:11 pm »
after compiling correctly i get this when i start (2 different compilers)


CodeBlocks (mingw)
Can not find procedure start address _ZN2sf12RenderTarget5ClearERKNS_5ColorE in DLL sfml-graphics-d.dll
(translated with google translate from swedish)

and in

Visual Studio 2010
Unhandled exception at 0x75d2f7cc in Test.exe: 0xC0000005: Access violation reading location 0x61724720.


I have no idea what this is have been searching and probably only me who got this errors :O!

Svenstaro

  • Full Member
  • ***
  • Posts: 222
    • View Profile
Running Problem (after compiled)
« Reply #1 on: June 29, 2010, 04:21:16 am »
Provide info or you will receive no help. SFML version? MinGW version? Original MinGW or from TDM? Dwarf2 unwinding? How exactly did you link? Do the examples run?

Try to recompile SFML again yourself and see whether the examples run and link.

Svenskpopis

  • Newbie
  • *
  • Posts: 3
    • View Profile
Running Problem (after compiled)
« Reply #2 on: June 29, 2010, 03:30:50 pm »
Using all the latest MinGW and latest Visual Studio and also latest CodeBlocks (mingw)

also the first example when testing the first program working all fine

did exactly everything as the tutorial said!

Svenstaro

  • Full Member
  • ***
  • Posts: 222
    • View Profile
Running Problem (after compiled)
« Reply #3 on: June 29, 2010, 08:03:56 pm »
If you can follow the tutorials and link everything, what are you doing differently in the other program so that it breaks?

Also, "latest" doesn't cut it, especially not for Windows users. You are not using the latest version, you are using the latest version that is readily deployed to you for easy use. Which is that exactly? TDM or regular?

Svenskpopis

  • Newbie
  • *
  • Posts: 3
    • View Profile
Running Problem (after compiled)
« Reply #4 on: June 29, 2010, 10:11:02 pm »
C++ | version 1.6~~~~~~~~~~~~~~~~

Svenstaro

  • Full Member
  • ***
  • Posts: 222
    • View Profile
Running Problem (after compiled)
« Reply #5 on: June 29, 2010, 10:14:57 pm »
I feel trolled. MinGW 4.4? 4.5? From here http://tdm-gcc.tdragon.net/? Or here http://www.mingw.org/?

Also, what did you do in the examples that you didn't do in your own app that breaks?