Open asampal opened 7 years ago
I was planning to do that sometime soon, but I've been postponing it since I've been the only contributor for most of the project lifetime.
Here are some instructions to get you started:
git clone --recursive
or just run git submodule update --init
.The version of VS is 2015, no environment vars are necessary.
Also, I'd like to get rid of step 2 at some point, all we actually need is the function and structure definitions from the headers.
For now, I'm using a VS 2017 RC so I changed the Windows SDK configured in the projects to the version that installs with that. After pulling down the Oculus SDK I got things to compile up to the point of the missing Qt dependencies. What version is needed? Would the latest work or is there a specific reason to use an earlier one?
It's based on Qt5, so you need to install the latest version of Qt together with QT VS Tools (I'm not sure if there's a VS 2017 version yet)
There's also a Qt Creator project you can use instead of the Qt VS Tools, but it may not always be up-to-date since I'm moving away from Qt Creator. Also, you'll need to run windeployqt
manually right now to copy all the Qt dependencies to the binary directory. I'm in the process of adding that tool as an automatic build step.
I managed to build all projects finally. Needed Qt 5.7.1 for ReviveOverlay - 5.6.2 or 5.8.0 wouldn't work (5.6 was missing some functions and 5.8 was triggering some compiler errors (see this). Not sure if this error will go away when VS 2017 ships.
Note that there are 2 hardcoded paths to ReviveOverlay_resource.rc in reviveoverlay.vcxproj
and reviveoverlay.vcxproj.filters
.
Ah Qt 5.8 was released 3 days ago, so I haven't tested compilation with that version of Qt yet.
If you updated the build instructions, it would be easier for people to fork the project. Are the instructions above still relevant?
@wtesler The instructions are still relevant, all you need to do is replace the Oculus SDK with 1.18 instead (1.19 is not yet supported).
Building fails with any instructions found here with error code LNK1104 cannot open file 'glfw3.lib'
Revive currently uses GLFW in debug config to show its profiler. It's available in the External folder as a submodule, but you'll have to build it yourself.
Could some details on building be added to the project? e.g. version of VS, environment vars needed, and any pointers that might be useful.