VIAME / VIAME

Video and Image Analytics for Multiple Environments
http://www.viametoolkit.org/
Other
276 stars 80 forks source link

Issues with Quick Build with cmake #163

Open Lee44a opened 1 year ago

Lee44a commented 1 year ago

Hello,

I am trying to build in VIAME using Git and CMake to enable a VIAME build with VIAME_ENABLE_SMQTK, YOLO, OPENCV, PYTORCH, VXL, and VIVIA. To ultimately run rapid model generation with VIAME.

My issue is with this line of code: cmake -DCMAKE_BUILD_TYPE:STRING=Release [source-directory] and keep getting errors

Here is my workflow: "C:\Program Files (x86)\CMake\bin" Realized CMake must be in a different location Got: The system cannot find the path specified "cmake path/to/sourcedir \ Got: '"cmake path/to/sourcedir \' is not recognized as an internal or external command, operable program or batch file. Realized perhaps didn’t download tool only source code with: $env:path += “;C:\Program Files\cmake\bin” (^^ didn’t run so must have forgot tool)

Redownloaded CMake Added a PATH for current user Installed into source-directory directly

Reran last line of code got new error: RegularExpression::compile(): Invalid range in []. RegularExpression::compile(): Error in compile. CMake Error: The source directory "C:/Users/19015/[source-directory]/[build-directory]/[source-directory]" does not exist. Specify --help for usage, or press the help button on the CMake GUI.

I am not sure what my next step should be, any advice is appreciated.