Skip to content
This repository was archived by the owner on May 3, 2021. It is now read-only.
This repository was archived by the owner on May 3, 2021. It is now read-only.

Beware vcpkg (archived discussion) #13

@m-7761

Description

@m-7761

Original title: 3 probs: libusb in InitialSetup_X bat; ServerLog.h prevent Cmake config. SDL2/libusb require manual building

Libusb spits out erros like the following via the InitialSetup scripts. The thirdparty\libusb\msvc\libusb_2015.sln project is not plagued by this. I don't understand what the problem is. It's like it thinks there is more than one definition file:

libusb-1.0.lib(core.obj) : error LNK2005: libusb_get_version already defined in libusb-1.0.lib(libusb-1.0.dll)

I think that just looks bad. FYI libusb has a strerror.c file that causes nightmares for people with multibyte locales. Maybe a wiki should mention it.

Unrelated: The CMake script appears to not locate thirdparty\SDL2. But really it just has to be built. I think -DHAVE_LIBC may have prevented it from building. I had to remove it due to 3 errors to get the current SDL2 code to build.

Lastly Cmake won't finish configuring because "src\psvrservice\Service\ServerLog.h" is missing it says. I added a blank file.

I don't know if https://github.com/HipsterSloth/PSVRTracker/wiki/Building-from-source has instructions for libusb and sdl because they are difficult or what, but it came in handy in my case.

Luckily Visual Studio seemed to download/setup OpenCV. Which was pretty cool. I didn't realize it was missing up to that stage. Some output lines suggest it used Vcpkg for that purpose:

3> VcpkgTripletSelection:
3> Using triplet "x64-windows" from "C:\vcpkg\installed\x64-windows\"

(OpenCV seems unnecessarily large. Maybe it's all necessary. I'm skeptical.)

I want to be of help. I hope I can be. Or at least, I hope I can get tracking working very well. And I hope I don't get in the way.

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