Skip to content
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

error while make #2

Open
mingren200323 opened this issue Sep 8, 2021 · 0 comments
Open

error while make #2

mingren200323 opened this issue Sep 8, 2021 · 0 comments

Comments

@mingren200323
Copy link

First I am not sure cmake -Dwith-python=3 -DCMAKE_INSTALL_PREFIX:PATH=./ </path/to/NEST/src>
</path/to/NEST/src> is the /SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA?
so I configure it with cmake -Dwith-python=3 -DCMAKE_INSTALL_PREFIX:PATH=./ ./
Then, when I try to make, the process report an error and terminate:
/home/pb/github/SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA/sli/slistartup.cc: In member function ‘virtual void SLIStartup::init(SLIInterpreter*)’: /home/pb/github/SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA/libnestutil/config.h:49:29: error: ‘Permission’ was not declared in this scope #define NEST_EXITCODE_ABORT Permission denied ^ /home/pb/github/SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA/sli/slistartup.cc:562:51: note: in expansion of macro ‘NEST_EXITCODE_ABORT’ exitcode_abort_name, Token( new IntegerDatum( NEST_EXITCODE_ABORT ) ) ); ^~~~~~~~~~~~~~~~~~~ /home/pb/github/SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA/sli/slistartup.cc:566:10: error: expected primary-expression before ‘(’ token Token( new IntegerDatum( NEST_EXITCODE_SEGFAULT ) ) ); ^ In file included from /home/pb/github/SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA/sli/slistartup.h:32:0, from /home/pb/github/SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA/sli/slistartup.cc:23: /home/pb/github/SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA/libnestutil/config.h:50:43: error: expected ‘)’ before ‘denied’ #define NEST_EXITCODE_SEGFAULT Permission denied ^ /home/pb/github/SNN-simulator-on-PYNQcluster-master/NEST-14.0-FPGA/sli/slistartup.cc:566:30: note: in expansion of macro ‘NEST_EXITCODE_SEGFAULT’ Token( new IntegerDatum( NEST_EXITCODE_SEGFAULT ) ) ); ^~~~~~~~~~~~~~~~~~~~~~ sli/CMakeFiles/sli_lib.dir/build.make:582: recipe for target 'sli/CMakeFiles/sli_lib.dir/slistartup.cc.o' failed make[2]: *** [sli/CMakeFiles/sli_lib.dir/slistartup.cc.o] Error 1 CMakeFiles/Makefile2:845: recipe for target 'sli/CMakeFiles/sli_lib.dir/all' failed make[1]: *** [sli/CMakeFiles/sli_lib.dir/all] Error 2 Makefile:162: recipe for target 'all' failed make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant