[nbusers] compiling issuse

  • From: Jay Poddar < >
  • To:
  • Subject: [nbusers] compiling issuse
  • Date: Sat, 29 Sep 2012 19:41:59 -0700 (PDT)

I tried to build a simple C++ program on netbeans(which by the way worked a
few time before) but now this pprogram (or any as a matter of fact) is
throwing this error:

"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS=
.build-conf
"/usr/bin/make"  -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/ch2
mkdir -p dist/Debug/GNU-MacOSX
g++     -o dist/Debug/GNU-MacOSX/ch2 build/Debug/GNU-MacOSX/Time.o
build/Debug/GNU-MacOSX/Date.o  
duplicate symbol _main in:
    build/Debug/GNU-MacOSX/Time.o
    build/Debug/GNU-MacOSX/Date.o
ld: 1 duplicate symbol for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [dist/Debug/GNU-MacOSX/ch2] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2



--
View this message in context: 
http://netbeans-org.1045718.n5.nabble.com/compiling-issuse-tp5714709.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.


[nbusers] compiling issuse

Jay Poddar 09/30/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close