News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

C::B, Ubuntu, Environment Variables

Started by jediboy, August 10, 2009, 02:19:28 AM

Previous topic - Next topic

jediboy

Hi All,

I'm giving Code::Blocks (under Ubuntu) a test drive, and have run in to a problem.  I can't seem to set any environment variables within the IDE.

I'm reading through a tutorial here: http://www.palib.info/wiki/doku.php?id=day1#an_ide_in_linuxcodeblocks which tells me to do to the following:

Quote
Setting it Up
It's rather simple. You want to install Code::Blocks itself as well as the contributor plugins. In the ubuntu repository these files are called 'codeblocks' and 'codeblocks-contrib'.

When you have those installed, open Code::Blocks and go to Settings and then EnvironmentSettings and scroll down to Environment Variables. Click on Add and input:

Key: DEVKITPRO Value: Wherever devkitPro is installed

Key: DEVKITARM Value: The folder devkitARM inside the devkitPro folder

Key: PAPATH Value: The folder 'lib' inside the PAlib folder inside the devkitPro folder

Press 'Set Now' and then 'Yes'. You are now fully set up.

I can't find anything relating to environment variables within the IDE.  I'm sure  I'm missing something simple, so if anyone could point me in the right direction, I'd appreciate it.

Regards,
B.

stahta01

Verify that the plugin Environment Variable is installed and enabled.
Look under "PlugIns" -> Manage Plugins for "Environment Variable" plugin.

Note to set Environment Variable,
under "Settings" ->  "Environment" scroll down on left side to find "Environment Variable"

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]