New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation error #4182
Comments
@goldturtle in case you just want to use shogun out of box you can simply use the conda-forge package or the ppa from here: https://launchpad.net/~shogun-toolbox/+archive/ubuntu/stable otherwise i'll try to reproduce this error but based on our buildbot 16.04 build should be working: |
Looks like this happened to other people too: Reading the last comment, though, I wouldn't know how to change the include path in a proper way. |
Do you have somewhere else shogun already installed?
… On 20 Feb 2018, at 12:18, goldturtle ***@***.***> wrote:
Looks like this happened to other people too:
#2841
Reading the last comment, though, I wouldn't know how to change the include path in a proper way.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
No. I'd like to compile it from scratch because I want to play around. |
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. |
I'm guessing this can be closed |
I am using Ubuntu 16.04 and did the following:
git clone https://github.com/shogun-toolbox/shogun.git
cd shogun
git submodule update --init
mkdir build; cd build; cmake ..; make -j 8 ; make install
I got the following error:
[ 71%] Building CXX object src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o
In file included from /shogun/src/shogun/kernel/normalizer/KernelNormalizer.h:12:0,
from /shogun/src/shogun/transfer/multitask/MultitaskKernelMaskPairNormalizer.h:12,
from /shogun/build/src/shogun/base/class_list.cpp:62:
/shogun/src/shogun/kernel/Kernel.h: In member function 'float64_t shogun::CKernel::kernel(int32_t, int32_t)':
/shogun/src/shogun/kernel/Kernel.h:213:21: error: invalid use of incomplete type 'class shogun::CKernelNormalizer'
return normalizer->normalize(compute(idx_a, idx_b), idx_a, idx_b);
^
In file included from /shogun/src/shogun/kernel/normalizer/KernelNormalizer.h:12:0,
from /shogun/src/shogun/transfer/multitask/MultitaskKernelMaskPairNormalizer.h:12,
from /shogun/build/src/shogun/base/class_list.cpp:62:
/shogun/src/shogun/kernel/Kernel.h:35:8: note: forward declaration of 'class shogun::CKernelNormalizer'
class CKernelNormalizer;
^
src/shogun/CMakeFiles/libshogun.dir/build.make:17409: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o' failed
make[2]: *** [src/shogun/CMakeFiles/libshogun.dir/base/class_list.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:126: recipe for target 'src/shogun/CMakeFiles/libshogun.dir/all' failed
make[1]: *** [src/shogun/CMakeFiles/libshogun.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
What should I do?
Michael.
The text was updated successfully, but these errors were encountered: