-
Notifications
You must be signed in to change notification settings - Fork 36
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: ../sferes/phen/parameters.hpp:57:26: error: the value of ‘Params1::parameters::max’ is not usable in a constant expression #65
Comments
Hi, |
@marla729 unfortunately, no. But since I need sferes for adversarial attack library, I just have found another one, called foolbox. |
Sorry for answering this only now... but can you tell me which version of sferes you were using (the master?) and on which OS/compiler? Thanks. |
@jbmouret |
Can you tell me which version of sferes and which OS/Compiler ? |
@jbmouret g++ and steres2 in ubuntu16.4 |
which version of g++ ? (g++ --version)
|
5.4.0 |
Thanks. It should work with 5.4.0 (I just checked). Can you copy/paste the output of ./waf configure ? |
sure.Thanks! `module : [modules/nn2] --- configuration ---
--- license --- |
OK. So the issue is that you are not in C++11 (it should have been detected automatically). I will check what could be wrong in the detection. Also, your boost libraries are not found (--boost-libs=/path/to/boost/libs). The waf configure should look like this (see the compilation options):
|
@jbmouret Thanks.But I don't know why my boost libraries and c++11 are not found ,my boost libraries was installed successfully.I don't know how to fix it, thank you for your help. |
@jbmouret Hi,Can you help me solve this problem? my output of waf configure and waf build are below.thanks! --- configuration ---
--- license --- waf build |
Can you try to configure with the cpp14 option? like this:
(and copy-paste the output). |
@jbmouret ok,thanks --- configuration ---
--- license --- |
System: Ubuntu 16.04
Configure output:
Compilation output:
`
The text was updated successfully, but these errors were encountered: