CLion doesn;t recognize file path for compile output when project root differs from gcc's output path root
Answered
project root is actually one directory above 'src'. Build is run by externally running 'make'.
How to make clion realize that "src/stack/runner/stack_main.cc:" can be found in project_root/monolith/src/stack/runner/stack_main.cc ?
```
src/stack/runner/stack_main.cc: In function 'int main(int, char**)':
src/stack/runner/stack_main.cc:69:36: error: expected ')' before numeric constant
setenv("PYTHONPATH", pp.c_str()1);
^
src/stack/runner/stack_main.cc:69:37: error: too few arguments to function 'int setenv(const char*, const char*, int)'
setenv("PYTHONPATH", pp.c_str()1);
^
```
Please sign in to leave a comment.
Hello!
You can try using Tools | CMake | Change Project Root.