Skip to content

Can't compile on latest version of Conan #29

Description

@MilkJug1

Describe the bug
On the newest version of Conan, version 2, Conan will refuse to build because of its depreciated support for the Makefile build system. Thus making the Install.md File obsolete.

Also, the OpenVR Conan recipe is also broken, due to all the new changes in Conan v.2. This is more of an issue with the main person behind the recipe to fix,

To Reproduce
Nuff said already, just try to build the project with a newer version of Conan

Screenshots
image

Please Read

Because of this, do not follow the instructions in the Install.md file, as they are currently outdated now, and will cause issues when trying to build. I will make note of this in the Install.md file here soon.

Additional context
As stated by their docs, support for the Makefile generator will be gone in one of the newer versions of Conan, meaning that we have to switch build systems. This can be averted by using an older version of Conan, but I'm not sure how that will work later in the future. So at the current moment, I am currently going to be working on a separate branch with a new build system that might work, Meson is already considered as one of them.

Currently:

  • Fix and switch to a new build system, Meson is considered to be one of these at the moment, but I'm not sure yet.
  • Restructure file structure to accommodate for new Conan version.

Note
conan v2 is doing some weird freaky stuff when installing the deps,
image
as shown here in an example CMake project that I was using to test out the new Conan features, This is going to be annoying in the future by the way.
At the current moment I may not stick with conan as a package manager for the project, something like vcpkg is being considered. As long as it has support for the meson build system, then I will consider it.

  • If the V2 of Conan proves to be too troublesome, switch to a new package manager.

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingMajor BugIn the event that this Bug needs fixing ASAP

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions