A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by pHySiQuE » Tue Jan 22, 2013 2:13 am
I updated to the latest code in the repo, and get these errors:
- Code: Select all
1>newtondynamics\classes\newtondynamicsjoint.cpp(68): error C3861: 'CreateCustomHinge': identifier not found
1>newtondynamics\classes\newtondynamicsjoint.cpp(72): error C3861: 'HingeEnableLimits': identifier not found
1>newtondynamics\classes\newtondynamicsjoint.cpp(73): error C3861: 'HingeSetLimits': identifier not found
1>newtondynamics\classes\newtondynamicsjoint.cpp(77): error C3861: 'HingeEnableLimits': identifier not found
1>newtondynamics\classes\newtondynamicsjoint.cpp(89): error C3861: 'CreateCustomSlider': identifier not found
1>newtondynamics\classes\newtondynamicsjoint.cpp(93): error C3861: 'SliderEnableLimits': identifier not found
1>newtondynamics\classes\newtondynamicsjoint.cpp(94): error C3861: 'SliderSetLimits': identifier not found
1>newtondynamics\classes\newtondynamicsjoint.cpp(98): error C3861: 'SliderEnableLimits': identifier not found
Has the API changed? I can't find a creation function for custom hinges anywhere, for instance.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by pHySiQuE » Tue Jan 22, 2013 3:23 am
I looked in the repository notes and it said the DLL interface was removed. I changed my commands to call the direct C++ class functions and it compiles again.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by Julio Jerez » Tue Jan 22, 2013 7:27 am
yes tmperarylly I commnet teh c inteface.
Using the c++ interface you can have more flexibility, because you can subcall joint and do more cool stuff with them
later with I complete the Netwon Script I will make and automatic translator that script that will make all of the c Interface automatically.
Thsi will make a separate DLL the will incluse teh Newton core along with all teh funtionality of the joint library into a single DLL.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by pHySiQuE » Tue Jan 22, 2013 4:05 pm
Julio Jerez wrote:yes tmperarylly I commnet teh c inteface.
Using the c++ interface you can have more flexibility, because you can subcall joint and do more cool stuff with them
later with I complete the Netwon Script I will make and automatic translator that script that will make all of the c Interface automatically.
Thsi will make a separate DLL the will incluse teh Newton core along with all teh funtionality of the joint library into a single DLL.
You know Lua with ToLua++ can access an object-oriented C++ API? I have done a lot of work with Lua and know it pretty completely, if you want any info.
-
pHySiQuE
-
- Posts: 608
- Joined: Fri Sep 02, 2011 9:54 pm
by Julio Jerez » Wed Jan 23, 2013 8:19 am
I know lua is very coll and very popupal. However I am going for somethingmore formal.
The newton script is model after Java and will be 100% compatible with java.
The reason for Java sitanx si because jave is popular, come with buil in for extranal language interface, an dpeopl are familiar with
but is will bo stop there, netwon Sctip is a high performance optimizing compiler, and will be use for more than just script,
I am big pals for newton script than I will no mention now becasue they are far in the future.
At one proint I try integation Lua, but afte a while and could not pass tha fact that Lua is no a strong type langugae, plus is not an object orientd lahagare.
I also try Phyton and gave bacsue Phyton si too pwefull for it s own good.
The secund point is that Netwon script will use ne Java stile of programming, but Newton script is in realuty an intemediate high level funtional language.
Basically any language that satsfy that condition can be compulet to Newton Intemadiate language and compile as script
Lua, Phyton, Objective C and to some extened C Sharp, are funtional language that can be piled to newton script.
After that I have a working model of Netwon Script, I can also make a Lua Netwon Script flavor that for people who prefer Lua.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 3 guests