onnx / onnx-tensorrt

ONNX-TensorRT: TensorRT backend for ONNX
Apache License 2.0
2.86k stars 539 forks source link

CMake Error at CMakeLists.txt #757

Open tsthetruth opened 2 years ago

tsthetruth commented 2 years ago

Hi, I'm trying to install FAudio on my Mac running Catalina and it's advised me to use CMake via typing in console:

$ mkdir build/ $ cd build/ $ cmake ../ $ make

However, upon typing in cmake .. OR cmake . it responds with this error message:

CMake Error at CMakeLists.txt:13 (ADD_LIBRARY): Cannot find source file:

hist.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at CMakeLists.txt:13 (ADD_LIBRARY): No SOURCES given to target: newran

I'm pretty lost with this one, and have no experience using CMake. Any help would be appreciated.

System: 2020 13-inch MacBook Air Retina, running macOS Catalina Version 10.15.7

FAudio from: https://github.com/FNA-XNA/FAudio

kevinch-nv commented 2 years ago

This project currently does not support builds for Mac - not exactly sure where this hist.cpp source file is coming from but you will not be able to link against the TensorRT libraries.