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

Source Code Compilation Re: pagmo #1299

Closed
acxz opened this issue Apr 30, 2019 · 2 comments
Closed

Source Code Compilation Re: pagmo #1299

acxz opened this issue Apr 30, 2019 · 2 comments
Labels
type: bug Indicates an unexpected problem or unintended behavior

Comments

@acxz
Copy link
Contributor

acxz commented Apr 30, 2019

Environment

  • DART version: 6.8.2
  • OS name and version name(or number): Ubuntu 18.04.2
  • Compiler name and version number: GCC 7.4.0

Expected Behavior

The expected behavior is for DART to successfully compile with the optional dependency of pagmo.

Current Behavior

When pagmo is not installed, cmake executes fine. (cmake_out_no_pagmo.txt)

After installing pagmo, cmake returns multiple errors. Notice pagmo is found successfully. There seems to be an error with referencing ipopt. (cmake_out_with_pagmo.txt)

Steps to Reproduce

  1. Install pagmo via instructions here
    Make sure to enable the PAGMO_WITH_{EIGEN3,NLOPT,IPOPT} cmake options.
    Essentially:
    git clone https://github.com/esa/pagmo2
    cd pagmo2
    git checkout tags/v2.10
    mkdir build
    cd build
    cmake -DPAGMO_WITH_EIGEN3=ON -DPAGMO_WITH_NLOPT=ON -DPAGMO_WITH_IPOPT=ON ..
    sudo make install
    
  2. Clone and Build DART

Code to Reproduce

None needed.

@acxz acxz added the type: bug Indicates an unexpected problem or unintended behavior label Apr 30, 2019
@jslee02
Copy link
Member

jslee02 commented May 1, 2019

Thanks for the report! I could reproduce this error, and it should be fixed by #1301.

@jslee02 jslee02 closed this as completed May 1, 2019
@acxz
Copy link
Contributor Author

acxz commented May 1, 2019

Thanks for the fix! Just wanted to pipe in, build is now successful for me.

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