Skip to content

Instantly share code, notes, and snippets.

@OXPHOS
Created June 29, 2016 14:06
Show Gist options
  • Save OXPHOS/ab076de38bcfd504300f720448abf951 to your computer and use it in GitHub Desktop.
Save OXPHOS/ab076de38bcfd504300f720448abf951 to your computer and use it in GitHub Desktop.
Error1:
[100%] Built target build_cpp_meta_examples
/opt/shogun/src/shogun/lib/SGVector.h:536: Error: Syntax error in input(3).
make[2]: *** [src/interfaces/python_modular/modshogunPYTHON_wrap.cxx] Error 1
make[1]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/all] Error 2
make: *** [all] Error 2
[COMMENT:SGVector.h:536 is `alignas(CACHE_SIZE_XXXX) T* vector;`]
Error2:
[ 2%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/metric/LMNN.cpp.o
In file included from /opt/shogun/src/shogun/mathematics/Math.h:30:0,
from /opt/shogun/src/shogun/distance/Distance.h:19,
from /opt/shogun/src/shogun/distance/DenseDistance.h:16,
from /opt/shogun/src/shogun/distance/RealDistance.h:16,
from /opt/shogun/src/shogun/distance/CustomMahalanobisDistance.h:17,
from /opt/shogun/src/shogun/metric/LMNN.h:18,
from /opt/shogun/src/shogun/metric/LMNN.cpp:11:
/opt/shogun/src/shogun/lib/SGVector.h: In instantiation of 'class shogun::SGVector<shogun::SGSparseVector<std::complex<double> > >':
/opt/shogun/src/shogun/metric/LMNN.cpp:272:96: required from here
/opt/shogun/src/shogun/lib/SGVector.h:50:46: error: invalid application of 'sizeof' to incomplete type 'shogun::SGSparseVector<std::complex<double> >'
typedef typename std::aligned_storage<sizeof(T), alignof(T)>::type aligned_t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment