Author Topic: problem with silent install in version codeblocks-20.03mingw-setup  (Read 276 times)

Offline olivier sc

  • Single posting newcomer
  • *
  • Posts: 2
Hello dear,

I try to install silently codeblocks-20.03mingw-setup.exe with /S
I get alwais a exit status 2
When i lunch it, no compiler is present.
You can see attached image:
in 1 it is a machine that has never had codeblock installed.
in 2 it is a machine installed by hand or having already had codeblock installed

I see this on chocolatey package to!

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Hi, this image is too small that nothing can be seen from it.

I suggest using a nightly version of Code::Blocks, and this version don't need to be "installed". You just need to "unzip" the extracted zip files.

About the compiler, you need to install a compiler, for example:

[WinLibs - GCC+MinGW-w64 compiler for Windows](https://winlibs.com/)
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.