I am adding ecos to my C++ project, and it get to the following compiling error (line 84 of glblopts.h):
Inconsistent definition of DLONG and LDL_LONG
It seems that DLONG is defined but LDL_LONG is not. I don't really know what this means, though... looks like this is a variable defined in LDL, and "ldl.h" is included in "kkt.c".
However, I am not sure if I am supposed to worry about this error, since I am just linking ecos' static libraries to my project (i.e., I don't have to recompile kkt.c, since it is already compiled).
So my questions are:
Is LDL_LONG important? Can I comment-out that error in line 84 of glblopts?
If it isn't important, why is it necessary to do those checks?
Just to clarify, this is what I have done to add ECOS to my c++ project:
Copied the include folder into my project
Copied the static libraries into my project (.a files)
Linked the .a files when compiling
Added "ecos.h" to my files that will use ecos
BTW, my project compiles if I delete line 84 of glblopts.h. I was also able to solve the example of "test/feasibilityProblems/feas.h".
Hi,
I am adding ecos to my C++ project, and it get to the following compiling error (line 84 of glblopts.h):
Inconsistent definition of DLONG and LDL_LONG
It seems that DLONG is defined but LDL_LONG is not. I don't really know what this means, though... looks like this is a variable defined in LDL, and "ldl.h" is included in "kkt.c". However, I am not sure if I am supposed to worry about this error, since I am just linking ecos' static libraries to my project (i.e., I don't have to recompile kkt.c, since it is already compiled).
So my questions are:
Just to clarify, this is what I have done to add ECOS to my c++ project:
BTW, my project compiles if I delete line 84 of glblopts.h. I was also able to solve the example of "test/feasibilityProblems/feas.h".