Comments (3)
Related to #3570
from vscode-cmake-tools.
@oursland I'm very sorry that I can't reproduce the problem you mentioned, I uninstalled cmake installed on my machine and running cmake: configure command gives me an error, when I reinstalled cmake without restarting vscode and ran cmake: configure command directly the cmake project can be configured successfully, can you give me some suggestions?
from vscode-cmake-tools.
Hi @v-frankwang:
The steps to reproduce this issue may be observed in the following video:
cmake-example.mp4
This is performed when using the FreeCAD repository with VSCode.
- Checkout FreeCAD:
git clone https://github.com/FreeCAD/FreeCAD.git
- Open FreeCAD in VSCode.
- In a terminal, copy the
contrib/.vscode/
directory to the repo root directory:cp -a contrib/.vscode/ .
- The
CMakePresets.json
define the location of thecmake
executable asconda/cmake.sh
, which specifies thecmake
binary within the to-be-installed conda environment. An error will be presented because this environment does not exist. - Run
conda/setup-environment.sh
to install the packages, includingcmake
. - Configure the CMake Configure Preset for
Conda Debug
orConda Release
. - Run
CMake: Configure
. - The error will again be presented as it does not pick up the now working
cmake
binary.
from vscode-cmake-tools.
Related Issues (20)
- Project Outline Does Not Show included cmake files HOT 1
- Custom visualStudio kit PATH setting is ineffective HOT 2
- When a compiler is upgraded, the older version of the compiler is not removed from the toolkit list. HOT 1
- usepresets context is not set after manually creating a cmakepresets.json HOT 3
- The CMake: Select a kit command does not work the first time you click on it.
- The code in the main.cpp file generated using CMake: Quick start is C code HOT 1
- [Loc] "should NOT have additional properties" not localized
- [Loc]Setting's description not localized for "cmake.ctest.testSuiteDelimiter" HOT 1
- [Loc]"Override settings applied" not localized
- Incorrect description for CMake setting's option " cmake.deleteBuildDirOnCleanConfigure"
- macros for penv/env not expanded when cache variables for cmake(c/cxx)compilers are included in configure preset HOT 1
- CMake configure preset installDir setting is evaluated relative to the binary directory instead of the source directory HOT 6
- [Loc] Property’s tooltip info in file "CMakePresets.json" is not localized
- [Flaky]Duplicate information appeared in output when Add CMakePreset.json
- copyCompileCommands to the original path still leaves a corrupted CDB on Windows HOT 2
- "CMake: build" is repeated twice in the list
- in vscode, How to use v141 toolset in VS2022 with cmake HOT 6
- Double-clicking on one of a target's "References" does nothing HOT 4
- Project outline does not show sources of custom targets with commands HOT 5
- Failure to ask the user to select a kit due to erroneously not finding CMakeLists.txt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-cmake-tools.