Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows Error]:'ERROR: 'settings.compiler' value not defined'! #695

Open
xiaye2401 opened this issue May 18, 2024 · 1 comment
Open

[Windows Error]:'ERROR: 'settings.compiler' value not defined'! #695

xiaye2401 opened this issue May 18, 2024 · 1 comment

Comments

@xiaye2401
Copy link

Describe the bug
A clear and conciseI am using a laptop with Windows 11 system, and I have made sure that I have installed all dependencies. However, I encountered the following error when using "Anaconda Powershell Prompt":

python conanfile.py
Updating pip:
python -m pip install --upgrade pip
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: pip in d:\option\basilisk\basilisk-develop\.venv\lib\site-packages (24.0)
Checking conan configuration: Done
Auto-Generating Draft Modules...  Done
Running this conan command:
python -m conans.conan install . --build=missing -s build_type=Release -if dist3/conan -o opNav=False -o vizInterface=True -o buildProject=True
WARN: *** Conan 1 is legacy and on a deprecation path ***
WARN: *** Please upgrade to Conan 2 ***
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
os=Windows
os_build=Windows
[options]
buildProject=True
opNav=False
vizInterface=True
[build_requires]
[env]

Updating pip:
python -m pip install --upgrade pip
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: pip in d:\option\basilisk\basilisk-develop\.venv\lib\site-packages (24.0)
Checking conan configuration: Done
cmake generator set to: Visual Studio 16 2019
ERROR: Basilisk/2.3.10: 'settings.compiler' value not defined
Running cmake:
python -m conans.conan build . -if dist3/conan
WARN: *** Conan 1 is legacy and on a deprecation path ***
WARN: *** Please upgrade to Conan 2 ***
Updating pip:
python -m pip install --upgrade pip
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: pip in d:\option\basilisk\basilisk-develop\.venv\lib\site-packages (24.0)
Checking conan configuration: Done
cmake generator set to: Visual Studio 16 2019
ERROR: 'settings.compiler' value not defined

I also tried downloading other versions of Basilisk, such as version 2.2.0, but I still encountered the same error.
Here are versions for prerequisite system packages:

cmake version 3.29.3
Python 3.9.13
swig 4.2.1

And here are versions for prerequisite python packages:

Name: pandas
Version: 1.4.4
Name: numpy
Version: 1.21.5
Name: matplotlib
Version: 3.5.2
Name: pytest
Version: 7.1.2
Name: Pillow
Version: 9.2.0
Name: conan
Version: 1.64.1
Name: parse
Version: 1.6.0
Name: cmake
Version: 3.27.0

Please help me ,Thanks! description of what the bug is.

To reproduce
Steps to reproduce the behavior:

  1. Add module '...'
  2. Simulate with the configuration '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots/plots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. Macos]
  • Version [e.g. 12.6.1]
  • Python version [e.g. 3.9.15]

Additional context
Add any other context about the problem or potential solution paths here.

@Mark2000
Copy link
Contributor

I have not had success with Python 3.9 on some recent versions of Basilisk. Perhaps try with 3.10 or newer. Also try downgrading Conan to 1.59.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants