2

I recently installed NetBeans (and configured it to work with MinGW) following this directions: http://netbeans.org/community/releases/69/cpp-setup-instructions.html. Those direction gave me direct link to MinGW GCC tools which are older version ( 3.4.5 ) So I updated MinGW to 4.5.0 version and now I can't compile C/C++ projects. I installed mingw from cmd.exe with this command: mingw-get install gcc g++ fortran objc ada gdb msys-base

I'll put some photos: What have I forgot to do? alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

**

EDIT

** Now netbeans found stdio.h directory but gave me this error alt text

SOLVED Just needed to install older version of msys make in saparate directory

alt text

gameboy
  • 1,505
  • 3
  • 15
  • 16
  • have you tried restarting Netbeans? I'm pretty sure I had the same problem and after I restarted it, it worked fine. – MahlerFive Nov 06 '10 at 04:10
  • yes i tried,... someting is wrong with paths because netbeans says that it cannot find although i included mingw directorys (see pictures ) – gameboy Nov 06 '10 at 04:18

2 Answers2

0

I had the same problem with newer version. Maybe if you try this you can solve your probem(although could be less elegant).

Community
  • 1
  • 1
Marco Aviles
  • 5,516
  • 6
  • 33
  • 47
-1

Could you please post which version/dir ? I have the same problem

EDIT : and the answer is :alt text

what I did was delete c:\mingw - rerun mingw-get-inst-20101030.exe - did not select the Msys build (it says not usually installed) - run MSYS-1.0.11.exe (the older version I guess) - changed the path in netbeans (screen above) - built

EDIT2 : I made a detailed post

Mr_and_Mrs_D
  • 32,208
  • 39
  • 178
  • 361