[Symphony] Error with compiling MILP.c

Thomas Vincent thomas.vincent at univ-nantes.fr
Thu May 12 18:52:42 EDT 2011


Hi,

Le 12/05/2011 22:45, Ankur Arora a écrit :
> I am trying to compile the code in netbeans IDE 7.0 #include
> "symphony.h"
> 
> [...]
> 
> g++.exe     -o dist/Debug/Cygwin_1-Windows/welcome_3
> build/Debug/Cygwin_1-Windows/welcome.o  

I think "-lSym" is missing here so the compiler cannot link to the
sym_open_environment() function.

> 
> 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)
> 
> 
> 
> 
> 
> _______________________________________________
> Symphony mailing list
> Symphony at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/symphony


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20110513/3387c68d/attachment.sig>


More information about the Symphony mailing list