-
Notifications
You must be signed in to change notification settings - Fork 11
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
"carlsim/kernel/inc/snn.h:1128:2: error: ‘StopWatchInterface’ does not name a type;" build error #18
Comments
I got the same error. I resolved it by making the following edits:
|
Followding the above steps,make again yields the following error: /usr/include/stdio.h(201): error: attribute "malloc" does not take arguments /usr/include/stdio.h(223): error: attribute "malloc" does not take arguments /usr/include/stdio.h(260): error: attribute "malloc" does not take arguments /usr/include/stdio.h(285): error: attribute "malloc" does not take arguments /usr/include/stdio.h(294): error: attribute "malloc" does not take arguments /usr/include/stdio.h(303): error: attribute "malloc" does not take arguments /usr/include/stdio.h(309): error: attribute "malloc" does not take arguments /usr/include/stdio.h(315): error: attribute "malloc" does not take arguments /usr/include/stdio.h(830): error: attribute "malloc" does not take arguments /usr/include/stdlib.h(566): error: attribute "malloc" does not take arguments /usr/include/stdlib.h(570): error: attribute "malloc" does not take arguments /usr/include/stdlib.h(799): error: attribute "malloc" does not take arguments /usr/include/wchar.h(155): error: attribute "malloc" does not take arguments /usr/include/wchar.h(582): error: attribute "malloc" does not take arguments carlsim/kernel/src/gpu_module/snn_gpu_module.cu(1583): warning: function "tex1Dfetch(texture<T, 1, cudaReadModeElementType>, int) [with T=int]" carlsim/kernel/src/gpu_module/snn_gpu_module.cu(1586): warning: function "tex1Dfetch(texture<T, 1, cudaReadModeElementType>, int) [with T=int]" carlsim/kernel/src/gpu_module/snn_gpu_module.cu(1606): warning: function "tex1Dfetch(texture<T, 1, cudaReadModeElementType>, int) [with T=int]" carlsim/kernel/src/gpu_module/snn_gpu_module.cu(1607): warning: function "tex1Dfetch(texture<T, 1, cudaReadModeElementType>, int) [with T=int]" 15 errors detected in the compilation of "carlsim/kernel/src/gpu_module/snn_gpu_module.cu". |
When doing
make
after cloning the repo, I get the following error:In file included from carlsim/kernel/src/snn_cpu_module.cpp:50:
carlsim/kernel/inc/snn.h:1128:2: error: ‘StopWatchInterface’ does not name a type; did you mean ‘UpdateInterval’?
StopWatchInterface* timer;
The text was updated successfully, but these errors were encountered: