Wrong Vector/Matrix values in XCode
-
On 02/04/2018 at 12:10, xxxxxxxx wrote:
Hi Ricardo.
I'm with XCode 9 and on Sierra 10.12.6
I just noticed it only happens on an external build target, compiled using makefiles.
-
On 03/04/2018 at 07:05, xxxxxxxx wrote:
Hi rsodre, thanks for following up.
Could you please confirm that it does NOT happen with the traditional building tool chain? It's pretty likely that your makefile isn't doing any pre-compile steps to extend and enable the debugging of Cinema types in Xcode.
Best, Riccardo
-
On 03/04/2018 at 11:26, xxxxxxxx wrote:
Hi Ricardo.
Ok, I did a proper test with both projects. A new clean one, based on the R19 sdk example, and the other that I compile with a makefile.
Both produced the exact same result: values are fine for Vector64, but zeroes for Vector32.
Code:
Vector32 v32(1,2,3); Vector64 v64(4,5,6); Matrix32 m32( Vector32(1,2,3), Vector32(11,22,33), Vector32(111,222,333), Vector32(1131,2232,3333) ); Matrix64 m64( Vector64(10,20,30), Vector64(110,220,330), Vector64(1110,2220,3330), Vector64(11310,22320,33330) );
What I see with a breakpoint:
_<_img src="http://sigilo.art.br/code/images/c4d_xcode_vector32.png" height="435" width="727" border="0" /_>_
-
On 17/04/2018 at 00:58, xxxxxxxx wrote:
Hi rsodre, sorry for getting late here. Could you please share your sample projects?
Best, Riccardo