News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Problem with codeblocks-20.03 portable

Started by gtafan, November 25, 2022, 04:16:48 PM

Previous topic - Next topic

gtafan

After I discovered that there is codeblocks-20.03 porteble decided to give it a try. When I tried to compile the simple helo world got this error:

Tried to run compiler executable 'C:\MinGW/bin/mingw32-gcc.exe', but failed!

Looks like it was searching for compiler in C: instead of the folder of codeblocks, which makes the version not really portable. Have fixed the path manualy, but the portability problem remained as absolute path is used by codeblocks.

And even after fixing the path got a similar error. After cheking for MinGW/bin/mingw32-gcc.exe I noticed that the file is not existing.

Miguel Gimenez

We do not make a portable version. You can use the nightlies without installing, but they are not portable.

gtafan

Quote from: Miguel Gimenez on November 25, 2022, 04:44:59 PM
We do not make a portable version. You can use the nightlies without installing, but they are not portable.
I am tallking about codeblocks-20.03mingw-32bit-nosetup.zip. Could you posibly explain the diference between without installing and portable?

stahta01

#3
Quote from: gtafan on November 25, 2022, 06:09:19 PM
Quote from: Miguel Gimenez on November 25, 2022, 04:44:59 PM
We do not make a portable version. You can use the nightlies without installing, but they are not portable.
I am tallking about codeblocks-20.03mingw-32bit-nosetup.zip. Could you posibly explain the diference between without installing and portable?

cblauncher is part of the portable version; I have no idea how else the portable version varies.
Edit: The portable version is designed to be used on a USB flash drive; cblauncher is part of the changes done to support that.

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]