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

v1.16.8 release does not compile because some includes are wrong #1525

Open
risa2000 opened this issue Feb 25, 2021 · 3 comments
Open

v1.16.8 release does not compile because some includes are wrong #1525

risa2000 opened this issue Feb 25, 2021 · 3 comments
Assignees

Comments

@risa2000
Copy link

I created a pull request to explain the problem #1524.

@JoeLudwig JoeLudwig self-assigned this Feb 25, 2021
@ArchangeGabriel
Copy link

I’ve got another issue with this release even after patching for this one:

/build/openvr/src/openvr-1.16.8/src/vrcommon/strtools_public.cpp: In function ‘std::string Format(const char*, ...)’:
/build/openvr/src/openvr-1.16.8/src/vrcommon/strtools_public.cpp:124:2: error: ‘va_start’ was not declared in this scope
  124 |  va_start( args, pchFormat );
      |  ^~~~~~~~
/build/openvr/src/openvr-1.16.8/src/vrcommon/strtools_public.cpp:126:2: error: ‘va_end’ was not declared in this scope
  126 |  va_end( args );
      |  ^~~~~~

Did you fix it too?

@ChristophHaag
Copy link

Are you on Linux/gcc/clang? Maybe msvc doesn't require it.

It's a simple missing include
https://aur.archlinux.org/cgit/aur.git/tree/0001-Add-include-stdarg.h-to-strtools_public.cpp.patch?h=openvr-git&id=7fc22be4d823ac8e9a01bdd2b6b5d10c7b762dbd

@ArchangeGabriel
Copy link

I’m actually building for Arch. ;p Thanks for the patch! :) Also now I’m wondering if there is a point in your openvr-git package since basically commits match releases here…

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

No branches or pull requests

4 participants