You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to install CppAD and CppADCodeGen using CMake 3.18.4 on macOS 10.15.6 and running into some issues.
First, I clone the master branch of CppAD, and run:
cd CppAD
mkdir build
cd build
cmake ..
make
sudo make install
Everything runs fine, no issues.
Next, I clone the master branch of CppADCodeGen, and run:
cp CppADCodeGen
mkdir build
cd build
cmake ..
and get the error:
CMake Error at cmake/FindCppAD.cmake:99 (MESSAGE):
Found CppAD version '' but at least version '20200000.1' is required
Call Stack (most recent call first):
CMakeLists.txt:42 (FIND_PACKAGE)
Following the instructions here I run grep '^SET(cppad_version' CMakeLists.txt and get:
SET(cppad_version "20200905")
Evidently the version is high enough but it isn't getting pulled in by FindCppAD.cmake.
Let me know if I made some mistake in the above. I would expect this approach to "just work"... Thanks.
The text was updated successfully, but these errors were encountered:
That version has a different version format since it does not have the X in "YYYYMMDD.X".
CppADCodeGen uses regular expressions to extract the version information from the installed file (CMakeLists.txt is not installed):
/usr/local/include/cppad/configure.hpp
I'll update the regular expressions to be more flexible.
Attempting to install CppAD and CppADCodeGen using CMake 3.18.4 on macOS 10.15.6 and running into some issues.
First, I clone the master branch of CppAD, and run:
Everything runs fine, no issues.
Next, I clone the master branch of CppADCodeGen, and run:
and get the error:
Following the instructions here I run
grep '^SET(cppad_version' CMakeLists.txt
and get:Evidently the version is high enough but it isn't getting pulled in by
FindCppAD.cmake
.Let me know if I made some mistake in the above. I would expect this approach to "just work"... Thanks.
The text was updated successfully, but these errors were encountered: