Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2020 03:17:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244180] C/C++ projects do not work under vscode
Message-ID:  <bug-244180-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244180

            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@FreeBSD.org
          Reporter: bourne.identity@hotmail.com

On FreeBSD 12.1 amd64, I am trying to build a single-file C++ project in=20
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=20
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244180-7788>