-
Notifications
You must be signed in to change notification settings - Fork 9
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
Problem with make install Ipopt #7
Comments
Thanks for the report, I will fix this ASAP.
Le 18/10/2018 à 18:39, rzu512 a écrit :
…
1.
Download Ipopt as a zip file from https://github.com/coin-or/Ipopt
2.
Unzip to Ipopt-master
3.
copy the files in Ipopt subdirectory of this githubproject to
Ipopt-master directory
4.
Within the Ipopt-master directory mkdir build, and mkdir out
5.
cd build
6.
cmake .. -DCMAKE_PREFIX=$PWD/../out -DCMAKE_BUILD_TYPE
7.
make
That builds a static library: build/bin/libIpopt.a
8.
Nothing in the include directories.
There is no file in /Ipopt-master/build/Dependencies/{bin, include}.
Installation directory: <>/Ipopt-master/build/ipopt_binary
Build type: RELEASE
-- Include directories:
<>/Ipopt-master/build/Dependencies/./include;<>/Ipopt-master/build/Dependencies/./include/ampl
-- Link directories: <>/Ipopt-master/build/Dependencies/./lib
9. make install
make: *** No rule to make target 'install'. Stop.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABMocDsAoE7o73Wa0POYSjs5XxlGKpqmks5umK7agaJpZM4Xt1Gs>.
|
Hello, Sorry for the delay. I have now a first version of the install part. I also changed the way ipopt is compiled and now, If you select ASL / AMPL, the ipopt executable is generated and installed. |
I made a hack that builds ipopt as in here: http://oproject.org/pages/Ipopt.html By the way, I tried to use "add_subdirectory" to include this project as a sub-project. Had to at least change "CMAKE_BINARY_DIR" to "CMAKE_CURRENT_BINARY_DIR". |
Download Ipopt as a zip file from https://github.com/coin-or/Ipopt
Unzip to Ipopt-master
copy the files in Ipopt subdirectory of this githubproject to Ipopt-master directory
Within the Ipopt-master directory mkdir build, and mkdir out
cd build
cmake .. -DCMAKE_PREFIX=$PWD/../out -DCMAKE_BUILD_TYPE
make
That builds a static library: build/bin/libIpopt.a
Nothing in the include directories.
There is no file in <>/Ipopt-master/build/Dependencies/{bin, include, or lib}.
Installation directory: <>/Ipopt-master/build/ipopt_binary
Build type: RELEASE
-- Include directories: <>/Ipopt-master/build/Dependencies/./include;<>/Ipopt-master/build/Dependencies/./include/ampl
-- Link directories: <>/Ipopt-master/build/Dependencies/./lib
There is no include files in the "include directories".
make: *** No rule to make target 'install'. Stop.
The text was updated successfully, but these errors were encountered: