Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ozair Shafiq@OzairShafiq-PC /cygdrive/d/programming/mlpack/build
- $ cmake .. -DDEBUG=OFF -DPROFILE=OFF
- -- The C compiler identification is GNU 5.3.0
- -- The CXX compiler identification is GNU 5.3.0
- -- Check for working C compiler: /usr/bin/cc
- -- Check for working C compiler: /usr/bin/cc -- works
- -- Detecting C compiler ABI info
- -- Detecting C compiler ABI info - done
- -- Detecting C compile features
- -- Detecting C compile features - done
- -- Check for working CXX compiler: /usr/bin/c++.exe
- -- Check for working CXX compiler: /usr/bin/c++.exe -- works
- -- Detecting CXX compiler ABI info
- -- Detecting CXX compiler ABI info - done
- -- Detecting CXX compile features
- -- Detecting CXX compile features - done
- -- Checking for C++11 compiler
- -- Checking for C++11 compiler - available
- -- Found Armadillo: /usr/lib/libarmadillo.dll.a (found suitable version "6.500.5", minimum required is "4.100.0")
- -- Armadillo libraries: /usr/lib/libarmadillo.dll.a
- -- Boost version: 1.58.0
- -- Found the following Boost libraries:
- -- program_options
- -- unit_test_framework
- -- serialization
- -- Try OpenMP C flag = [-fopenmp]
- -- Performing Test OpenMP_FLAG_DETECTED
- -- Performing Test OpenMP_FLAG_DETECTED - Success
- -- Try OpenMP CXX flag = [-fopenmp]
- -- Performing Test OpenMP_FLAG_DETECTED
- -- Performing Test OpenMP_FLAG_DETECTED - Success
- -- Found OpenMP: -fopenmp
- -- Found Git: /usr/bin/git.exe (found version "2.8.0")
- -- gitversion.hpp is already up to date.
- -- Regenerating arma_config.hpp.
- CMake Warning (dev) at src/mlpack/methods/neighbor_search/CMakeLists.txt:40 (get_property):
- Policy CMP0026 is not set: Disallow use of the LOCATION target property.
- Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
- command to set the policy and suppress this warning.
- The LOCATION property should not be read from target "mlpack_knn". Use the
- target name directly with add_custom_command, or use the generator
- expression $<TARGET_FILE>, as appropriate.
- This warning is for project developers. Use -Wno-dev to suppress it.
- CMake Warning (dev) at src/mlpack/methods/neighbor_search/CMakeLists.txt:48 (get_property):
- Policy CMP0026 is not set: Disallow use of the LOCATION target property.
- Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
- command to set the policy and suppress this warning.
- The LOCATION property should not be read from target "mlpack_kfn". Use the
- target name directly with add_custom_command, or use the generator
- expression $<TARGET_FILE>, as appropriate.
- This warning is for project developers. Use -Wno-dev to suppress it.
- -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
- -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
- -- Found Doxygen: /usr/bin/doxygen.exe (found version "1.8.11")
- CMake Warning at CMakeLists.txt:348 (message):
- txt2man not found; man pages will not be generated.
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /cygdrive/d/programming/mlpack/build
- Ozair Shafiq@OzairShafiq-PC /cygdrive/d/programming/mlpack/build
- $ make install
- Scanning dependencies of target mlpack_arma_config
- [ 0%] Updating arma_config.hpp (if necessary)
- -- Regenerating arma_config.hpp.
- [ 0%] Built target mlpack_arma_config
- Scanning dependencies of target mlpack_gitversion
- [ 1%] Updating gitversion.hpp (if necessary)
- -- Found Git: /usr/bin/git.exe (found version "2.8.0")
- -- gitversion.hpp is already up to date.
- [ 1%] Built target mlpack_gitversion
- Scanning dependencies of target mlpack_headers
- Moving header files to include/mlpack/
- [ 1%] Built target mlpack_headers
- Scanning dependencies of target mlpack
- [ 1%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/dists/discrete_distribution.cpp.o
- In file included from /usr/include/armadillo:50:0,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/arma_extend/arma_extend.hpp:52,
- from /cygdrive/d/programming/mlpack/src/mlpack/prereqs.hpp:70,
- from /cygdrive/d/programming/mlpack/src/mlpack/core.hpp:195,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/dists/discrete_distribution.hpp:11,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/dists/discrete_distribution.cpp:7:
- /usr/include/armadillo_bits/compiler_setup.hpp:70:87: note: #pragma message: WARNING: Cygwin may have incomplete support for C++11 features;
- #pragma message ("WARNING: Cygwin may have incomplete support for C++11 features;")
- ^
- /usr/include/armadillo_bits/compiler_setup.hpp:71:85: note: #pragma message: WARNING: if something breaks, you get to keep all the pieces.
- #pragma message ("WARNING: if something breaks, you get to keep all the pieces.")
- ^
- /usr/include/armadillo_bits/compiler_setup.hpp:72:91: note: #pragma message: WARNING: to forcefully prevent Armadillo from using C++11 features,
- #pragma message ("WARNING: to forcefully prevent Armadillo from using C++11 features,")
- ^
- /usr/include/armadillo_bits/compiler_setup.hpp:73:88: note: #pragma message: WARNING: #define ARMA_DONT_USE_CXX11 before #include <armadillo>
- #pragma message ("WARNING: #define ARMA_DONT_USE_CXX11 before #include <armadillo>")
- ^
- In file included from /usr/include/armadillo:305:0,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/arma_extend/arma_extend.hpp:52,
- from /cygdrive/d/programming/mlpack/src/mlpack/prereqs.hpp:70,
- from /cygdrive/d/programming/mlpack/src/mlpack/core.hpp:195,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/dists/discrete_distribution.hpp:11,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/dists/discrete_distribution.cpp:7:
- /usr/include/armadillo_bits/memory.hpp: In static member function ‘static eT* arma::memory::acquire(arma::uword)’:
- /usr/include/armadillo_bits/memory.hpp:75:130: error: there are no arguments to ‘posix_memalign’ that depend on a template parameter, so a declaration of ‘posix_memalign’ must be available [-fpermissive]
- int status = posix_memalign((void **)&memptr, ( (alignment >= sizeof(void*)) ? alignment : sizeof(void*) ), sizeof(eT)*n_elem);
- ^
- /usr/include/armadillo_bits/memory.hpp:75:130: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
- In file included from /usr/include/armadillo:305:0,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/arma_extend/arma_extend.hpp:52,
- from /cygdrive/d/programming/mlpack/src/mlpack/prereqs.hpp:70,
- from /cygdrive/d/programming/mlpack/src/mlpack/core.hpp:195,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/dists/discrete_distribution.hpp:11,
- from /cygdrive/d/programming/mlpack/src/mlpack/core/dists/discrete_distribution.cpp:7:
- /usr/include/armadillo_bits/memory.hpp: In instantiation of ‘static eT* arma::memory::acquire(arma::uword) [with eT = long long unsigned int; arma::uword = long long unsigned int]’:
- /usr/include/armadillo_bits/SpMat_meat.hpp:30:36: required from ‘arma::SpMat<eT>::SpMat() [with eT = double]’
- /usr/include/armadillo_bits/fn_speye.hpp:65:10: required from here
- /usr/include/armadillo_bits/memory.hpp:75:32: error: ‘posix_memalign’ was not declared in this scope
- int status = posix_memalign((void **)&memptr, ( (alignment >= sizeof(void*)) ? alignment : sizeof(void*) ), sizeof(eT)*n_elem);
- ^
- /usr/include/armadillo_bits/memory.hpp: In instantiation of ‘static eT* arma::memory::acquire(arma::uword) [with eT = double; arma::uword = long long unsigned int]’:
- /usr/include/armadillo_bits/Mat_meat.hpp:213:42: required from ‘void arma::Mat<eT>::init_cold() [with eT = double]’
- /usr/include/armadillo_bits/Mat_meat.hpp:643:16: required from ‘arma::Mat<eT>::Mat(arma::Mat<eT>&&) [with eT = double]’
- /usr/include/armadillo_bits/fn_misc.hpp:90:39: required from here
- /usr/include/armadillo_bits/memory.hpp:75:32: error: ‘posix_memalign’ was not declared in this scope
- /usr/include/armadillo_bits/memory.hpp: In instantiation of ‘static eT* arma::memory::acquire(arma::uword) [with eT = long long int; arma::uword = long long unsigned int]’:
- /usr/include/armadillo_bits/Mat_meat.hpp:213:42: required from ‘void arma::Mat<eT>::init_cold() [with eT = long long int]’
- /usr/include/armadillo_bits/Mat_meat.hpp:643:16: required from ‘arma::Mat<eT>::Mat(arma::Mat<eT>&&) [with eT = long long int]’
- /usr/include/armadillo_bits/fn_randi.hpp:107:43: required from here
- /usr/include/armadillo_bits/memory.hpp:75:32: error: ‘posix_memalign’ was not declared in this scope
- /usr/include/armadillo_bits/memory.hpp: In instantiation of ‘static eT* arma::memory::acquire(arma::uword) [with eT = unsigned char; arma::uword = long long unsigned int]’:
- /usr/include/armadillo_bits/podarray_meat.hpp:365:30: required from ‘void arma::podarray<eT>::init_cold(arma::uword) [with eT = unsigned char; arma::uword = long long unsigned int]’
- /usr/include/armadillo_bits/podarray_meat.hpp:86:12: required from ‘arma::podarray<eT>::podarray(arma::uword) [with eT = unsigned char; arma::uword = long long unsigned int]’
- /usr/include/armadillo_bits/diskio_meat.hpp:569:33: required from here
- /usr/include/armadillo_bits/memory.hpp:75:32: error: ‘posix_memalign’ was not declared in this scope
- /usr/include/armadillo_bits/memory.hpp: In instantiation of ‘static eT* arma::memory::acquire(arma::uword) [with eT = int; arma::uword = long long unsigned int ’:
- /usr/include/armadillo_bits/podarray_meat.hpp:365:30: required from ‘void arma::podarray<eT>::init_cold(arma::uword) [with eT = int; arma::uword = long long unsigned int]’
- /usr/include/armadillo_bits/podarray_meat.hpp:86:12: required from ‘arma::podarray<eT>::podarray(arma::uword) [with eT = int; arma::uword = long long unsigned int]’
- /usr/include/armadillo_bits/auxlib_meat.hpp:3096:41: required from ‘static bool arma::auxlib::solve_square_fast(arma::Mat<typename T1::elem_type>&, arma::Mat<typename T1::elem_type>&, const arma::Base<typename T1::elem_type, T1>&) [with T1 = arma::Mat<double>; typename T1::elem_type = double]’
- /usr/include/armadillo_bits/glue_times_meat.hpp:95:50: required from ‘static void arma::glue_times_redirect2_helper<true>::apply(arma::Mat<typename T1::elem_type>&, const arma::Glue<T1, T2, arma::glue_times>&) [with T1 = arma::eOp<arma::Mat<double>, arma::eop_scalar_times>; T2 = arma::Mat<double>; typename T1::elem_type = double]’
- /usr/include/armadillo_bits/glue_times_meat.hpp:341:74: required from ‘static void arma::glue_times_redirect<2ull>::apply(arma::Mat<typename T1::elem_type>&, const arma::Glue<T1, T2, arma::glue_times>&) [with T1 = arma::eOp<arma::Mat<double>, arma::eop_scalar_times>; T2 = arma::Mat<double>; typename T1::elem_type = double]’
- /usr/include/armadillo_bits/glue_times_meat.hpp:435:36: required from ‘static void arma::glue_times::apply(arma::Mat<typename T1::elem_type>&, const arma::Glue<T1, T2, arma::glue_times>&) [with T1 = arma::eOp<arma::Mat<double>, arma::eop_scalar_times>; T2 = arma::Mat<double>; typename T1::elem_type = double]’
- /usr/include/armadillo_bits/Mat_meat.hpp:4935:19: required from ‘arma::Mat<eT>::Mat(const arma::Glue<T1, T2, glue_type>&) [with T1 = arma::eOp<arma::Mat<double>, arma::eop_scalar_times>; T2 = arma::Mat<double>; glue_type = arma::glue_times; eT = double]’
- /cygdrive/d/programming/mlpack/src/mlpack/core/dists/gaussian_distribution.hpp:182:41: required from here
- /usr/include/armadillo_bits/memory.hpp:75:32: error: ‘posix_memalign’ was not declared in this scope
- src/mlpack/CMakeFiles/mlpack.dir/build.make:62: recipe for target 'src/mlpack/CMakeFiles/mlpack.dir/core/dists/discrete_distribution.cpp.o' failed
- make[2]: *** [src/mlpack/CMakeFiles/mlpack.dir/core/dists/discrete_distribution.cpp.o] Error 1
- CMakeFiles/Makefile2:237: recipe for target 'src/mlpack/CMakeFiles/mlpack.dir/all' failed
- make[1]: *** [src/mlpack/CMakeFiles/mlpack.dir/all] Error 2
- Makefile:138: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement