[Bug 244180] C/C++ projects do not work under vscode
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 17 03:17:39 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244180
Bug ID: 244180
Summary: C/C++ projects do not work under vscode
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: bourne.identity at hotmail.com
On FreeBSD 12.1 amd64, I am trying to build a single-file C++ project in
VSCode using cmake. My VSCode has 3 extensions installed:
1) C/C++
2) CMake
3) CMake Tools
My CMakeLists.txt is as under:
<<
cmake_minimum_required (VERSION 3.0)
project(chkascii)
set(SOURCE chkascii.cc)
add_executable(${PROJECT_NAME} ${SOURCE})
>>
Running cmake::configure in the VSCode command palette gives me:
<<
[rollbar] Unhandled exception: Unhandled Promise rejection: Update code
model for cpptools TypeError: Cannot read property 'getApi' of undefined {}
>>
Further, IntelliSense does not work in my VSCode C++ project under FreeBSD.
Everything works fine when I use and build the project under Linux.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list