Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed includes and asserts in v1.6.18 release. #1524

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

risa2000
Copy link

It seems some internal include structure leaked through. The fix:

  1. replaces the "system relative" includes of type <#include ...> with project relative includes (of type "#include ..." and fixes the path.
  2. comments out the assert macro for which the header is missing.

@JoeLudwig
Copy link
Contributor

Thanks for this. I won't be able to take the MR because the authoritative upstream repo is Perforce, but I can apply the same fixes there.

@HadetTheUndying
Copy link

Hey so I'm still getting some build errors with this PR. I'm just trying to build to compile some other projects and this has been a headache and a half.

/home/hadet/projects/openvr/src/vrcommon/strtools_public.cpp:124:2: error: 'va_start' was not declared in this scope
  124 |  va_start( args, pchFormat );
      |  ^~~~~~~~
/home/hadet/projects/openvr/src/vrcommon/strtools_public.cpp:126:2: error: 'va_end' was not declared in this scope
  126 |  va_end( args );
      |  ^~~~~~
make[2]: *** [src/CMakeFiles/openvr_api.dir/build.make:186: src/CMakeFiles/openvr_api.dir/vrcommon/strtools_public.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:113: src/CMakeFiles/openvr_api.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

@okawo80085
Copy link

Same comments as in #1558

@okawo80085
Copy link

okawo80085 commented Aug 27, 2021

Also @JoeLudwig its been more then 6 months now, is it that hard to push the patched branch to Github? ValveSoftware:master still has a broken build!

@danwillm
Copy link

Seems like this is still an issue after the latest update today - is it possible to get a fix for it? Thanks!

@risa2000
Copy link
Author

@danwillm Hmm, I can see now that after a year my pull request accumulated some other patches. I guess I should reset it back to the original patch.

@HadetTheUndying
Copy link

It's really frustrating that Valve will not turn this into the official repo for this. Having to fetch this remote to fix the build process every time I set up my dev environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants