-
Notifications
You must be signed in to change notification settings - Fork 85
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
error: #error qmetatype.h must be included before any header file that defines Bool #57
Comments
I haven't tested on anything other than windows for a while. I'll do a On Mon, Jan 5, 2015 at 1:01 PM, Ákos Maróy [email protected] wrote:
|
thanks for looking. I had to make additional changes to make it compile on Linux (Ubuntu 14.10), please see my git diff pasted here (let me know if you need it in another form):
|
after compiling with the above differences, I can run examples 2.1 and 2.2 fine (the tracker is found), but none of the examples that would want to display something work :( I wonder how one should debug this. the 'official' oculus config app & the sample inside the config app work fine. |
an additional thing that is needed for compilation on Linux is to:
I'm not sure where to put this. I've put this into Config.h, but that seems to get re-generated |
You can put it into Common.h or Platform.h. Common.h actually has most of On Mon, Jan 5, 2015 at 3:58 PM, Ákos Maróy [email protected] wrote:
|
I've applied most of the changes, or at least variations on them to get the build compiling on my Linux system. See the other issue you opened for status. Please re-open if this doesn't resolve the issues for you. |
I'd like to re-open this one (I'm not finding a way on how). after #58 is solved, I'm testing this on the jherico fork. I'm getting the same error as before, using Qt 5.4:
and then a zillion more errors |
I've reproduced this on 12.04. It seems Qt is pretty finicky about other library headers. Initial attempts at reordering the headers hasn't produced great results yet, but I'm still investigating. |
I've made some changes (in my fork) to get the compilation working on Linux. The library seems to compile fine now, although the shadertoy example (the only thing actually using Qt at the moment) is still failing to compile. I'll keep working on it to try to determine the problem. |
Hi,
I'm trying to compile the code on ubuntu 14.10 with Qt 5.4 using Ninja, and I get the following:
and then a bunch of similar errors. I wonder what I'm doing wrong :(
Akos
The text was updated successfully, but these errors were encountered: