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
While compiling carma from source and installing into my system library works fine, upon trying to include the interface target in a header file I receive this error:
In file included from ../src/tallem/carma_svd.cpp:2:
/usr/local/carma/include/carma:18:12: fatal error: 'cnalloc.hpp' file not found
#include<cnalloc.hpp>
^~~~~~~~~~~~~
Upon inspection, the interface target file carma looks like:
#ifndef INCLUDE_CARMA_H_
#defineINCLUDE_CARMA_H_
...
#ifndef CARMA_ARMA_ALIEN_MEM_FUNCTIONS_SET
#if defined(ARMA_VERSION_MAJOR)
#error "carma: please include the armadillo header after the carma header or use the CARMA CMake build"
#endif
#include<cnalloc.hpp>
#endif
...
#include"carma_bits/nparray.h"
#include"carma_bits/arraystore.h"
#include"carma_bits/converters.h"
#endif// INCLUDE_CARMA_H_
Shouldn't the include with cnalloc.hpp use the relative-path include pattern, like the headers at the bottom? Or is this a build configuration problem?
The text was updated successfully, but these errors were encountered:
While compiling carma from source and installing into my system library works fine, upon trying to include the interface target in a header file I receive this error:
Upon inspection, the interface target file
carma
looks like:Shouldn't the include with
cnalloc.hpp
use the relative-path include pattern, like the headers at the bottom? Or is this a build configuration problem?The text was updated successfully, but these errors were encountered: