User forums > Using Code::Blocks

Codeblocks portable

(1/5) > >>

xors3d:
Have finished the codeblocks portable...
only installed on stick...insert mingw in the codeblocks directory....and using a simple .bat...

but one problem exist...the default.conf....
everey time i use the portable version i have to delete the default.conf file because in there are absolute path for mingw.
have anyone a solution for this...
have try to change the absolute path to /mingw....
but seems not to work correctly...

can anybody help me?

seb_seb0:
I put a relative path to Mingw using variables in Codeblocks
Example: for the toolchain path, I use


--- Code: ---$(Codeblocks)\..\..\BIN\MingW_TDM
--- End code ---
(see screenshot)

It works fine for everything: toolchain (Mingw, mingw TDM, MSVC, Help plugin, tool plugin)

In addition, I use the CBLauncher from biplap (search the forums).
I save all my config in $(Codeblocks)\AppData (delete every other conf files you may find on your system: in CB directory, in C:\Users\<user>\AppData\Roaming\codeblocks (Windows Vista), ...)

And I use a bat file to set the path to other utilities, such as CMake or Doxygen. (The .bat sets the PATH variable, and then launch CBLauncher).

This way, I have CodeBlocks + 2 compilers + Libraries + additional tools inside 1 folder that I move around. The path can have spaces in it.
At work, this folder stays on my desktop.

Hope this helps.

Sebastien
 

[attachment deleted by admin]

xors3d:
can you send me your portable version?

seb_seb0:
This is a normal nightly build.
You can download it in the dedicated thread.

xors3d:
i know....but i ask for you personal configuated portable...
perhaps if its okay for you...can i have it?

Navigation

[0] Message Index

[#] Next page

Go to full version