Log in or register to post comments

Xcode 9 comiplation problem

September 27, 2017 - 1:22am #1

Hi,

 

I updated to Xcode 9, and I have a compilation problem calling SahderUtils::multplyMatrix

ShaderUtils::multiplyMatrix(&qUtils.projectionMatrix.data[0],   <<<<<< error Cannot take the address of an rvalue of type 'float'

                                    &modelViewMatrixVideo.data[0] ,

                                    &modelViewProjectionVideo.data[0]);

I don't really know how to solve this, any help appreciated.

 

Is this a valid approach to fix it ?

Vuforia::Matrix44F tmpM=qUtils.projectionMatrix;

ShaderUtils::multiplyMatrix(&tmpM.data[0], //qUtils.projectionMatrix.data[0],

                                    &modelViewMatrixVideo.data[0] ,

                                    &modelViewProjectionVideo.data[0]);

 

Thank you.

Log in or register to post comments