Category : windows-subsystem-for-linux

I’m coding a simple project with Java Script using WSL2. I’ve started learning programming just three months ago and I still don’t know exactly how to manage my system files from a terminal, so when VS Code showed me the "This workspace is on the Windows file system (/mnt/). For the best performance, we recommend ..

Read more

I am trying to debug a c++ file on wsl in vscode, the debugger is gdb. Here is my launch.json: { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "(gdb) Launch", "type": "cppdbg", "request": "launch", ..

Read more

Here is my CMakelists.txt: cmake_minimum_required(VERSION 3.0) SET(CMAKE_TOOLCHAIN_FILE "/home/xxx/vcpkg/scripts/buildsystems/vcpkg.cmake") project(test) find_package(unofficial-sqlite3 CONFIG REQUIRED) add_executable(main main.cpp) target_link_libraries(main PRIVATE unofficial::sqlite3::sqlite3) I’m trying to use vcpkg through SET(CMAKE_TOOLCHAIN_FILE ${vcpkg_root}),but it seems that it doesn’t work.Here is the error: [cmake] CMake Error at CMakeLists.txt:5 (find_package): [cmake] Could not find a package configuration file provided by [cmake] "unofficial-sqlite3" with any of ..

Read more