Closed hxlee309 closed 5 years ago
I would suggest going back to check the installation for ipopt - it looks like it did not completely link everything correctly. Otherwise, the next best solution would be to use the new project Workspace in the classroom, which has ipopt pre-installed.
No further responses this past week, so I'm guessing you had this resolved already. Feel free to re-open if needed.
I have installed all the required dependencies. When I typed "make" in the "build" folder, I got the following error:
[100%] Linking CXX executable mpc /usr/local/lib/libipopt.so: undefined reference to
dpotrf_' /usr/local/lib/libipopt.so: undefined reference to
dgemm' /usr/local/lib/libipopt.so: undefined reference to `dnrm2' /usr/local/lib/libipopt.so: undefined reference todscal_' /usr/local/lib/libipopt.so: undefined reference to
dpotrs' /usr/local/lib/libipopt.so: undefined reference to `dtrsm' /usr/local/lib/libipopt.so: undefined reference todaxpy_' /usr/local/lib/libipopt.so: undefined reference to
dgetrf' /usr/local/lib/libipopt.so: undefined reference to `dcopy' /usr/local/lib/libipopt.so: undefined reference toidamax_' /usr/local/lib/libipopt.so: undefined reference to
dsyrk' /usr/local/lib/libipopt.so: undefined reference to `dasum' /usr/local/lib/libipopt.so: undefined reference todsyev_' /usr/local/lib/libipopt.so: undefined reference to
dmumpsc' /usr/local/lib/libipopt.so: undefined reference to `dgetrs' /usr/local/lib/libipopt.so: undefined reference toddot_' /usr/local/lib/libipopt.so: undefined reference to
dsymv' /usr/local/lib/libipopt.so: undefined reference to `dgemv' collect2: error: ld returned 1 exit status CMakeFiles/mpc.dir/build.make:120: recipe for target 'mpc' failed make[2]: [mpc] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mpc.dir/all' failed make[1]: [CMakeFiles/mpc.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2Any help will be appreciated.
Thanks,
Hanxiang