Author Topic: Mingw directory  (Read 5452 times)

marvolo1300

  • Guest
Mingw directory
« on: April 06, 2010, 03:42:44 am »

I need help. So far, i think i have done everything right, but i get an error every time i compile some code. I hope the attached screenshots help.

Another question... is C::B portable?

The error:

Code
"Calc v4 - default" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...




The directories in my C::B toolchain in my compiler and debugger settings:





All the files in the bin folder in mingw:
« Last Edit: April 06, 2010, 04:44:39 am by marvolo1300 »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Mingw directory
« Reply #1 on: April 06, 2010, 04:13:31 am »
Please describe your question in detail. Other wise, you get zero help.
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Mingw directory
« Reply #2 on: April 06, 2010, 04:24:16 am »
Please carefully; The installation folder MUST contain the sub-folder bin; yours does not most likely. Note, "E:\MinGW" is NOT the same as "E:\MinGW\bin".

Tim S.

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

marvolo1300

  • Guest
Re: Mingw directory
« Reply #3 on: April 06, 2010, 04:43:14 am »
This is the directory i entered in     compiler and debugger settings>>toolchain executables

Quote
E:\mingw\bin

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Mingw directory
« Reply #4 on: April 06, 2010, 04:47:45 am »
This is the directory i entered in     compiler and debugger settings>>toolchain executables

Quote
E:\mingw\bin

There is very little chance that the folder E:\mingw\bin has a sub-folder bin to make the path "E:\mingw\bin\bin" exist.

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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Mingw directory
« Reply #5 on: April 06, 2010, 07:21:13 am »
If I remember right it should work anyway (even if many users can not read the red note  :cry: ) if nothing has changed.

Which OS and which compiler and version do you use.