Closed friente closed 4 years ago
@fyoda indeed this was an error in the previous release... now it's fixed in develop
, basically any third party library will be available under shogun/third_party
folder. for the time being you either start using the latest version of shogun or add the eigen headers under shogun/lib/external/eigen
manually
@vigsterkr Should I rebuild shogun starting from develop
? Or can I just use my previous build and eigen 3.3.4 within theshogun/lib/external/eigen
manually?
@fyoda you should be able to use eigen 3.3.4 and put there manually.. .note that you should use -isystem
gcc/clang flags when you compile shogun
btw which header includes #include <shogun/mathematics/eigen3.h>
?
@vigsterkr I'm building the lib with MSVC 2015, the -isystem
should be set by CMAKE when generating the MSVC solution (I think).
#include <shogun/mathematics/eigen3.h>
includes:
#include <Eigen/Eigen>
#include <Eigen/Dense>
#include <Eigen/Sparse>
@fyoda oh so you are having this error while you are building shogun? i thought when you are using it. if it's build time problem, then there's a bug indeed
I'm getting this error in both cases, when I build shogun but also when I'm using it. However, even if I get the many of those errors during the build phase, the .lib is genered.
i'm just checking the headers and none of the external headers include the mentioned eigen3.h so you shouldn't have this problem while using shogun externally. but of course the build problem (when you try to build the library) should still be fixed... i remember that you were having some custom build mechanism. note the generated MSVC 2015 works by default - see our appveyor builds.
@vigsterkr I don't have standard MSVC 2015 build mechanism. The problem with me was the debug and release build. I solved by changing manually the Runtime lib used for the debug, because it doesn't switch automatically in visual studio.
@fyoda can you provide me the compiler flags for the shogun.sln?
@vigsterkr In the following you can find all options for the libshogun solution:
/GS /TP /W1 /Zc:wchar_t /I"C:\Users\myUser\Downloads\shogun\src" /I"C:\Users\myUser\Downloads\shogun\build\src" /I"C:\Users\myUser\Downloads\shogun\src\gpl" /I"C:\Users\myUser\Downloads\shogun\build\MSDirent\src\MSDirent\include" /I"C:\Users\myUser\Downloads\shogun\build\src\shogun\lib\external\eigen" /I"C:\Users\myUser\Downloads\shogun\build\src\shogun\lib\external" /Gm- /O2 /Fd"libshogun.dir\Release\libshogun.pdb" /Zc:inline /fp:precise /D "CMAKE_INTDIR=\"Release\"" /D "_MBCS" /errorReport:prompt /WX- /Zc:forScope /Gd /MD /openmp /Fa"Release/" /nologo /Fo"libshogun.dir\Release\" /Fp"libshogun.dir\Release\libshogun.pch"
Additional options are:
%(AdditionalOptions) /std:c++14 /bigobj -std:c++14
ok so basically this:
C:\Users\myUser\Downloads\shogun\build\src\shogun\lib\external\eigen
should make sure that eigen is available. that dir is being created by cmake and by adding eigen to your project. check if eigen is actually there.
@vigsterkr No there is no eigen folder there. The build process downloads the 3.3.4 but then it's not copied there automatically. I can try rebuilding shogun putting the eigen in that folder.
mmm that's weird as this should be autogenerated by cmake. are you sure you are checking it under build
dir and not the root of the repo?
I'm sure, in C:\Users\myUser\Downloads\shogun\build\src\shogun\lib\external
there is no eigen
folder
for the sake of argument, could you create a new build directory, say build-test
and run cmake and try to build shogun.sln
Ok, I created a new build-test
, build again the lib but I still get the error mentioned before.
Error C1083 Cannot open include file: 'Eigen/Eigen': No such file or directory libshogun C:\Users\myUser\Downloads\shogun\src\shogun\mathematics\eigen3.h 14
mmm that is super interesting.... so then i guess this is a bug - that i couldn't reproduce yet... could you put there (C:\Users\myUser\Downloads\shogun\build\src\shogun\lib\external\eigen
) manually the eigen 3.3.4? it should fix it.
By putting eigen
files manually in C:\Users\myUser\Downloads\shogun\build\src\shogun\lib\external\
the Eigen includes within eigen3.h are not underlined in read anymore.
I'll let you know at the end of the build process.
@vigsterkr Now the build process fails. Here is the error list of visual studio. shogun.lib is not generated.
Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: 'unsupported/Eigen/MatrixFunctions': No such file or directory libshogun C:\Users\myUser\Downloads\shogun\src\shogun\mathematics\linalg\ratapprox\logdet\opfunc\DenseMatrixExactLog.cpp 13
Error LNK1181 cannot open input file 'C:\Users\myUser\Downloads\shogun\build-test\src\shogun\libshogun.dir\Release\distributions\Histogram.cpp.obj' shogun-static C:\Users\myUser\Downloads\shogun\build-test\src\shogun\LINK 1
Error LNK1181 cannot open input file 'C:\Users\myUser\Downloads\shogun\build-test\src\shogun\libshogun.dir\Release\distributions\Histogram.cpp.obj' shogun C:\Users\myUser\Downloads\shogun\build-test\src\shogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_libsvm_probabilities C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_gaussian_process_binary_classification C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_lda C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_minimal_svm C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_mklmulticlass C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_multiclass_ecoc_discriminant C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_multiclass_ecoc C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_multiclass_ecoc_random C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_multiclass_prob_heuristics C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_multiclasslibsvm C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_multiclasslinearmachine C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_qda C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' clustering_kmeans C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_diffusionmaps C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_factoranalysis C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_hessianlocallylinearembedding C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_jade_bss C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_isomap C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_kernellocallylinearembedding C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_laplacianeigenmaps C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_linearlocaltangentspacealignment C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_localitypreservingprojections C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_locallylinearembedding C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_localtangentspacealignment C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_multidimensionalscaling C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_neighborhoodpreservingembedding C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' converter_stochasticproximityembedding C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' evaluation_cross_validation_classification C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' evaluation_cross_validation_locked_comparison C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' evaluation_cross_validation_mkl_weight_storage C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' evaluation_cross_validation_multiclass C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' evaluation_cross_validation_multiclass_mkl C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' evaluation_cross_validation_regression C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' features_copy_subset_simple_features C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' features_subset_labels C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' features_copy_subset_sparse_features C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' features_dense_real_modular C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' features_subset_simple_features C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' features_subset_stack C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' io_libsvm_multilabel C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' io_linereader C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' classifier_mkl_svmlight_modelselection_bug C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' kernel_custom_index C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' kernel_machine_train_locked C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' kernel_gaussian C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' kernel_revlin C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' labels_binary_fit_sigmoid C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' library_gc_array C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' library_circularbuffer C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' library_hdf5 C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' library_map C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' library_mldatahdf5 C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' library_serialization C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' library_set C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' mathematics_confidence_intervals C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' mathematics_lapack C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' modelselection_apply_parameter_tree C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' modelselection_combined_kernel_sub_parameters C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' modelselection_grid_search_kernel C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' modelselection_grid_search_linear C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' modelselection_parameter_combination_test C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' modelselection_grid_search_mkl C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' neuralnets_basic C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' neuralnets_convolutional C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' neuralnets_deep_autoencoder C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' parameter_iterate_float64 C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' parameter_iterate_sgobject C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' regression_gaussian_process_ard C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' regression_gaussian_process_fitc C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' regression_gaussian_process_laplace C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' regression_gaussian_process_product C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' regression_gaussian_process_simple_exact C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' regression_gaussian_process_sum C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' balanced_conditional_probability_tree C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' serialization_basic_tests C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' serialization_multiclass_labels C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' kernel_custom C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' so_factorgraph C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' so_multiclass_BMRM C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' splitting_standard_crossvalidation C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' splitting_stratified_crossvalidation C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' streaming_from_dense C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' streaming_onlineliblinear_dense C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' streaming_onlineliblinear_sparse C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' streaming_stringfeatures C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' transfer_multitaskleastsquaresregression C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' transfer_multitasklogisticregression C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' variational_approx_example C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
Error LNK1181 cannot open input file '..\..\..\src\shogun\Release\shogun.lib' neuralnets_deep_belief_network C:\Users\myUser\Downloads\shogun\build-test\examples\undocumented\libshogun\LINK 1
distributions\Histogram.cpp.obj
doesn't exist on that folder.
Also the include #include <unsupported/Eigen/MatrixFunctions>
in DenseMatrixExactLog.cpp
cannot be found.
doh... i dont really get why it cannot find unsupported/Eigen/MatrixFunctions
@vigsterkr Where it should be located?
@fyoda this should be in C:\Users\myUser\Downloads\shogun\build\src\shogun\lib\external\eigen
@vigsterkr I'm sorry I forgot to copy that folder. C1083 solved. I still get the other errors LNK1181.
mmm i'm not so sure where the linking error is coming from :(
@vigsterkr By manually adding eigen folder in C:\Users\myUser\Downloads\shogun\build\src\shogun\lib\external\
the C1038 got fixed.
Now the shogun.lib build successfully.
I still have a problem when using the lib. I cannot use Eigen within my code. If I include #include <Eigen/Eigen>
I get again the C1038 error posted above.
I have included all paths specified within ShogunTargets.cmake in my Qt .pro file:
${_IMPORT_PREFIX}/include/shogun;
${_IMPORT_PREFIX}/include/shogun/lib/external/MSDirent;
${_IMPORT_PREFIX}/include/shogun/lib/external/eigen;
${_IMPORT_PREFIX}/include/shogun/lib/external/rxcpp;
${_IMPORT_PREFIX}/include;
Fixed, the problem is that in shogun\include\shogun\lib\external\eigen\Eigen
only the src folder is copied within the install directory and not the other files.
@fyoda if you wanna use yourself Eigen for some reason in your code you need to provide the eigen for yourself. meaning: if you just simply use shogun classes you should not have problems of finding eigen, as it's actually only used during compile time of the library...
ok so basically the problem here is mostly about things that got already fixed imo - in develop. i'll test it during the weekend on my windows VM just to make sure, i.e. will leave the ticket open till then
Ok, thanks! Yes basically the problem is about the not copied eigen files within the build directory.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello,
I'm just writing some test code using shogun lib on windows. I'm using dynamic linking against my executable. However, I get an error when I include:
#include <shogun/mathematics/eigen3.h>
The error is:
C1083: Cannot open include file: 'Eigen/Eigen': No such file or directory
Where should be located the eigen library within the installation folder? Because I couldn't find them. I couldn't find the eigen directory within
shogun/lib/external
. Thanks