Hi
I'm trying to create a portable version of codeblocks so I can use it in my uni. I have seen the FAQ but my problem is a little bit different. I have the MinGW directory inside the CodeBlocks folder and I want all links from inside CodeBlocks to MinGW to be location independent, so long as this structure is intact.
So what I did is use CodeBlocks builtin variables while setting the compiler toolchain location, like so: $(CODEBLOCKS)/MinGW
The problem I have is that:
1. Trying to compile anything, even the simplest hello world, I get errors
||=== test, Debug ===|
\Project_Euler\test\main.c|1|stdio.h: No such file or directory|
\Project_Euler\test\main.c|2|stdlib.h: No such file or directory|
\Project_Euler\test\main.c||In function `main':|
\Project_Euler\test\main.c|6|warning: implicit declaration of function `printf'|
||=== Build finished: 2 errors, 1 warnings ===|
2. When trying to create a project, it doesn't let me use the builtin variables, so I can't create location independent projects folder
Thanks
Dave
Thanks, TDragon!
About the second question: anybody knows why there's no variable expension when using new project wizards?
Edit: Got another problem:
-------------- Build: Debug in test ---------------
Compiling: main.c
mingw32-gcc.exe: installation problem, cannot exec `as': No such file or directory
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 0 warnings
How can I add to the PATH environment variable that CodeBlocks run (and remove it at the end)??