Skip to content

Instantly share code, notes, and snippets.

Creating directories
Beginning release build
Compiling: src/Controller.cpp -> build/release/Controller.o
In file included from include/Controller.h:6:0,
from src/Controller.cpp:1:
include/ComputerBot.h:11:36: warning: unused parameter ‘cb’ [-Wunused-parameter]
ComputerBot(ComputerBot const &cb){}
^
In file included from include/Controller.h:7:0,
from src/Controller.cpp:1:
@deepakkandasamy
deepakkandasamy / Code
Created June 2, 2016 13:34
The command I used was g++ minimal1.cpp -L/home/deepak/anaconda2/lib -lhdf5 -lshogun
#include <shogun/labels/Labels.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/kernel/GaussianKernel.h>
#include <shogun/classifier/svm/LibSVM.h>
#include <shogun/base/init.h>
#include <shogun/lib/common.h>
#include <shogun/io/SGIO.h>
using namespace shogun;
@deepakkandasamy
deepakkandasamy / cmake output
Created June 2, 2016 13:11
I ran cmake .. from the build folder
cmake: /home/deepak/anaconda2/lib/libcurl.so.4: no version information available (required by cmake)
cmake: /home/deepak/anaconda2/lib/liblzma.so.5: no version information available (required by /usr/lib/x86_64-linux-gnu/libarchive.so.13)
-- Could NOT find CCache (missing: CCACHE)
-- Using system's malloc
gdb: /home/deepak/anaconda2/lib/liblzma.so.5: no version information available (required by gdb)
-- Could NOT find MOSEK (missing: MOSEK_DIR MOSEK_INCLUDE_DIR MOSEK_LIBRARY)
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY)
-- Could NOT find CBLAS (missing: CBLAS_LIBRARY)
[ 1%] [ 2%] Built target Eigen3
Generating version header
[ 2%] Built target class_list
[ 2%] Built target version
[ 2%] [ 2%] [ 3%] [ 3%] [ 3%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/preprocessor/PNorm.cpp.o
Building CXX object src/shogun/CMakeFiles/libshogun.dir/preprocessor/RescaleFeatures.cpp.o
Building CXX object src/shogun/CMakeFiles/libshogun.dir/preprocessor/SortWordString.cpp.o
Building CXX object src/shogun/CMakeFiles/libshogun.dir/preprocessor/SumOne.cpp.o
Building CXX object src/shogun/CMakeFiles/libshogun.dir/preprocessor/FeatureSelection.cpp.o
In file included from /home/deepak/shogun/src/shogun/preprocessor/PNorm.cpp:17:0:
/usr/bin/ld: warning: libhdf5.so.10, needed by /home/deepak/shogun-install1/lib/libshogun.so, not found (try using -rpath or -rpath-link)
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5T_NATIVE_INT16_g'
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5Sselect_elements'
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5Dread'
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5Sget_simple_extent_ndims'
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5T_NATIVE_SCHAR_g'
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5T_NATIVE_INT64_g'
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5Eset_auto2'
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5Screate_simple'
/home/deepak/shogun-install1/lib/libshogun.so: undefined reference to `H5Aget_type'
-- Could NOT find CCache (missing: CCACHE)
-- Using system's malloc
-- Could NOT find MOSEK (missing: MOSEK_DIR MOSEK_INCLUDE_DIR MOSEK_LIBRARY)
-- A library with BLAS API found.
-- A library with LAPACK API found.
-- Could NOT find Atlas (missing: Atlas_CBLAS_INCLUDE_DIR Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY)
-- Could NOT find CBLAS (missing: CBLAS_LIBRARY)
-- Could NOT find GLPK (missing: GLPK_LIBRARY GLPK_INCLUDE_DIR GLPK_PROPER_VERSION_FOUND)
-- Could NOT find CPLEX (missing: CPLEX_LIBRARY CPLEX_INCLUDE_DIR)
-- Could NOT find Eigen3 (missing: EIGEN_INCLUDE_DIR) (Required is at least version "3.1.2")