Hello,
I managed to compile and setup wxWidgets on my Raspberry PI and now want to check whether I'm able to write a small Program using Code::Blocks in order to check that all went right.
The obligatory "Hello World" Program compiles and the release and debug build can be executed on clicking the corresponding buttons.
In the next step I compiled the wxWidgets Template provided with Code::Blocks and the compilation and linking prosses finished without errors.
If I try to execute the wxTemplate by clicking the "play" Button I get a red message that says that the process terminated with status -1.
I discoverd that I have to use ./wxTemplate to run that application from a linux shell. I understand that this happens because the executable isn't located in /usr/bin where the PATH variable points to. But I dont want to copy each build to /usr/bin in order to debug a application. So is there a possibility to setup my Code::Blocks projekt that executables can be run also if the are not in /usr/bin.
The other question is, why does my "Hello World" console application start without having this problem?
For any help I will thank you in advance.
Greetings
Sensei