Skip to content

Missing cppadcg.hpp header file #122

Answered by bradbell
CharlesJQuarra asked this question in Q&A
Discussion options

You must be logged in to vote

If you look at
https://coin-or.github.io/CppAD/doc/cmake.htm#include_cppadcg
you will see the text:

include_cppadcg
The cppadcg examples will be compiled and tested if include_cppadcg=true is on the command line. Warning : Do not use this option when installing cppad because the cppadcg package depends on cppad and using this option makes cppad depend on cppadcg. This option, and the script get_cppadcg.sh are only intended for testing purposes.

See
https://github.com/joaoleal/CppADCodeGen

You can get around this by first install cppad with include_cppadcg false.
Then install CppADCodeGen.
Then install cppad with include_cppadcg true.
This is what is done to make the tests of CppAD not dep…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bradbell
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #121 on October 27, 2021 10:44.