hi.
i just updated my local version of the trunk project, and when i try to build, i get the following errors, both in OOTriangle.m:
error: redefinition of 'calculateNormalForTriangle'
and
error: redefinition of 'resolveVectorInIJK'
is there anything i can do about that or should i wait for the next update?
errors in OOTriangle.m
Moderators: winston, another_commander
errors in OOTriangle.m
MacBook pro, OSX 10.8.5, Xcode 5
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
OOTriangle.m was removed from the distro, the makefile and the Xcode project in r3256. It may be that your local Xcode project has changes that were merged incorrectly last time you updated. Two solutions:
- Delete the Xcode project and update again
- Manually remove OOTriangle.m from the project (it was in Source->Mathematics)
E-mail: [email protected]
i tried the second approach. that got me more errors. first
error: OOTriangle.h: No such file or directory
in this line:
#include "OOTriangle.h"
in OOMath.h, so I turned that line into a comment which gave me this error:
error: expected ')' before 'Triangle'
in this line:
- (Triangle) absoluteIJKForSubentity;
in shipEntity.h.
looks like i have to check the whole thing out again. argh.
error: OOTriangle.h: No such file or directory
in this line:
#include "OOTriangle.h"
in OOMath.h, so I turned that line into a comment which gave me this error:
error: expected ')' before 'Triangle'
in this line:
- (Triangle) absoluteIJKForSubentity;
in shipEntity.h.
looks like i have to check the whole thing out again. argh.
MacBook pro, OSX 10.8.5, Xcode 5