Skip to content

Does not work on Windows #9

@GEOEGII555

Description

@GEOEGII555

It compiles and installs like normal, but when I try to link the library with target_link_libraries(<executable> libvbox::vbox) it fails with these errors:

[cmake] CMake Error in CMakeLists.txt:
[cmake]   IMPORTED_IMPLIB not set for imported target "libvbox::vbox" configuration
[cmake]   "Debug".
[cmake] 
[cmake] 
[cmake] CMake Error in CMakeLists.txt:
[cmake]   IMPORTED_IMPLIB not set for imported target "libvbox::vbox" configuration
[cmake]   "Release".
[cmake] 
[cmake] 
[cmake] CMake Error in CMakeLists.txt:
[cmake]   IMPORTED_IMPLIB not set for imported target "libvbox::vbox" configuration
[cmake]   "MinSizeRel".
[cmake] 
[cmake] 
[cmake] CMake Error in CMakeLists.txt:
[cmake]   IMPORTED_IMPLIB not set for imported target "libvbox::vbox" configuration
[cmake]   "RelWithDebInfo".
[cmake] 
[cmake] 
[cmake] -- Generating done (0.1s)
[cmake] CMake Generate step failed.  Build files cannot be regenerated correctly.

I am using MSVC in Visual Studio Code, VirtualBox version 7.1.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions