![]() |
| I kept getting 17 errors when I was compiling the engine. :( |
![]() |
| Uable to start program because the system cannot find the .exe file. |
The other thing that I have done this week is the robot arm homework question:
While we were doing question 3, we needed to include a box generator header file to completed it.
#include "ProceduralBoxGenerator.h"
However, you probably will get some errors if just including the header file. What we can do to solve this is very similar to the solar system question as I talked about in the previous blog post. The difference between them is just changing VS2008 to VS2010 format.
Go to the project properties and add the following stuff:
C/C++ -> Preprocessor add:
PROCEDURAL_STATIC_BUILD
Linker -> General -> Additional Library Directories add:
$(TwoLoc_PATH)\lib\VS2010\$(Configuration)\$(Platform)\OgreProcedural
Linker -> Input -> Additional Dependencies add:
OgreProcedural_$(ConfigurationName).lib
After adding the above items, the project runs perfectly fine. In this question, what we were supposed to do are very similar to the solar system too except for the planet's orbit. For the robot arm we just need to nodes: a rotation node and a translation node for each part of the arm rather than the planets' three nodes(orbit, rotation, translation). The whole thing is about parenting the nodes to the right places.
While we were doing question 3, we needed to include a box generator header file to completed it.
#include "ProceduralBoxGenerator.h"
However, you probably will get some errors if just including the header file. What we can do to solve this is very similar to the solar system question as I talked about in the previous blog post. The difference between them is just changing VS2008 to VS2010 format.
Go to the project properties and add the following stuff:
C/C++ -> Preprocessor add:
PROCEDURAL_STATIC_BUILD
Linker -> General -> Additional Library Directories add:
$(TwoLoc_PATH)\lib\VS2010\$(Configuration)\$(Platform)\OgreProcedural
Linker -> Input -> Additional Dependencies add:
OgreProcedural_$(ConfigurationName).lib
After adding the above items, the project runs perfectly fine. In this question, what we were supposed to do are very similar to the solar system too except for the planet's orbit. For the robot arm we just need to nodes: a rotation node and a translation node for each part of the arm rather than the planets' three nodes(orbit, rotation, translation). The whole thing is about parenting the nodes to the right places.
![]() |
| Scene graph for my robot arm |
![]() |
| Robot arm that I did. |






No comments:
Post a Comment