[mlpack-git] [mlpack/mlpack] Compilation error (#719)

Anukul Sangwan notifications at github.com
Sun Jul 10 10:46:21 EDT 2016


List of packages:

	➜  build sudo dnf list installed | grep -i 'armadillo\|mlpack\|superlu'
	SuperLU.x86_64                         5.2.0-1.fc24             @fedora         
	SuperLU-devel.x86_64                   5.2.0-1.fc24             @fedora         
	SuperLU43.x86_64                       4.3-3.fc24               @fedora         
	armadillo.x86_64                       6.700.6-1.fc24           @fedora         
	armadillo-devel.x86_64                 6.700.6-1.fc24           @fedora  


cmake:

	➜  build cmake ../
	-- Armadillo libraries: /usr/lib64/libarmadillo.so
	-- Boost version: 1.60.0
	-- Found the following Boost libraries:
	--   program_options
	--   unit_test_framework
	--   serialization
	-- Regenerating arma_config.hpp.
	CMake Warning (dev) at src/mlpack/methods/neighbor_search/CMakeLists.txt:39 (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:47 (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.

	CMake Warning (dev) at src/mlpack/methods/rann/CMakeLists.txt:42 (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_krann".  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.

	-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
	-- Configuring done
	-- Generating done
	-- Build files have been written to: /home/anukul/dl/mlpack-2.0.2/build

make:

	➜  build make
	[  1%] Updating arma_config.hpp (if necessary)
	-- Regenerating arma_config.hpp.
	[  1%] Built target mlpack_arma_config
	Moving header files to include/mlpack/
	[  1%] Built target mlpack_headers
	Scanning dependencies of target mlpack
	[  2%] Building CXX object src/mlpack/CMakeFiles/mlpack.dir/core/dists/discrete_distribution.cpp.o
	In file included from /usr/include/armadillo:84:0,
	                 from /home/anukul/dl/mlpack-2.0.2/src/mlpack/../mlpack/core/arma_extend/arma_extend.hpp:52,
	                 from /home/anukul/dl/mlpack-2.0.2/src/mlpack/../mlpack/prereqs.hpp:78,
	                 from /home/anukul/dl/mlpack-2.0.2/src/mlpack/../mlpack/core.hpp:206,
	                 from /home/anukul/dl/mlpack-2.0.2/src/mlpack/core/dists/discrete_distribution.hpp:18,
	                 from /home/anukul/dl/mlpack-2.0.2/src/mlpack/core/dists/discrete_distribution.cpp:14:
	/usr/include/armadillo_bits/include_superlu.hpp:91:53: fatal error: /usr/include/SuperLU43/supermatrix.h: No such file or directory
	   #include ARMA_INCFILE_WRAP(ARMA_SLU_SUPERMATRIX_H)
	                                                     ^
	compilation terminated.
	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:234: 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

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/719#issuecomment-231592648
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160710/bb872138/attachment-0001.html>


More information about the mlpack-git mailing list