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

Author Topic: Problem with making simple project  (Read 2312 times)

0 Members and 1 Guest are viewing this topic.

MrOnlineCoder

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Problem with making simple project
« on: May 12, 2016, 03:29:54 pm »
Hello! I found SFML very easy and nice library for games (thanks Laurent), but I just disappointed with it's installation. So I created a simple project (Hello World with Green circle) in CodeBlocks, followed the guide on site, and after run, it started complaining about  something like libgcc_s_sjlj_1.dll was not found.  I moved it to the .exe directory (i used -static-libgcc and -static-libstdc++ flags, but it didn't work). Then it happened with libstdc++6.dll and DW2 dll. Then I ran my .exe, and it said: There is no entry point for _gxx_personality in libstdc++6.dll. I CAN'T even run hello world. Why it is so problematic? Is it my PC's issue or library issue or compiler issue? In VS 2008 Express the same problem (I used VC++ build). Can you explain why it is happening and how can I fix it?

Thanks.

AlexxanderX

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • AlexanderX
Re: Problem with making simple project
« Reply #1 on: May 12, 2016, 03:43:20 pm »
Just don't use -static-libgcc and -static-libstdc++ if you don't need them statically linked. And I want to say that installing(building) SFML is very easy: just cmake && make.
Here you can find my blog and tutorials about SFML - http://alexanderx.net/ (died...) - http://web.archive.org/web/20160110002847/http://alexanderx.net/

MrOnlineCoder

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: Problem with making simple project
« Reply #2 on: May 12, 2016, 04:03:59 pm »
OK. But when I use CMAKE, it says error about libintl8.dll