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

configure.hpp missing error while using cppad, but this file does not exist #27

Closed
jumanamp opened this issue Jun 10, 2018 · 6 comments
Closed

Comments

@jumanamp
Copy link

No description provided.

@bradbell
Copy link
Contributor

This file is created by the cmake command; see
https://coin-or.github.io/CppAD/doc/cmake.htm
and the file
https://github.com/coin-or/CppAD/blob/master/cppad/configure.hpp.in

@bradbell
Copy link
Contributor

Please close this bug if the comments above solved the problem for you.

@jumanamp
Copy link
Author

Thanks, I didnt use cmake as I have to manually enter all parameters. I had directly done ../configure and make install in a build folder. With that approach the file was not created. Is there a reason?

@bradbell
Copy link
Contributor

bradbell commented Jun 11, 2018

The configure script is deprecated and does not work as well as cmake; see
https://coin-or.github.io/CppAD/doc/autotools.htm
I see the problem here, the commands
mkdir build
cd build
../configure
create the file
build/cppad/configure.hpp
and does not copy it to the source directory

Is there a problem with running the cmake comand on your system ? In its simplest form, I do
mkdir build
cd build
cmake ..

You could also try running
https://github.com/coin-or/CppAD/blob/master/bin/run_cmake.sh
and see if that works for you. Some times the simplest thing to do is to modify that script

@tkralphs
Copy link
Member

tkralphs commented Sep 2, 2019

This has also come up in building the COIN-OR Optimization Suite (see coin-or/coinbrew#20 (comment)). I see that there is an attempt at a fix in your latest master, but it is also broken. I open #49 for that, so I guess that issue now supersedes this one.

@bradbell
Copy link
Contributor

bradbell commented Jan 3, 2021

I think this problem has been fixed and so am closing the issue. Please re-open the issue if it is still a problem.

@bradbell bradbell closed this as completed Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants