Building CPU only on win10

42 views
Skip to first unread message

Pete Stratton

unread,
Apr 30, 2016, 10:12:16 AM4/30/16
to CARLsim: A GPU-accelerated Spiking Neural Network (SNN) Simulator
Sorry this is a newbie question. I have an i5 running windows 10 home
Version 10.0.10586 Build 10586
I've installed vis studio community 2015
Version 14.0.24720.00 Update 1

I've downloaded Carlsim and followed the installation instructions for cpu only mode
- loaded solution CARLsim.cpuonly
- set CPU_ONLY to 1 in user.mk
- set build to Release x64
When I try to build the solution I get 20 errors. All of them are either
- Cannot open include file: 'cuda.h': No such file or directory
- Cannot open include file: 'gtest/gtest.h': No such file or directory

Do I actually need both of these? I know I can download and install them, but it doesn't seem straightforward, eg this information for installing gtest with vis studio:
Despite the detailed instructions here, many comments say it still didn't work, other env vars might need to be set, and various other traps.

With no vis studio experience I'm not at all confident of being able to get this to work. Is it just a matter of persevering until you finally get there or is there an easy/obvious solution that I'm missing?

Thanks!
Pete

tingshuc

unread,
May 2, 2016, 2:50:36 PM5/2/16
to CARLsim: A GPU-accelerated Spiking Neural Network (SNN) Simulator
Hi Pete, Could you try out Debug/x64 first. This configuration should be fine. As for Release/x64, You can add __CPU_ONLY__ to preprocessor definitions. We'll update CARLsim.cpuonly.sln in the next release

Best, Ting

Pete Stratton

unread,
May 4, 2016, 8:37:58 AM5/4/16
to CARLsim: A GPU-accelerated Spiking Neural Network (SNN) Simulator
Thanks Ting, that fixed the cuda header problems. I still have 13 errors about gtest/gtest.h though. Do I need to install gtest, and if so are you able to point me to some helpful instructions somewhere?
Regards,
Pete

Reply all
Reply to author
Forward
0 new messages