google / usd_from_gltf

Apache License 2.0
547 stars 85 forks source link

DRACO: ERROR: [WinError 2] The system cannot find the file specified #92

Open optimus007 opened 2 years ago

optimus007 commented 2 years ago

First time user , i'm getting this error message after downloading draco

i'm on windows , nasm installed , python and pillow installed usd downloaded , and patch applied

i can see the draco zip

python D:\softwares\usdz\usd_from_gltf-master/tools/ufginstall/ufginstall.py D:\softwares\usdz\usd_from_gltf-master\ D:\softwares\usdz\usd\ --testdata
Install Settings:
  Source Directory:   D:\softwares\usdz\usd_from_gltf-master
  Install Directory:  D:\softwares\usdz\usd_from_gltf-master
  USD Directory:      D:\softwares\usdz\usd
  Download Directory: D:\softwares\usdz\usd_from_gltf-master\src
  Build Directory:    D:\softwares\usdz\usd_from_gltf-master\build
  Build Config:       Release
  CMake Generator:    Default
  Already Installed:  <none>
  Installing:         DRACO, GIF, JPG, JSON, ZLIB, PNG, STB_IMAGE, TCLAP, TESTDATA_SAMPLES, TESTDATA_REFERENCE, USD_FROM_GLTF

-------- Installing DRACO --------
  DRACO: File already exists, skipping download: D:\softwares\usdz\usd_from_gltf-master\src\draco.zip
  DRACO: Unpacking to: D:\softwares\usdz\usd_from_gltf-master\src\draco-1.3.5
  DRACO: CWD: D:\softwares\usdz\usd_from_gltf-master\build\draco-1.3.5
  DRACO: Run: cmake D:\softwares\usdz\usd_from_gltf-master\src\draco-1.3.5 -DCMAKE_INSTALL_PREFIX=D:\softwares\usdz\usd_from_gltf-master -DCMAKE_PREFIX_PATH=D:\softwares\usdz\usd_from_gltf-master -DCMAKE_POSITION_INDEPENDENT_CODE=1 -DCMAKE_GENERATOR_PLATFORM=x64
  DRACO: ERROR: [WinError 2] The system cannot find the file specified
(virtualENV) PS D:\softwares\usdz\usd_from_gltf-master\tools\ufginstall>
RichardFrangenberg commented 2 years ago

This error means that cmake couldn't be found in your path. You can download and add cmake to your path or you can use "x64 Native Tools Command Prompt for VS 2017" to build ufg, which has cmake already included.