Aliaksandr Nekrashevich

Results 4 comments of Aliaksandr Nekrashevich

But how exactly to include that particular library? Please see below my CMakeLists.txt. There is an entry called cppad_lib, but the problem remains. ``` cmake_minimum_required(VERSION 3.5.1 FATAL_ERROR) # It's actually...

And this is how compiler error log sounds: ``` [ 2%] Linking CXX executable sea /usr/bin/ld: CMakeFiles/sea.dir/src/backend/ipopt/recalculate.cpp.o: in function `void CppAD::put_check_for_nan(CppAD::vector const&, std::__cxx11::basic_string&) [clone .isra.0]': recalculate.cpp:(.text+0x8d8e): undefined reference to `CppAD::local::temp_file[abi:cxx11]()'...

The only workaround I have found so far is to include the following header (copied from inside CppAD): ``` #pragma once # include # include # include # include #...

No, the message above did not help. Sounds like the library does not have temp_file method inside for some reason. The problem was solved the other way: by directly compiling...