Hi guys<br>I am working on windows XP, and using cygwin as the unix envirenment. and matlab version is 7.6R2008a<br>things are working properly until when I ran make all the new error show up <br>$ make all<br>g++
-O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversion -fPIC -fexceptions -DMATLAB_MEXFILE
-DMWINDEXISINT -IC:/msys/1.0/home/MPC/Ipopt<div id="1fde" class="ArwC7c ckChnd">/Ipopt/install1/include -IC:/msys/1.0/home/MPC/Ipopt/Ipopt/install1/include2 -o sparsematrix.o -c sparsematrix.cpp<br>
sparsematrix.cpp:1: warning: -fPIC ignored for target (all code is position independent)<br>In file included from sparsematrix.cpp:9:<br>sparsematrix.h:19: error: conflicting declaration 'typedef int mwIndex'<br>
C:/msys/1.0/home/MPC/Ipopt/Ipopt/install1/include2/tmwtypes.h:802: error: 'mwIndex' has a previous declaration as `typedef size_t mwIndex'<br>
sparsematrix.h:19: error: declaration of `typedef int mwIndex'<br>C:/msys/1.0/home/MPC/Ipopt/Ipopt/install1/include2/tmwtypes.h:802: error: conflicts with previous declaration `typedef size_t mwIndex'<br>sparsematrix.h:19: error: declaration of `typedef int mwIndex'<br>
C:/msys/1.0/home/MPC/Ipopt/Ipopt/install1/include2/tmwtypes.h:802: error: conflicts with previous declaration `typedef size_t mwIndex'<br>make: *** [sparsematrix.o] Error 1<br><br>it seems that the head files are conflicting with each other. could you help me figure that out. <br>
Thank you very much</div><br clear="all"><br>-- <br>Thank you very much <br><br>Yours<br>Yudong Ma