View Single Post
  #4  
Old 02-16-2023, 09:58 AM
Farid M's Avatar
Farid M Farid M is offline
Avid
 
Join Date: Jan 2023
Location: Ukraine, Kyiv
Posts: 11
Default Re: Build errors on Windows: Conan

Hello.
I can suggest the next troubleshooting steps that can be performed in an attempt to fix any Conan issues:
  1. Clear conan cache at <usr>/.conan/data/ and try to rebuild. This step essentially deletes all of the PTSL dependencies that have been downloaded already to your local Conan cache.
  2. Update the Conan version in the Config/requirements.txt to the latest one. This should be done by replacing this file with a new one. All of the next steps should be done in the same folder. Step-by-step guide:
  • Rename the existing requirements.txt file to something else.
  • python -m venv .venv - create a virtual env to store new dependencies.
  • source .venv/bin/activate - to enter a venv.
  • pip install conan - install latest Conan from PyPi.
  • pip install cmake==3.25.0 - install cmake.
  • pip freeze > requirements.txt - to export new requirements.txt file.
Please, let us know if any of this helps!
Reply With Quote