[Symphony] Error with compiling MILP.c
Ankur Arora
ankura07 at IIMB.ERNET.IN
Thu May 12 16:45:44 EDT 2011
I am trying to compile the code in netbeans IDE 7.0 #include
"symphony.h"
int main(int argc, char **argv)
{
sym_environment *env = sym_open_environment();
return(0);
}
I get the following error. Can anybody help me
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS=
.build-conf
make[1]: Entering directory
`/cygdrive/c/Users/ankur/Documents/NetBeansProjects/Welcome_3'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk
dist/Debug/Cygwin_1-Windows/welcome_3.exe
make[2]: Entering directory
`/cygdrive/c/Users/ankur/Documents/NetBeansProjects/Welcome_3'
mkdir -p dist/Debug/Cygwin_1-Windows
g++.exe -o dist/Debug/Cygwin_1-Windows/welcome_3
build/Debug/Cygwin_1-Windows/welcome.o
build/Debug/Cygwin_1-Windows/welcome.o: In function `main':
/cygdrive/c/Users/ankur/Documents/NetBeansProjects/Welcome_3/welcome.cc:
22: undefined reference to `sym_open_environment()'
make[2]: Leaving directory
`/cygdrive/c/Users/ankur/Documents/NetBeansProjects/Welcome_3'
make[1]: Leaving directory
`/cygdrive/c/Users/ankur/Documents/NetBeansProjects/Welcome_3'
collect2: ld returned 1 exit status
make[2]: *** [dist/Debug/Cygwin_1-Windows/welcome_3.exe] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 6s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20110513/b3ba8bf3/attachment.html>
More information about the Symphony
mailing list