Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

bernoulli.cpp(46): error C2653: 'Reduction': is not a class o r namespace name... #23

@JesperLindberg

Description

@JesperLindberg

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions