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

Build error: error: 'struct ad::Var<double, ad::scl>' has no member named 'set_value_ptr' #51

Open
barracuda156 opened this issue Nov 25, 2024 · 0 comments

Comments

@barracuda156
Copy link

--->  Configuring autoppl
        (using ccache)
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX='/opt/local' -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_C_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_CXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_Fortran_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_OBJCXX_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_ISPC_COMPILER_LAUNCHER=/opt/local/bin/ccache -DCMAKE_C_COMPILER="$CC" -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH=/opt/local/share/cmake/Modules -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/opt/local;/usr" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -Wno-dev -DAUTOPPL_ENABLE_BENCHMARK=OFF -DAUTOPPL_ENABLE_TEST_COVERAGE=OFF -DAUTOPPL_ENABLE_EXAMPLE=OFF -DAUTOPPL_ENABLE_TEST=ON -DGTEST_DIR=/opt/local/src/googletest -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.6" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/local/bin/gcc-mp-14 - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/local/bin/g++-mp-14 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiling in Release mode
-- Found Armadillo config at: /opt/local/share/Armadillo/CMake
-- Found FastAD config at: /opt/local/share/FastAD/cmake
-- Configuring done (4.5s)
-- Generating done (0.4s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_POLICY_DEFAULT_CMP0025


-- Build files have been written to: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0
--->  Building autoppl
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0" && /usr/bin/make -j6 -w all VERBOSE=ON 
make: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
/opt/local/bin/cmake -S/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 -B/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/CMakeFiles /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0//CMakeFiles/progress.marks
/usr/bin/make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
/usr/bin/make  -f lib/CMakeFiles/autoppl_gtest_main.dir/build.make lib/CMakeFiles/autoppl_gtest_main.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/lib /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/lib /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/lib/CMakeFiles/autoppl_gtest_main.dir/DependInfo.cmake "--color="
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
/usr/bin/make  -f lib/CMakeFiles/autoppl_gtest_main.dir/build.make lib/CMakeFiles/autoppl_gtest_main.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[  2%] Building CXX object lib/CMakeFiles/autoppl_gtest_main.dir/opt/local/src/googletest/src/gtest_main.cc.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/lib && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/src/googletest -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -MD -MT lib/CMakeFiles/autoppl_gtest_main.dir/opt/local/src/googletest/src/gtest_main.cc.o -MF CMakeFiles/autoppl_gtest_main.dir/opt/local/src/googletest/src/gtest_main.cc.o.d -o CMakeFiles/autoppl_gtest_main.dir/opt/local/src/googletest/src/gtest_main.cc.o -c /opt/local/src/googletest/src/gtest_main.cc
. . .
[ 38%] Building CXX object test/CMakeFiles/sample_unittest.dir/expression/samples/model_sample_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/sample_unittest.dir/expression/samples/model_sample_unittest.cpp.o -MF CMakeFiles/sample_unittest.dir/expression/samples/model_sample_unittest.cpp.o.d -o CMakeFiles/sample_unittest.dir/expression/samples/model_sample_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/expression/samples/model_sample_unittest.cpp
[ 41%] Linking CXX executable model_expr_unittest
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/model_expr_unittest.dir/link.txt --verbose=ON
/opt/local/bin/g++-mp-14 -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names CMakeFiles/model_expr_unittest.dir/expression/model/model_unittest.cpp.o -o model_expr_unittest  -Wl,-rpath,/opt/local/lib ../lib/libautoppl_gtest_main.a /opt/local/lib/libarmadillo.14.2.1.dylib -lpthread /opt/local/lib/libopenblas.dylib //usr/lib/libblas.dylib /opt/local/lib/liblapack.a /opt/local/lib/libsuperlu.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[ 41%] Built target model_expr_unittest
/usr/bin/make  -f test/CMakeFiles/mcmc_unittest.dir/build.make test/CMakeFiles/mcmc_unittest.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/CMakeFiles/mcmc_unittest.dir/DependInfo.cmake "--color="
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
/usr/bin/make  -f test/CMakeFiles/mcmc_unittest.dir/build.make test/CMakeFiles/mcmc_unittest.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[ 44%] Building CXX object test/CMakeFiles/mcmc_unittest.dir/mcmc/mh_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/mcmc_unittest.dir/mcmc/mh_unittest.cpp.o -MF CMakeFiles/mcmc_unittest.dir/mcmc/mh_unittest.cpp.o.d -o CMakeFiles/mcmc_unittest.dir/mcmc/mh_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/mh_unittest.cpp
[ 47%] Building CXX object test/CMakeFiles/util_unittest.dir/util/var_traits_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/util_unittest.dir/util/var_traits_unittest.cpp.o -MF CMakeFiles/util_unittest.dir/util/var_traits_unittest.cpp.o.d -o CMakeFiles/util_unittest.dir/util/var_traits_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/util/var_traits_unittest.cpp
[ 50%] Building CXX object test/CMakeFiles/var_unittest.dir/expression/variable/data_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/var_unittest.dir/expression/variable/data_unittest.cpp.o -MF CMakeFiles/var_unittest.dir/expression/variable/data_unittest.cpp.o.d -o CMakeFiles/var_unittest.dir/expression/variable/data_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/expression/variable/data_unittest.cpp
[ 52%] Linking CXX executable math_unittest
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/math_unittest.dir/link.txt --verbose=ON
/opt/local/bin/g++-mp-14 -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names CMakeFiles/math_unittest.dir/math/welford_unittest.cpp.o -o math_unittest  -Wl,-rpath,/opt/local/lib ../lib/libautoppl_gtest_main.a /opt/local/lib/libarmadillo.14.2.1.dylib -lpthread /opt/local/lib/libopenblas.dylib //usr/lib/libblas.dylib /opt/local/lib/liblapack.a /opt/local/lib/libsuperlu.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[ 52%] Built target math_unittest
/usr/bin/make  -f test/CMakeFiles/expr_builder_unittest.dir/build.make test/CMakeFiles/expr_builder_unittest.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/CMakeFiles/expr_builder_unittest.dir/DependInfo.cmake "--color="
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
/usr/bin/make  -f test/CMakeFiles/expr_builder_unittest.dir/build.make test/CMakeFiles/expr_builder_unittest.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[ 55%] Building CXX object test/CMakeFiles/expr_builder_unittest.dir/expr_builder_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/expr_builder_unittest.dir/expr_builder_unittest.cpp.o -MF CMakeFiles/expr_builder_unittest.dir/expr_builder_unittest.cpp.o.d -o CMakeFiles/expr_builder_unittest.dir/expr_builder_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/expr_builder_unittest.cpp
[ 58%] Building CXX object test/CMakeFiles/dist_expr_unittest.dir/expression/distribution/uniform_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/dist_expr_unittest.dir/expression/distribution/uniform_unittest.cpp.o -MF CMakeFiles/dist_expr_unittest.dir/expression/distribution/uniform_unittest.cpp.o.d -o CMakeFiles/dist_expr_unittest.dir/expression/distribution/uniform_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/expression/distribution/uniform_unittest.cpp
[ 61%] Linking CXX executable util_unittest
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/util_unittest.dir/link.txt --verbose=ON
[ 63%] Building CXX object test/CMakeFiles/var_unittest.dir/expression/variable/constant_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/var_unittest.dir/expression/variable/constant_unittest.cpp.o -MF CMakeFiles/var_unittest.dir/expression/variable/constant_unittest.cpp.o.d -o CMakeFiles/var_unittest.dir/expression/variable/constant_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/expression/variable/constant_unittest.cpp
/opt/local/bin/g++-mp-14 -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names CMakeFiles/util_unittest.dir/util/concept_unittest.cpp.o CMakeFiles/util_unittest.dir/util/dist_expr_traits_unittest.cpp.o CMakeFiles/util_unittest.dir/util/var_expr_traits_unittest.cpp.o CMakeFiles/util_unittest.dir/util/var_traits_unittest.cpp.o -o util_unittest  -Wl,-rpath,/opt/local/lib ../lib/libautoppl_gtest_main.a /opt/local/lib/libarmadillo.14.2.1.dylib -lpthread /opt/local/lib/libopenblas.dylib //usr/lib/libblas.dylib /opt/local/lib/liblapack.a /opt/local/lib/libsuperlu.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[ 66%] Linking CXX executable sample_unittest
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/sample_unittest.dir/link.txt --verbose=ON
[ 66%] Built target util_unittest
[ 69%] Building CXX object test/CMakeFiles/expr_builder_unittest.dir/ad_integration_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/expr_builder_unittest.dir/ad_integration_unittest.cpp.o -MF CMakeFiles/expr_builder_unittest.dir/ad_integration_unittest.cpp.o.d -o CMakeFiles/expr_builder_unittest.dir/ad_integration_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp
/opt/local/bin/g++-mp-14 -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names CMakeFiles/sample_unittest.dir/expression/samples/dist_sample_unittest.cpp.o CMakeFiles/sample_unittest.dir/expression/samples/model_sample_unittest.cpp.o -o sample_unittest  -Wl,-rpath,/opt/local/lib ../lib/libautoppl_gtest_main.a /opt/local/lib/libarmadillo.14.2.1.dylib -lpthread /opt/local/lib/libopenblas.dylib //usr/lib/libblas.dylib /opt/local/lib/liblapack.a /opt/local/lib/libsuperlu.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[ 69%] Built target sample_unittest
[ 72%] Building CXX object test/CMakeFiles/var_unittest.dir/expression/variable/binop_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/var_unittest.dir/expression/variable/binop_unittest.cpp.o -MF CMakeFiles/var_unittest.dir/expression/variable/binop_unittest.cpp.o.d -o CMakeFiles/var_unittest.dir/expression/variable/binop_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/expression/variable/binop_unittest.cpp
[ 75%] Building CXX object test/CMakeFiles/mcmc_unittest.dir/mcmc/mh_regression_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/mcmc_unittest.dir/mcmc/mh_regression_unittest.cpp.o -MF CMakeFiles/mcmc_unittest.dir/mcmc/mh_regression_unittest.cpp.o.d -o CMakeFiles/mcmc_unittest.dir/mcmc/mh_regression_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/mh_regression_unittest.cpp
[ 77%] Linking CXX executable dist_expr_unittest
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/dist_expr_unittest.dir/link.txt --verbose=ON
/opt/local/bin/g++-mp-14 -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names CMakeFiles/dist_expr_unittest.dir/expression/distribution/bernoulli_unittest.cpp.o CMakeFiles/dist_expr_unittest.dir/expression/distribution/normal_unittest.cpp.o CMakeFiles/dist_expr_unittest.dir/expression/distribution/uniform_unittest.cpp.o -o dist_expr_unittest  -Wl,-rpath,/opt/local/lib ../lib/libautoppl_gtest_main.a /opt/local/lib/libarmadillo.14.2.1.dylib -lpthread /opt/local/lib/libopenblas.dylib //usr/lib/libblas.dylib /opt/local/lib/liblapack.a /opt/local/lib/libsuperlu.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[ 77%] Built target dist_expr_unittest
[ 80%] Building CXX object test/CMakeFiles/mcmc_unittest.dir/mcmc/sampler_tools_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/mcmc_unittest.dir/mcmc/sampler_tools_unittest.cpp.o -MF CMakeFiles/mcmc_unittest.dir/mcmc/sampler_tools_unittest.cpp.o.d -o CMakeFiles/mcmc_unittest.dir/mcmc/sampler_tools_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/sampler_tools_unittest.cpp
[ 83%] Building CXX object test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/var_adapter_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/var_adapter_unittest.cpp.o -MF CMakeFiles/mcmc_unittest.dir/mcmc/hmc/var_adapter_unittest.cpp.o.d -o CMakeFiles/mcmc_unittest.dir/mcmc/hmc/var_adapter_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/hmc/var_adapter_unittest.cpp
[ 86%] Building CXX object test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/nuts/nuts_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/nuts/nuts_unittest.cpp.o -MF CMakeFiles/mcmc_unittest.dir/mcmc/hmc/nuts/nuts_unittest.cpp.o.d -o CMakeFiles/mcmc_unittest.dir/mcmc/hmc/nuts/nuts_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/hmc/nuts/nuts_unittest.cpp
[ 88%] Linking CXX executable var_unittest
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/var_unittest.dir/link.txt --verbose=ON
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp: In constructor 'ppl::ad_integration_fixture::ad_integration_fixture()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:19:17: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'set_value'
   19 |         vars[0].set_value(1.);
      |                 ^~~~~~~~~
In file included from /opt/local/src/googletest/include/gtest/gtest.h:71,
                 from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:1:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp: In member function 'virtual void ppl::ad_integration_fixture_ad_log_pdf_data_mean_param_Test::TestBody()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:43:30: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'get_adjoint'; did you mean 'get_adj'?
   43 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 2.75);
      |                              ^~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: in definition of macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:144:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest.h:1990:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
 1990 |   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:43:5: note: in expansion of macro 'EXPECT_DOUBLE_EQ'
   43 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 2.75);
      |     ^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:46:13: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'reset_adjoint'; did you mean 'reset_adj'?
   46 |     vars[0].reset_adjoint();
      |             ^~~~~~~~~~~~~
      |             reset_adj
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:50:30: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'get_adjoint'; did you mean 'get_adj'?
   50 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 2.75);
      |                              ^~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: in definition of macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:144:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest.h:1990:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
 1990 |   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:50:5: note: in expansion of macro 'EXPECT_DOUBLE_EQ'
   50 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 2.75);
      |     ^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp: In member function 'virtual void ppl::ad_integration_fixture_ad_log_pdf_data_stddev_param_Test::TestBody()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:64:30: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'get_adjoint'; did you mean 'get_adj'?
   64 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 10.75);
      |                              ^~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: in definition of macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:144:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest.h:1990:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
 1990 |   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:64:5: note: in expansion of macro 'EXPECT_DOUBLE_EQ'
   64 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 10.75);
      |     ^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:67:13: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'reset_adjoint'; did you mean 'reset_adj'?
   67 |     vars[0].reset_adjoint();
      |             ^~~~~~~~~~~~~
      |             reset_adj
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:71:30: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'get_adjoint'; did you mean 'get_adj'?
   71 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 10.75);
      |                              ^~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: in definition of macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:144:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest.h:1990:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
 1990 |   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:71:5: note: in expansion of macro 'EXPECT_DOUBLE_EQ'
   71 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 10.75);
      |     ^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp: In member function 'virtual void ppl::ad_integration_fixture_ad_log_pdf_data_param_with_data_Test::TestBody()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:85:30: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'get_adjoint'; did you mean 'get_adj'?
   85 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), -14.);
      |                              ^~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: in definition of macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:144:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest.h:1990:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
 1990 |   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:85:5: note: in expansion of macro 'EXPECT_DOUBLE_EQ'
   85 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), -14.);
      |     ^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:88:13: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'reset_adjoint'; did you mean 'reset_adj'?
   88 |     vars[0].reset_adjoint();
      |             ^~~~~~~~~~~~~
      |             reset_adj
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:92:30: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'get_adjoint'; did you mean 'get_adj'?
   92 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), -14.);
      |                              ^~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: in definition of macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:144:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest.h:1990:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
 1990 |   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:92:5: note: in expansion of macro 'EXPECT_DOUBLE_EQ'
   92 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), -14.);
      |     ^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp: In member function 'virtual void ppl::ad_integration_fixture_ad_log_pdf_constant_param_within_bounds_Test::TestBody()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:103:30: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'get_adjoint'; did you mean 'get_adj'?
  103 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 0);
      |                              ^~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: in definition of macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:144:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest.h:1990:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
 1990 |   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:103:5: note: in expansion of macro 'EXPECT_DOUBLE_EQ'
  103 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 0);
      |     ^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp: In member function 'virtual void ppl::ad_integration_fixture_ad_log_pdf_constant_param_out_of_bounds_Test::TestBody()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:108:13: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'set_value'
  108 |     vars[0].set_value(0.4999);
      |             ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:115:30: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'get_adjoint'; did you mean 'get_adj'?
  115 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 0);
      |                              ^~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:79:52: note: in definition of macro 'GTEST_ASSERT_'
   79 |   if (const ::testing::AssertionResult gtest_ar = (expression)) \
      |                                                    ^~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest_pred_impl.h:144:3: note: in expansion of macro 'GTEST_PRED_FORMAT2_'
  144 |   GTEST_PRED_FORMAT2_(pred_format, v1, v2, GTEST_NONFATAL_FAILURE_)
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/src/googletest/include/gtest/gtest.h:1990:3: note: in expansion of macro 'EXPECT_PRED_FORMAT2'
 1990 |   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \
      |   ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:115:5: note: in expansion of macro 'EXPECT_DOUBLE_EQ'
  115 |     EXPECT_DOUBLE_EQ(vars[0].get_adjoint(), 0);
      |     ^~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp: In member function 'virtual void ppl::ad_integration_fixture_ad_log_pdf_var_param_within_bounds_Test::TestBody()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:120:13: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'set_value'
  120 |     vars[0].set_value(0.42);
      |             ^~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp: In member function 'virtual void ppl::ad_integration_fixture_ad_log_pdf_var_param_out_of_bounds_Test::TestBody()':
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/ad_integration_unittest.cpp:132:13: error: '__gnu_cxx::__alloc_traits<std::allocator<ad::Var<double, ad::scl> >, ad::Var<double, ad::scl> >::value_type' {aka 'struct ad::Var<double, ad::scl>'} has no member named 'set_value'
  132 |     vars[0].set_value(0.42);
      |             ^~~~~~~~~
make[2]: *** [test/CMakeFiles/expr_builder_unittest.dir/ad_integration_unittest.cpp.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
make[1]: *** [test/CMakeFiles/expr_builder_unittest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/opt/local/bin/g++-mp-14 -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names CMakeFiles/var_unittest.dir/expression/variable/variable_viewer_unittest.cpp.o CMakeFiles/var_unittest.dir/expression/variable/param_unittest.cpp.o CMakeFiles/var_unittest.dir/expression/variable/data_unittest.cpp.o CMakeFiles/var_unittest.dir/expression/variable/constant_unittest.cpp.o CMakeFiles/var_unittest.dir/expression/variable/binop_unittest.cpp.o -o var_unittest  -Wl,-rpath,/opt/local/lib ../lib/libautoppl_gtest_main.a /opt/local/lib/libarmadillo.14.2.1.dylib -lpthread /opt/local/lib/libopenblas.dylib //usr/lib/libblas.dylib /opt/local/lib/liblapack.a /opt/local/lib/libsuperlu.dylib
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
[ 91%] Building CXX object test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/hamiltonian_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/hamiltonian_unittest.cpp.o -MF CMakeFiles/mcmc_unittest.dir/mcmc/hmc/hamiltonian_unittest.cpp.o.d -o CMakeFiles/mcmc_unittest.dir/mcmc/hmc/hamiltonian_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/hmc/hamiltonian_unittest.cpp
[ 91%] Built target var_unittest
[ 94%] Building CXX object test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/leapfrog_unittest.cpp.o
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test && /opt/local/bin/ccache /opt/local/bin/g++-mp-14  -I/opt/local/src/googletest/include -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include -isystem /opt/local/include -pipe -Os -I/opt/local/include/eigen3 -D_GLIBCXX_USE_CXX11_ABI=0 -DNDEBUG -mmacosx-version-min=10.6 -DARMA_DONT_USE_WRAPPER -g -Wall -Werror -Wextra -MD -MT test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/leapfrog_unittest.cpp.o -MF CMakeFiles/mcmc_unittest.dir/mcmc/hmc/leapfrog_unittest.cpp.o.d -o CMakeFiles/mcmc_unittest.dir/mcmc/hmc/leapfrog_unittest.cpp.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/hmc/leapfrog_unittest.cpp
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/nuts/nuts.hpp:18,
                 from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/hmc/nuts/nuts_unittest.cpp:4:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/ad_utils.hpp: In instantiation of 'ppl::mcmc::ad_bind_storage<std::vector<ad::Var<double, ad::scl> >, arma::subview_col<double> >(std::vector<ad::Var<double, ad::scl> >&, arma::subview_col<double>&, arma::subview_col<double>&)::<lambda(auto:42&)> [with auto:42 = ad::Var<double, ad::scl>]':
/opt/local/include/gcc14/c++/bits/stl_algo.h:3785:5:   required from '_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<ad::Var<double, ad::scl>*, vector<ad::Var<double, ad::scl> > >; _Funct = ppl::mcmc::ad_bind_storage<std::vector<ad::Var<double, ad::scl> >, arma::subview_col<double> >(std::vector<ad::Var<double, ad::scl> >&, arma::subview_col<double>&, arma::subview_col<double>&)::<lambda(auto:42&)>]'
 3785 |         __f(*__first);
      |         ~~~^~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/ad_utils.hpp:18:18:   required from 'void ppl::mcmc::ad_bind_storage(ADVecType&, MatType&, MatType&) [with ADVecType = std::vector<ad::Var<double, ad::scl> >; MatType = arma::subview_col<double>]'
   18 |     std::for_each(vars.begin(), vars.end(),
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
   19 |             [&](auto& var) {
      |             ~~~~~~~~~~~~~~~~
   20 |                 var.set_value_ptr(&(*values_it));
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   21 |                 var.set_adjoint_ptr(&(*adjoints_it));
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   22 |                 ++values_it;
      |                 ~~~~~~~~~~~~
   23 |                 ++adjoints_it;
      |                 ~~~~~~~~~~~~~~
   24 |             });
      |             ~~    
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/hmc/nuts/nuts_unittest.cpp:149:30:   required from here
  149 |         mcmc::ad_bind_storage(ad_vars, theta, theta_adj);
      |         ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/ad_utils.hpp:20:34: error: 'struct ad::Var<double, ad::scl>' has no member named 'set_value_ptr'
   20 |                 var.set_value_ptr(&(*values_it));
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/ad_utils.hpp:21:36: error: 'struct ad::Var<double, ad::scl>' has no member named 'set_adjoint_ptr'
   21 |                 var.set_adjoint_ptr(&(*adjoints_it));
      |                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
make[2]: *** [test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/nuts/nuts_unittest.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/hmc/leapfrog_unittest.cpp:8:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/ad_utils.hpp: In instantiation of 'ppl::mcmc::ad_bind_storage<std::vector<ad::Var<double, ad::scl> >, arma::Col<double> >(std::vector<ad::Var<double, ad::scl> >&, arma::Col<double>&, arma::Col<double>&)::<lambda(auto:37&)> [with auto:37 = ad::Var<double, ad::scl>]':
/opt/local/include/gcc14/c++/bits/stl_algo.h:3785:5:   required from '_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<ad::Var<double, ad::scl>*, vector<ad::Var<double, ad::scl> > >; _Funct = ppl::mcmc::ad_bind_storage<std::vector<ad::Var<double, ad::scl> >, arma::Col<double> >(std::vector<ad::Var<double, ad::scl> >&, arma::Col<double>&, arma::Col<double>&)::<lambda(auto:37&)>]'
 3785 |         __f(*__first);
      |         ~~~^~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/ad_utils.hpp:18:18:   required from 'void ppl::mcmc::ad_bind_storage(ADVecType&, MatType&, MatType&) [with ADVecType = std::vector<ad::Var<double, ad::scl> >; MatType = arma::Col<double>]'
   18 |     std::for_each(vars.begin(), vars.end(),
      |     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
   19 |             [&](auto& var) {
      |             ~~~~~~~~~~~~~~~~
   20 |                 var.set_value_ptr(&(*values_it));
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   21 |                 var.set_adjoint_ptr(&(*adjoints_it));
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   22 |                 ++values_it;
      |                 ~~~~~~~~~~~~
   23 |                 ++adjoints_it;
      |                 ~~~~~~~~~~~~~~
   24 |             });
      |             ~~    
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/test/mcmc/hmc/leapfrog_unittest.cpp:43:24:   required from here
   43 |         ad_bind_storage(v, theta, theta_adj);
      |         ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/ad_utils.hpp:20:34: error: 'struct ad::Var<double, ad::scl>' has no member named 'set_value_ptr'
   20 |                 var.set_value_ptr(&(*values_it));
      |                 ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0/include/autoppl/mcmc/hmc/ad_utils.hpp:21:36: error: 'struct ad::Var<double, ad::scl>' has no member named 'set_adjoint_ptr'
   21 |                 var.set_adjoint_ptr(&(*adjoints_it));
      |                 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
make[2]: *** [test/CMakeFiles/mcmc_unittest.dir/mcmc/hmc/leapfrog_unittest.cpp.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
make[1]: *** [test/CMakeFiles/mcmc_unittest.dir/all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_autoppl/autoppl/work/autoppl-1.0'
make: *** [all] Error 2
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

1 participant