Vscode-cmake-tools: Stuck detecting build env with v0.8

Created on 17 Nov 2016  路  12Comments  路  Source: microsoft/vscode-cmake-tools

With the new version 0.8.0 the detection of build env is stuck (see picture).
This blocks all further CMake steps

grafik

I'm using
CentOS 7.2
GCC 4.8
CMake 2.8.11

IMPORTANT bug

Most helpful comment

I restarted VSCode and removed all files from the build directory.

All 12 comments

The same situation here, I'm using:
Ubuntu 16.10
GCC 6.2.0
CMake 3.5.2

is there there some log file I can provide to you?

Shows "Detecting available build environments..." always.
Targets are working after cleaning build directory.

OSX 10.11.6
Clang 3.9
CMake 3.5.2

@magpier84 What did you do to make it working?

I restarted VSCode and removed all files from the build directory.

@magpier84 OK, the restart did the trick.

Deleting build directory and restarting also worked for me. Comment in Readme would probably be helpful

Argh!! I didn't test on my Linux box and it's now happening to me as well!

It's not limited to only Linux, happens on macOS as well.
But as @magpier84 mentioned, the build dir delete and vscode restart unfreazes the extension

Bah... This is unacceptable and doesn't even seem to be working on my other machines. Somehow it worked well without a hitch on my dev box... I'll have to roll this back ASAP. Unfortunately, I'm away from home and can't get to it for a few hours...

I have same problem with every restart. I have to I removed all files from the build with every restart!
I am using windows and crosscompiling:
image

I get the same error:
https://imgur.com/GlWIpn6

$ clang --version
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin16.1.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

 $ cmake --version
cmake version 3.7.0

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.12.1
BuildVersion:   16B2555

There! Should now be fixed!

Fixed in 0.8.1.

Thanks for the extremely fast response time!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

svenevs picture svenevs  路  5Comments

OleksandrKvl picture OleksandrKvl  路  3Comments

gabyx picture gabyx  路  5Comments

mingliangfu picture mingliangfu  路  4Comments

amigo421 picture amigo421  路  3Comments