-
Hey folks, I'm following Phil Peron's example here and am trying to include "bx/math.h". At some point this file includes salieri.h, which includes sal.h. However, sal.h also includes salieri.h (but aside from that is completely empty.) For some reason, commenting either #include out to remove the circular dependency - results in a copious amount of errors popping up, as does adding a "#pragma once" at the top of sal.h. Any ideas on how to resolve this? I did some searching and the only reference I could find to this issue was #bkaradzic/bx#50, in which two other users ran into the same problem. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For future reference, I overcame this by mimicking the way that the examples/demos set up their includes and include directories in the options for the VS solutions. This removed the need to directly include "bx/math.h" while still allowing me to use types like Vec3. |
Beta Was this translation helpful? Give feedback.
For future reference, I overcame this by mimicking the way that the examples/demos set up their includes and include directories in the options for the VS solutions. This removed the need to directly include "bx/math.h" while still allowing me to use types like Vec3.