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

Author Topic: Trying to run Pong  (Read 3050 times)

0 Members and 1 Guest are viewing this topic.

jorger

  • Newbie
  • *
  • Posts: 3
    • View Profile
Trying to run Pong
« on: September 15, 2010, 08:13:04 am »
Hello,
I am trying to run the Pong sample code, got it to build fine, but when I run it i get the following:
Code: [Select]
'Pong.exe': Loaded 'C:\Users\Andrew\Desktop\Game Dev\SMFL\Pong\Debug\Pong.exe', Symbols loaded.
'Pong.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Users\Andrew\Desktop\Game Dev\SMFL\Pong\Debug\sfml-system-d.dll', Symbols loaded.
'Pong.exe': Loaded 'C:\Windows\SysWOW64\msvcp100d.dll', Symbols loaded.
'Pong.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded.
'Pong.exe': Loaded 'C:\Users\Andrew\Desktop\Game Dev\SMFL\Pong\Debug\sfml-window-d.dll', Symbols loaded.
'Pong.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Users\Andrew\Desktop\Game Dev\SMFL\Pong\Debug\sfml-graphics-d.dll', Symbols loaded.
'Pong.exe': Loaded 'C:\Users\Andrew\Desktop\Game Dev\SMFL\Pong\Debug\sfml-audio-d.dll', Symbols loaded.
'Pong.exe': Loaded 'C:\Users\Andrew\Desktop\Game Dev\SMFL\Pong\Debug\openal32.dll', Binary was not built with debug information.
'Pong.exe': Loaded 'C:\Windows\SysWOW64\dsound.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Users\Andrew\Desktop\Game Dev\SMFL\Pong\Debug\libsndfile-1.dll', Binary was not built with debug information.
'Pong.exe': Loaded 'C:\Windows\SysWOW64\msvcr100.dll', Symbols loaded.
'Pong.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\atiglpxx.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\atioglxx.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\atigktxx.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\aticfx32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\atiadlxy.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\dinput.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\propsys.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\wdmaud.drv', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\ksuser.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\avrt.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\AudioSes.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\msacm32.drv', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\msacm32.dll', Cannot find or open the PDB file
'Pong.exe': Loaded 'C:\Windows\SysWOW64\midimap.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x1b94) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1b54) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x14ec) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1530) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x1110) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xc08) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0xfb0) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x1708) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x1654) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x620) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0x1718) has exited with code 1 (0x1).
The program '[2812] Pong.exe: Native' has exited with code 1 (0x1).


It just opens a window, then closes immediately after. I am using VC++ 2010 Express. Any help would be great.
Thanks

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Trying to run Pong
« Reply #1 on: September 15, 2010, 08:18:46 am »
Maybe it can't find the resources? Make sure that the working directory is where the resources folder is located.
Laurent Gomila - SFML developer

jorger

  • Newbie
  • *
  • Posts: 3
    • View Profile
Trying to run Pong
« Reply #2 on: September 15, 2010, 08:27:49 am »
Could you clarify what you mean by resources folder.

I have the working directory set to the one that has Main.cpp and stuff.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Trying to run Pong
« Reply #3 on: September 15, 2010, 08:43:16 am »
The pong sample tries to load images and sounds from a directory, which is given relatively to the working directory. So if the working directory is not what's expected, the images and musics won't be loaded and the application will exit. The working directory must be samples/bin, if you're using SFML 1.6.
Laurent Gomila - SFML developer

jorger

  • Newbie
  • *
  • Posts: 3
    • View Profile
Trying to run Pong
« Reply #4 on: September 15, 2010, 08:47:03 am »
oh. duh.

Thank you, works now!

 

anything