Prateek Sharma
Prateek Sharma

Reputation: 1

How to install GDB in windows when building shogun from source?

I tried compiling shogun from source in windows but after writing

cmake [options] ..

command i get this error:

-- Selecting Windows SDK version 10.0.17134.0 to target Windows 10.0.15063. -- Could NOT find GDB (missing: GDB_COMMAND GDB_VERSION) CMake Error at src/shogun/CMakeLists.txt:57 (MESSAGE): Shogun can only be built with GPL codes if the source files are in C:/Users/user/Desktop/shogun/src/gpl. Please download or disable with LICENSE_GPL_SHOGUN=OFF.

I tried installing GDB from MinGW but it didn't worked

how to proceed further ?

Upvotes: 0

Views: 250

Answers (1)

mjarosie
mjarosie

Reputation: 4603

That's one of the first results when googling for the error so I'll post an answer here and link to relevant websites.

Shogun uses submodules to separate the main BSD (Berkeley Software Distribution) licensed library from the GPL (GNU General Public Licence) licensed files (for the difference between those see an example article here). After cloning the repository you'll need to invoke git submodule update --init comand as specified in the documentation which will pull shogun-gpl repository (among others) into shogun-gpl directory. See also this GitHub issue.

Upvotes: 0

Related Questions