Closed arya2910 closed 3 years ago
Hi @arya2910 I think the error message already provides you enough information which can help you solve this error, you can set -DENABLE_DOXYGEN=OFF
and -DLICENSE_GPL_SHOGUN=OFF
to disable the default setting.
i have done this and solved it. but i am having many more issue. can you please tell me what are the examples i should run to test whether it is working or not. and how to run that examples and where. because everytime i run the example it gives me same error that you header file path has not included.
#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\arya gupta\%REPO_DIR%\examples\undocumented\libshogun\balanced_conditional_probability_tree.cpp).C/C++(1696)
cannot open source file "shogun/lib/common.h"C/C++(1696)
what should i do to this error
Could you provide the whole cmake output?
Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042.
The C compiler identification is MSVC 19.28.29336.0
The CXX compiler identification is MSVC 19.28.29336.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Performing Test _cpp_latest_flag_supported
Performing Test _cpp_latest_flag_supported - Success
Performing Test HAVE_FOLDING_EXPRESSIONS
Performing Test HAVE_FOLDING_EXPRESSIONS - Success
Performing Test HAVE_IF_CONSTEXPR
Performing Test HAVE_IF_CONSTEXPR - Success
Performing Test HAVE_IF_INIT
Performing Test HAVE_IF_INIT - Success
Performing Test HAVE_STD_STRING_VIEW
Performing Test HAVE_STD_STRING_VIEW - Success
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) (Required is at least version "1.8.6")
CMake Warning at CMakeLists.txt:411 (MESSAGE):
Doxygen based documentation generation is enabled, but couldn't find
doxygen.
In order to turn off this warning either disable doxygen documentation
generation with -DENABLE_DOXYGEN=OFF cmake option or install doxygen.
Found PythonInterp: C:/Users/arya gupta/AppData/Local/Programs/Python/Python39/python.exe (found version "3.9.1")
CMake Error at src/shogun/CMakeLists.txt:69 (MESSAGE):
Shogun can only be built with GPL codes if the source files are in
C:/Users/arya gupta/%REPO_DIR%/src/gpl. Please download the GPL codes or
checkout the Git Submodule with 'git submodule update --init'. To exclude
GPL codes of Shogun in build set the switch LICENSE_GPL_SHOGUN=OFF.
Configuring incomplete, errors occurred!
See also "C:/Users/arya gupta/make/CMakeFiles/CMakeOutput.log".
this is my output
oh, you develop shogun in windows? It seems like that there are some issues when you compile shogun on windows, so I recommend you run shogun on Linux(such as Ubuntu).
is there any other method to develop shogun on windows. should i change my OS from windows to linux??
you can use WSL2 which is a subsystem on windows.
if there is issue on c developing shogun with windows then don't you think we should change the install.md windows build??
how to solve this error