User forums > Using Code::Blocks

Program execution within Code::Blocks on Raspbian (Linux)

<< < (3/3)

dmoore:
set LD_LIBRARY_PATH?

Jenna:
If you are in the same folder as the app, you always need the ./ on linux.
It's linux specific and has nothing to do with C::B

Sensei:
Hi,


--- Quote ---If you are in the same folder as the app, you always need the ./ on linux.
It's linux specific and has nothing to do with C::B

--- End quote ---

Yes, thats what I thought also, but my question is why I cant run the app by clicking the green run button?
Can this have something to do that I build wxWidgets as shared libraries and have to set some path inside C::B?

Greetings

Sensei

BlueHazzard:
 try to change the terminal in Settings->Environment Settings->General Settings->Terminal to launch console programs

Sensei:
Hi,

got it to work.

I deleted the projekt file and setup the projekt again. Selecting advanced Options and then dynamic lib.
Recompiled and now it runs from inside C::B.

I think the problem was the projekt configuration related to the wxWidgets paket distributed with raspbian. After a self compiled wxWidgets the the configuration of the wxSystem was changed.

Thanks for all helping with posts and tips

Greetings

Sensei

Navigation

[0] Message Index

[*] Previous page

Go to full version