-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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