MilkJug1 / OculusLinkLinux

OLL(WIP) is a open-source project that aims to allow the Oculus Quest(both 1 & 2) work on Linux wired.
GNU General Public License v2.0
125 stars 2 forks source link

Can't compile on latest version of Conan #29

Open MilkJug1 opened 1 year ago

MilkJug1 commented 1 year ago

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:

MilkJug1 commented 1 year ago

Upon further research, Makefile support might actually be brought back, based on this issue that talks about makefiles, as not only have there been forks trying to reimplement it back, they are still trying to figure out how to bring it back with the newest revision. So maybe its coming back?

There is also a current pull request that is still being worked on that has the current progress of the Makefile generator, maybe if it goes through fully, we won't have to switch. Follow it here, Conan 2.0 Makefile Generator Progress

uilianries commented 1 year ago

@MilkJug1 For OpenVR recipe you should open an issue to ConanCenterIndex, asking to update it to be supported by Conan v2 (https://github.com/conan-io/conan-center-index/issues/). There is huge effort right now in CCI to update recipes there.

About the Make generator, there is a on going PR with a new support here: https://github.com/conan-io/conan/pull/14133, but the legacy make generator will not come back due its limitations and effort needed for maintenance.

MilkJug1 commented 1 year ago

@uilianries I will make a issue in CCI for the OpenVR recipe soon, so thank you for telling me that. Also thank you for letting me know about the pr for conan that is going to be adding the MakeDeps generator.

Dustinasaurus commented 2 weeks ago

I might be doing something wrong or something is weird about my computer but whenever I try to build it gives me an error. It gives me this graph.

Call me dumb but If someone can help please do.