bernoulli.cpp(46): error C2653: 'Reduction': is not a class o r namespace name...
JesperLindberg opened this issue · 0 comments
JesperLindberg commented
Using windows with VS 15 2017, using the commands in the readme. When I build with cmake I get errors on the bernoulli.cpp.
C:\Users\jespe\Documents\pytorch-cpp-rl\src\distributions\bernoulli.cpp(46): error C2653: 'Reduction': is not a class o
r namespace name [C:\Users\jespe\Documents\pytorch-cpp-rl\build\cpprl.vcxproj]
C:\Users\jespe\Documents\pytorch-cpp-rl\src\distributions\bernoulli.cpp(46): error C2065: 'None': undeclared identifier
[C:\Users\jespe\Documents\pytorch-cpp-rl\build\cpprl.vcxproj]
C:\Users\jespe\Documents\pytorch-cpp-rl\src\distributions\bernoulli.cpp(52): error C2653: 'Reduction': is not a class o
r namespace name [C:\Users\jespe\Documents\pytorch-cpp-rl\build\cpprl.vcxproj]
C:\Users\jespe\Documents\pytorch-cpp-rl\src\distributions\bernoulli.cpp(52): error C2065: 'None': undeclared identifier
[C:\Users\jespe\Documents\pytorch-cpp-rl\build\cpprl.vcxproj]