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

Undefined reference to `Ipopt::IpoptApplication::IpoptApplication(bool, bool)' #39

Open
Jackhe96 opened this Issue Dec 1, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@Jackhe96
Copy link

Jackhe96 commented Dec 1, 2018

I am completely new to cppad and I apologize if this is a stupid question. I have been trying to install cppad and ipopt for a day now and it's getting really frustrating as I don't know how to solve this problem. I am trying to use Cppad in my program but I run into the error:

In function void CppAD::ipopt::solve<CppAD::vector<double>, (anonymous namespace)::FG_eval>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CppAD::vector<double> const&,CppAD::vector<double> const&, CppAD::vector<double> const&, CppAD::vector<double> const&, CppAD::vector<double> const&, (anonymous namespace)::FG_eval&, CppAD::ipopt::solve_result<CppAD::vector<double> >&)': ipopt_test.cpp:(.text+0xe0a): undefined reference to Ipopt::IpoptApplication::IpoptApplication(bool, bool)'
collect2: error: ld returned 1 exit status

I can't find many resources online of people having the same problem. To check if it is my program I tried running the following example but I get the same error. Wondering if you guys know about it

@bradbell

This comment has been minimized.

Copy link
Contributor

bradbell commented Dec 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.