After the binary is built, it does not run from Code::Blocks.
In "Build log" the command for running is:
------------- Run: all in gemrb (compiler: GNU GCC Compiler)---------------
Checking for existence: /home/jury/gemrb-0.7.0/build/gemrb
Set variable: LD_LIBRARY_PATH=.:
Executing: xterm -T gemrb -e /home/jury/gemrb-0.7.0/build/gemrb (in /home/jury/gemrb-0.7.0/build/gemrb)
It looks like its missing the binary name, as for my understanding it should execute something like this: /home/jury/gemrb-0.7.0/build/gemrb/gemrb
And when I copy this command from Code::Blocks to terminal window, it of course does not execute anything, as /home/jury/gemrb-0.7.0/build/gemrb is just a path ending with a folder name. When adding a binary name to this path, it runs fine.
So, what do I have to tweak in project options, so the command for running binary will work properly?
What I have done so far:
- set directory (as it was blank) in Project -> Properties -> Project settings -> Execution Directory
- set directory (as it was blank) in Project -> Properties -> Build targets -> Execution working dir
I have tried absolute and relative paths for above options, but none made any difference.
System: latest PCLOS Xfce
Code::Blocks: 20.3
(if it matters its a project made by cmake with option: -G "CodeBlocks - Unix Makefiles")