Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipopt include folder changed recently #1504

Closed
2 tasks done
Moisan opened this issue Sep 21, 2020 · 1 comment
Closed
2 tasks done

ipopt include folder changed recently #1504

Moisan opened this issue Sep 21, 2020 · 1 comment
Assignees
Labels
type: bug Indicates an unexpected problem or unintended behavior

Comments

@Moisan
Copy link

Moisan commented Sep 21, 2020

Bug Report

  • I checked the documentation and the forum but found no answer.
  • I checked to make sure that this issue has not already been filed.

Environment

  • DART version: 6.9.4
  • OS name and version name(or number): macOS Catalina
  • Compiler name and version number: Clang 3.9.1

Expected Behavior

dartsim should be able to compile with the latest ipopt version (currently 3.13.2).

Current Behavior

/tmp/dartsim-20200921-64782-nd7k16/dart-6.9.4/dart/optimizer/ipopt/IpoptSolver.hpp:36:10: fatal error: 'coin/IpTNLP.hpp' file not found
#include <coin/IpTNLP.hpp>
         ^~~~~~~~~~~~~~~~~

Steps to Reproduce

  1. install ipopt 3.13.2
  2. build dartsim 6.9.4 with this version of ipopt

I believe the issue is coming from a change of directory for the include files from ipopt between version 3.12 and 3.13. To fix this issue, one can change the include line to #include <IpTNLP.hpp>. However this would make dartsim not backward-compatible with previous versions of ipopt.

Note that there is another problematic include in optimizer/ipopt/IpoptSolver.hpp that will also need to be changed: #include <coin/IpIpoptApplication.hpp>.

@Moisan Moisan added the type: bug Indicates an unexpected problem or unintended behavior label Sep 21, 2020
@jslee02 jslee02 self-assigned this Sep 21, 2020
@jslee02 jslee02 mentioned this issue Sep 22, 2020
4 tasks
@jslee02
Copy link
Member

jslee02 commented Oct 17, 2020

Thanks for the report! This should be fixed by #1506

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants