I am trying to compile a c file where I included a driver for the Mongo database. I can compile it successfully with Cygwin, but when I go to Netbeans, I get this. It should be noted that this only happened after adding "-std = c99" in the additional options for the C compiler.
UPDATE:
Successfully compiled it from Netbeans. But "-std = c99" drives me crazy. If I have this, it says (after each compilation, if I don't delete the obj files):
build/Debug/Cygwin_4.x-Windows/main.od:1: *** multiple target patterns. Stop.
UPDATE:
The contents of main.od:
build/Debug/Cygwin_4.x-Windows/main.o: main.c \ c:/mongodb-driver/src/mongo.hc:/mongodb-driver/src/bson.h \ c:/mongodb-driver/src/platform.h c:/mongodb-driver/src/mongo.h: c:/mongodb-driver/src/bson.h: c:/mongodb-driver/src/platform.h:
Andrew
source share