Skip to content

Instantly share code, notes, and snippets.

@PirosB3
Created March 4, 2014 09:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PirosB3/9343151 to your computer and use it in GitHub Desktop.
Save PirosB3/9343151 to your computer and use it in GitHub Desktop.
[ 68%] Building CXX object src/interfaces/python_modular/CMakeFiles/_python_modular.dir/modshogunPYTHON_wrap.cxx.o
/Users/danielpiros/Documents/Projects/shogun/build/src/interfaces/python_modular/modshogunPYTHON_wrap.cxx:23697:42: error:
cannot initialize a parameter of type 'struct dirent *' with an
rvalue of type 'const dirent *'
result = (int)shogun::SGIO::filter((dirent const *)arg1);
^~~~~~~~~~~~~~~~~~~~
/Users/danielpiros/Documents/Projects/shogun/src/shogun/io/SGIO.h:478:37: note:
passing argument to parameter 'd' here
static int filter(CONST_DIRENT_T* d);
^
1 error generated.
make[2]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/modshogunPYTHON_wrap.cxx.o] Error 1
make[1]: *** [src/interfaces/python_modular/CMakeFiles/_python_modular.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment