I am running into some errors building nlopt 2.2.4 under mingw. Windows XP. Gcc 4.5.2
The configure appeared to succeed. However the following errors are strange. Any help will be appreciated. Thanks, srini $ make make all-recursive make[1]: Entering directory `/c/Projects/Optimization/nlopt-2.2.4' Making all in util make[2]: Entering directory `/c/Projects/Optimization/nlopt-2.2.4/util' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT mt19937ar.lo -MD -MP -MF .deps/mt19937ar.Tpo -c -o m t19937ar.lo mt19937ar.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../api -g -O2 -MT m t19937ar.lo -MD -MP -MF .deps/mt19937ar.Tpo -c mt19937ar.c -o mt19937ar.o mt19937ar.c:62:6: error: #error No 32-bit unsigned integer type mt19937ar.c:76:20: error: expected '=', ',', ';', 'asm' or '__attribute__' befor e 'uint32_t' mt19937ar.c:77:20: error: expected '=', ',', ';', 'asm' or '__attribute__' befor e 'int' mt19937ar.c: In function 'nlopt_init_genrand': mt19937ar.c:82:5: error: 'mt' undeclared (first use in this function) mt19937ar.c:82:5: note: each undeclared identifier is reported only once for eac h function it appears in mt19937ar.c:83:10: error: 'mti' undeclared (first use in this function) mt19937ar.c: At top level: mt19937ar.c:96:17: error: expected '=', ',', ';', 'asm' or '__attribute__' befor e 'nlopt_genrand_int32' mt19937ar.c: In function 'nlopt_genrand_res53': mt19937ar.c:196:5: error: 'uint32_t' undeclared (first use in this function) mt19937ar.c:196:14: error: expected ';' before 'a' mt19937ar.c:197:12: error: 'a' undeclared (first use in this function) mt19937ar.c:197:25: error: 'b' undeclared (first use in this function) mt19937ar.c: In function 'nlopt_iurand': mt19937ar.c:211:6: warning: implicit declaration of function 'nlopt_genrand_int3 2' make[2]: *** [mt19937ar.lo] Error 1 make[2]: Leaving directory `/c/Projects/Optimization/nlopt-2.2.4/util' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/c/Projects/Optimization/nlopt-2.2.4' make: *** [all] Error 2
_______________________________________________ NLopt-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss
