User forums > Help
wxWidgets app won't run from IDE
mandrav:
--- Quote from: Ceniza on March 20, 2008, 01:15:17 pm ---
--- Quote from: mandrav on March 20, 2008, 01:06:08 pm ---
--- Quote from: matrem on March 20, 2008, 10:33:08 am ---But how could I configure project to run directly in C::B?
--- End quote ---
Manually (i.e. outside C::B), yes it works.
C::B adjusts LD_LIBRARY_PATH automatically if you run in debugging mode (F8). For "normal" run mode (F9), it doesn't work because the spawned terminal doesn't inherit some specific environment variables (like LD_LIBRARY_PATH, LD_PRELOAD, etc). Haven't found a way around it yet...
--- End quote ---
What about running the program in the terminal like this:
--- Code: ---LD_LIBRARY_PATH=$LD_LIBRARY_PATH:foo:bar executable
--- End code ---
That should work.
--- End quote ---
Manually (outside C::B), yes it works.
matrem:
The environment variables way, work in Debug lauch.
Perhaps in future version, that will works in release lauch. An it should be pretty cool if it can be configured in the project options with relative path. ;)
thanks for you help
Navigation
[0] Message Index
[*] Previous page
Go to full version