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

Author Topic: official pong example doest not work  (Read 1156 times)

0 Members and 1 Guest are viewing this topic.

buffalo974

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
official pong example doest not work
« on: February 11, 2017, 12:01:03 pm »
Hi, here my config :

WINDOWS 10 - 32bit

codeblocks 16.01  rev 10702    GCC 4.9.2   WINDOWS/UNICODE - 32-bit

SFML-2.4.1          Windows  GCC 4.9.2 TDM (SJLJ) - 32-bit


\SFML-2.4.1\examples\pong

pong executable example given with SFML does not work, i didnt compile it my self, it was downloaded like this.

I get :
 Missing :
libgcc_s_sjlj-1.dll
libstdc++-6.dll
openal32.dll

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: official pong example doest not work
« Reply #1 on: February 11, 2017, 01:26:17 pm »
It works, it just needs the DLLs it depends on.

openal32.dll is in the SFML SDK, the others are in your compiler's bin directory. Just copy them to the same directory as your exectuable and it should run fine.
Laurent Gomila - SFML developer

buffalo974

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: official pong example doest not work
« Reply #2 on: February 11, 2017, 04:01:39 pm »
Thank you,

for others and for me if i forget:

some of dll here :
C:\Program Files\CodeBlocks\MinGW\bin


openal32.dll  here:
where_you_installed_it_\SFML-2.4.1-windows-gcc-4.9.2-tdm-32-bit\SFML-2.4.1\bin