Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: DoMeN on November 04, 2006, 02:02:48 am
-
Is it possible to define your own variabls in code::blocks that vould be used in Tools and that would have to be defined in every project with a different string?
Something like: $(VAR) = /path/path
Tools: parameters: $(VAR)
-
Yes, under the second tab counting from the right, both in build options and compiler options.
-
If you meen Settings->Compiler and debuger->Costum variables?
If I add a variable in there then when I press the button Ok in "Compiler and debuger settings" form than code::blocks terminates :(
-
If you meen Settings->Compiler and debuger->Costum variables?
If I add a variable in there then when I press the button Ok in "Compiler and debuger settings" form than code::blocks terminates :(
Works for me: Version 1.0 revision 3139 (2006-10-24 08:52:45) gcc 3.4.4 Windows/unicode
Would you please mention in your messages the full CodeBlocks version you're using and the system you're running.
You can find this info in the menu item Help/About/Information. Or, with a double click, copy the "Start Here" page "Version" banner to the clipboard.
-
What is the name of the custom variables? You may be picking one that causes it to crash. Also, what is the value?
Tim S
-
Would you please mention in your messages the full CodeBlocks version you're using and the system you're running.
I have code::blocks 1.0 rev. 2836 (2006-08-11) Linux/unicode and am using Linux Fedora Core 5.
What is the name of the custom variables?
It crashes for every variable name and every directory path.
Do you know if it is possible to get a newer version of c::b for FC5? I tried to compile a night build a while ago but I was unsuccessful so I'd need a version that is alredy built for FC5.
If I trie to install a RPM with command "rpm -Uvh name_of_the_night_build_file" all I get are this three errors:
error: open of <!DOCTYPE failed: No such file or directory
error: open of HTML failed: No such file or directory
error: open of PUBLIC failed: No such file or directory
-
It works now but no one wrote that I should write variable name without $( ). When I write key without this it works fine but with $ it crashes the c::b :? Maby I overlooked this somewhere but I think that this should also be writen in the menu. Tnx for your help :D