Author Topic: Mingw with Netbeans (problem)  (Read 7084 times)

0 Members and 1 Guest are viewing this topic.

Offline rasenove

  • Baron
  • ****
  • Posts: 950
  • Cookies: 53
  • ಠ_ಠ
    • View Profile
Mingw with Netbeans (problem)
« on: March 31, 2013, 03:54:10 pm »
Help,
I configured Netbeans to work with Mingw like,




But when i try to build the program, the following error message comes in,

Quote
C:\MinGW\bin\c++filt.exe: invalid option -- f
Usage: C:\MinGW\bin\c++filt.exe [options] [mangled names]
Options are:
  [-_|--strip-underscore]     Ignore first leading underscore (default)
  [-n|--no-strip-underscore]  Do not ignore a leading underscore
  [-p|--no-params]            Do not display function arguments
  [-i|--no-verbose]           Do not show implementation details (if any)
  [-t|--types]                Also attempt to demangle type encodings
  [-s|--format {none,auto,gnu,lucid,arm,hp,edg,gnu-v3,java,gnat}]
  [@<file>]                   Read extra options from <file>
  [-h|--help]                 Display this information
  [-v|--version]              Show the version information
Demangled names are displayed to stdout.
If a name cannot be demangled it is just echoed to stdout.
If no names are provided on the command line, stdin is read.


BUILD FAILED (exit value 1, total time: 203ms)

 


Quote
"/usr/bin/make" -f nbproject/Makefile-Release.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
"/usr/bin/make"  -f nbproject/Makefile-Release.mk dist/Release/MinGW_1-Windows/cppapplication_1.exe
make[2]: Entering directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
mkdir -p build/Release/MinGW_1-Windows
make[2]: mkdir: Command not found
make[2]: *** [build/Release/MinGW_1-Windows/main.o] Error 127
make[2]: Leaving directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
make: *** [.build-impl] Error 2

 


Quote
"/usr/bin/make" -f nbproject/Makefile-Release.mk QMAKE= SUBPROJECTS= .clean-conf
make[1]: Entering directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
rm -f -r build/Release
make[1]: rm: Command not found
make[1]: *** [.clean-conf] Error 127
make: *** [.clean-impl] Error 2
make[1]: Leaving directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'


CLEAN FAILED (exit value 2, total time: 1s)

 

Quote
"/usr/bin/make" -f nbproject/Makefile-Release.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
"/usr/bin/make"  -f nbproject/Makefile-Release.mk dist/Release/MinGW_1-Windows/cppapplication_1.exe
make[2]: Entering directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
mkdir -p build/Release/MinGW_1-Windows
make[2]: mkdir: Command not found
make[2]: *** [build/Release/MinGW_1-Windows/main.o] Error 127
make[2]: Leaving directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory `/c/Documents and Settings/A/My Documents/NetBeansProjects/CppApplication_1'
make: *** [.build-impl] Error 2


BUILD FAILED (exit value 2, total time: 3s)

 


Im using Netbeans 7.3 and my codes compile fine in Code::block. and have no idea whats wrong or what to do. Help pleas.
« Last Edit: March 31, 2013, 03:56:39 pm by rasenove »
My secrets have secrets...

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #1 on: April 02, 2013, 12:41:06 pm »
Do you use minGW in code::blocks?
~Factionwars

Offline Snayler

  • Baron
  • ****
  • Posts: 812
  • Cookies: 135
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #2 on: April 02, 2013, 12:50:16 pm »
I wouldn't advise the use of Netbeans. It is slow and in my experience, it is a bit unstable. Just my 2 cents.

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #3 on: April 02, 2013, 12:53:58 pm »
I wouldn't advise the use of Netbeans. It is slow and in my experience, it is a bit unstable. Just my 2 cents.
We are trying to solve a problem. Netbeans can be a very powerfull program in allot of situations :). Ontopic:
~Factionwars

Offline rasenove

  • Baron
  • ****
  • Posts: 950
  • Cookies: 53
  • ಠ_ಠ
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #4 on: April 02, 2013, 01:27:49 pm »
Thanks for raising your hand factionwars. but, the Problem is solved, just had to add the minGW's directnrey path to the environment variables.

@Snayler, Netbeans user about 120 MB ram, But its nothing compared to what it offers, i see its stuffed with lots features.



Right now im just trying out some IDEs to see which one makes me more comfortable. And i think i like Netbeans better than Code::blocks, but cant figure out if there is any option to make console apps.

Anyways, im looking for more IDEs to try out, suggest me if you can pleas. Also ill try out Eclipse next.
My secrets have secrets...

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #5 on: April 02, 2013, 01:35:15 pm »
Thanks for raising your hand factionwars. but, the Problem is solved, just had to add the minGW's directnrey path to the environment variables.

@Snayler, Netbeans user about 120 MB ram, But its nothing compared to what it offers, i see its stuffed with lots features.



Right now im just trying out some IDEs to see which one makes me more comfortable. And i think i like Netbeans better than Code::blocks, but cant figure out if there is any option to make console apps.

Anyways, im looking for more IDEs to try out, suggest me if you can pleas. Also ill try out Eclipse next.
Netbeans is good. Try visual studio if you are on the run for big IDE's :P
~Factionwars

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Mingw with Netbeans (problem)
« Reply #6 on: April 02, 2013, 01:50:23 pm »
It's all a personal preference. I prefer CodeBlocks because it's a sweet, simple and small IDE. VC++ is just too fucking huge (6gb and slow as hell) to do anything with... C++ Builder is like VC++ but much faster, smaller offers pretty much the same functionality.
Haven't tried netbeans with c++, only java and even then I prefer Eclipse for java :P

Haters gonna hate but that is what I prefer, just my 2 cents.

Offline rasenove

  • Baron
  • ****
  • Posts: 950
  • Cookies: 53
  • ಠ_ಠ
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #7 on: April 02, 2013, 02:19:57 pm »
I tried out VC++ 2012, but it doesnt run on xp, btw. tell me if it runs on vista.

And C++ builder is on my list, thanks kulver. Any more suggestions?

And my question still stands, is it possible to make console apps in Netbeans?
« Last Edit: April 02, 2013, 02:41:22 pm by rasenove »
My secrets have secrets...

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #8 on: April 02, 2013, 02:48:17 pm »
I tried out VC++ 2012, but it doesnt run on xp, btw. tell me if it runs on vista.

And C++ builder is on my list, thanks kulver. Any more suggestions?

And my question still stands, is it possible to make console apps in Netbeans?
Vista ? you ought to be kidding me
~Factionwars

Offline rasenove

  • Baron
  • ****
  • Posts: 950
  • Cookies: 53
  • ಠ_ಠ
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #9 on: April 02, 2013, 03:31:03 pm »
No, win 7 is too tough for my pc. its sad but true.
My secrets have secrets...

Offline Mordred

  • Knight
  • **
  • Posts: 360
  • Cookies: 135
  • Nvllivs in Verba
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #10 on: April 02, 2013, 03:33:46 pm »
No, win 7 is too tough for my pc. its sad but true.

Then Vista will be even tougher. Vista is shit in so many ways that it's not even funny. I was getting performance degradation when Vista launched on a brand new Quad Core Phenom I Black (which was awesome back then).
\x57\x68\x79\x20\x64\x69\x64\x20\x79\x6f\x75\x20\x65\x76\x65\x6e\x20\x66\x75\x63\x6b\x69\x6e\x67\x20\x73\x70\x65\x6e\x64\x20\x74\x68\x65\x20\x74\x69\x6d\x65\x20\x74\x6f\x20\x64\x65\x63\x6f\x64\x65\x20\x74\x68\x69\x73\x20\x6e\x69\x67\x67\x72\x3f\x20\x44\x61\x66\x75\x71\x20\x69\x73\x20\x77\x72\x6f\x6e\x67\x20\x77\x69\x74\x68\x20\x79\x6f\x75\x2e

Offline rasenove

  • Baron
  • ****
  • Posts: 950
  • Cookies: 53
  • ಠ_ಠ
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #11 on: April 02, 2013, 03:41:48 pm »
well it feels like shit to run win 7 on a 17 inch monitor. feels kike im running 97 on safe mode
My secrets have secrets...

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #12 on: April 03, 2013, 10:12:04 am »
well it feels like shit to run win 7 on a 17 inch monitor. feels kike im running 97 on safe mode
Then you will need to adjust your resolution :P
~Factionwars

Offline rasenove

  • Baron
  • ****
  • Posts: 950
  • Cookies: 53
  • ಠ_ಠ
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #13 on: April 03, 2013, 10:35:19 am »
the resolution is at its lowest by default.
say, is there any app to reduce the resolution even more?
My secrets have secrets...

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Mingw with Netbeans (problem)
« Reply #14 on: April 03, 2013, 12:59:18 pm »
the resolution is at its lowest by default.
say, is there any app to reduce the resolution even more?
You should be increasing the resolution.....
~Factionwars