[Tutorial][Community]3.Level 1-3, first game


#21

Time to learn debugging. Press the red “play button” to start the program in debug mode. If you look, the debug windows will probably tell you whats going on. Or take a screen shot anf post it here.


#22

Hi again,

Tried debugging, here the result:

Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Game1
Adding source dir: C:\Misc\Steen\Code\PrivateCode\Pokitto\PokittoSim\POKITTO_SIM
Adding source dir: C:\Misc\Steen\Code\PrivateCode\Pokitto\PokittoSim
Adding file: C:\Misc\Steen\Code\PrivateCode\Pokitto\PokittoSim\POKITTO_SIM\bin\Game1\PokittoSimHello.exe
Changing directory to: C:/Misc/Steen/Code/PrivateCode/Pokitto/PokittoSim/POKITTO_SIM/bin/Game1/
Set variable: PATH=.;C:\Misc\Steen\Code\PrivateCode\Pokitto\PokittoSim\SDL2\lib;C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\CodeBlocks\MinGW;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files\ThinkPad\Bluetooth Software;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files\Broadcom\WHL;C:\Program Files\Broadcom\WHL\SysWow64;C:\Program Files\Broadcom\WHL\SysWow64\syswow64;C:\Program Files (x86)\Common Files\Lenovo;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Lenovo\Access Connections;C:\SWTOOLS\ReadyApps;C:\Program Files (x86)\Intel\Services\IPT;C:\Program Files (x86)\Symantec\VIP Access Client;C:\Program Files (x86)\Skype\Phone;C:\Windows\System32\config\systemprofile.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Misc\Steen\MongoDb\bin;C:\Program Files\mingw-w64\x86_64-5.3.0-win32-seh-rt_v4-rev0\mingw64\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit;C:\Users\Steen\AppData\Local\Microsoft\WindowsApps
Starting debugger: C:\Program Files (x86)\CodeBlocks\MINGW\bin\gdb.exe -nx -fullname -quiet -args C:/Misc/Steen/Code/PrivateCode/Pokitto/PokittoSim/POKITTO_SIM/bin/Game1/PokittoSimHello.exe
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 7.6.1
Child process PID: 11656
During startup program exited with code 0xc0000135.
Debugger finished with status 0

Any clues?

/Jacoste


#23

try to run from command line. I suspect you are missing something.