Jump to content

Failure to compile against new release


photo

Recommended Posts

We link the Unigine lib into our own C++ application. The new release (21/07/2011, with UNIGINE_DOUBLE defined) fails to compile because it refers to Mat4. In fact, it uses both Mat4 and mat4 but only mat4 is defined. Since there are only a couple of cases where Mat4 is used, and there does not seem to be a pattern, would it seem that this is an error? If not, what should we do to get this to compile?

Link to comment

Hmmm. Thanks. I had already read through this, and I see that Mat4 can be used to mean either mat4 or dmat4 in script, but my problem is in C++.

In my situation I simply cannot compile, because Mat4 is not a type.

Link to comment

But the problem is not in our code. The problem is in UnigineObject.h. (Specifically, it is in ObjectMeshSkinned. You can even see the use of Mat4 in the documentation for this class.)

 

Does this compile for you?

Link to comment
×
×
  • Create New...