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

Author Topic: Problem with entry point  (Read 1390 times)

0 Members and 1 Guest are viewing this topic.

Venek

  • Newbie
  • *
  • Posts: 2
    • View Profile
Problem with entry point
« on: December 19, 2015, 10:35:03 pm »
Hello,

I have a problem.

I have just downloaded SFML and I have just set it to my IDE successfully.
I also put the DLL's into my application folder.

But it does not work. There is a window with the message that the entry point is missing.

Few informations if that is important

IDE: CodeLite 9.0.6
Compiler: MinGW GCC 5.1
SFML: 2.3
« Last Edit: December 19, 2015, 10:47:08 pm by Venek »

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Problem with entry point
« Reply #1 on: December 19, 2015, 10:55:06 pm »
Define the function int main() and link to sfml-main (sfml-main-d in Debug mode).

Make sure the DLLs are actually compatible ones, don't mix different versions. Recompile SFML for your setting if necessary.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Venek

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Problem with entry point
« Reply #2 on: December 19, 2015, 11:00:44 pm »
Of course I have a main function...

I have linked the main lib

But it also does not work

The program is compiled but the execution does not work
« Last Edit: December 19, 2015, 11:02:54 pm by Venek »