Code::Blocks Forums

User forums => Help => Topic started by: gtafan on November 25, 2022, 04:16:48 pm

Title: Problem with codeblocks-20.03 portable
Post by: gtafan on November 25, 2022, 04:16:48 pm
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.
Title: Re: Problem with codeblocks-20.03 portable
Post by: 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.
Title: Re: Problem with codeblocks-20.03 portable
Post by: gtafan on November 25, 2022, 06:09:19 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?
Title: Re: Problem with codeblocks-20.03 portable
Post by: stahta01 on November 25, 2022, 09:06:38 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.