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

make error #1

Open
WhuEven opened this issue Jun 23, 2020 · 0 comments
Open

make error #1

WhuEven opened this issue Jun 23, 2020 · 0 comments

Comments

@WhuEven
Copy link

WhuEven commented Jun 23, 2020

Scanning dependencies of target example-app
[ 50%] Building CXX object CMakeFiles/example-app.dir/example-app.cpp.o
/dockerdata/evenhnzhu/libtorch/example-app.cpp: In function 'int main(int, const char**)':/dockerdata/evenhnzhu/libtorch/example-app.cpp:13:72: error: conversion from 'torch::jit::script::Module' to non-scalar type 'std::shared_ptrtorch::jit::script::Module' requested std::shared_ptrtorch::jit::script::Module module = torch::jit::load(argv[1]); ^make[2]: *** [CMakeFiles/example-app.dir/build.make:63: CMakeFiles/example-app.dir/example-app.cpp.o] Error 1make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/example-app.dir/all] Error 2
make: *** [Makefile:84: 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