Downloaded the latest Svn and cannot create a nGene.Lib file. I am able to generate an nGene.Dll file. Which Visual C++ *.Sin project compiles everything along with creating a nGene.Lib file?
On: 1254511555|%e %b %Y, %H:%M %Z|agohover
Number of posts: 12
RSS: New posts
Hi,
you should compile ngene proj and ngene framework projects. The latter will produce nGENE.lib. Are you getting any errors?
I tried it again and got these errors. There were more but hopefully fixing this will fix everything else.
c:\develop\ngene\ngene proj\Joint.h(123) : warning C4512: 'nGENE::Joint' : assignment operator could not be generated
c:\develop\ngene\ngene proj\Joint.h(77) : see declaration of 'nGENE::Joint'
c:\develop\ngene\ngene proj\JointSphere.h(65) : warning C4512: 'nGENE::JointSphere' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointSphere.h(50) : see declaration of 'nGENE::JointSphere'
c:\develop\ngene\ngene proj\JointCylinder.h(44) : warning C4512: 'nGENE::JointCylinder' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointCylinder.h(29) : see declaration of 'nGENE::JointCylinder'
c:\develop\ngene\ngene proj\JointDistance.h(75) : warning C4512: 'nGENE::JointDistance' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointDistance.h(60) : see declaration of 'nGENE::JointDistance'
c:\develop\ngene\ngene proj\JointFixed.h(45) : warning C4512: 'nGENE::JointFixed' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointFixed.h(30) : see declaration of 'nGENE::JointFixed'
c:\develop\ngene\ngene proj\JointHinge.h(68) : warning C4512: 'nGENE::JointHinge' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointHinge.h(27) : see declaration of 'nGENE::JointHinge'
c:\develop\ngene\ngene proj\JointPointInPlane.h(47) : warning C4512: 'nGENE::JointPointInPlane' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointInPlane.h(32) : see declaration of 'nGENE::JointPointInPlane'
c:\develop\ngene\ngene proj\JointPointOnLine.h(47) : warning C4512: 'nGENE::JointPointOnLine' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointOnLine.h(32) : see declaration of 'nGENE::JointPointOnLine'
c:\develop\ngene\ngene proj\JointPrism.h(45) : warning C4512: 'nGENE::JointPrism' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPrism.h(30) : see declaration of 'nGENE::JointPrism'
c:\develop\ngene\ngene proj\JointPulley.h(87) : warning C4512: 'nGENE::JointPulley' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPulley.h(60) : see declaration of 'nGENE::JointPulley'
JointPulley.cpp
c:\develop\ngene\ngene proj\Joint.h(123) : warning C4512: 'nGENE::Joint' : assignment operator could not be generated
c:\develop\ngene\ngene proj\Joint.h(77) : see declaration of 'nGENE::Joint'
c:\develop\ngene\ngene proj\JointPulley.h(87) : warning C4512: 'nGENE::JointPulley' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPulley.h(60) : see declaration of 'nGENE::JointPulley'
c:\develop\ngene\ngene proj\JointCylinder.h(44) : warning C4512: 'nGENE::JointCylinder' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointCylinder.h(29) : see declaration of 'nGENE::JointCylinder'
c:\develop\ngene\ngene proj\JointDistance.h(75) : warning C4512: 'nGENE::JointDistance' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointDistance.h(60) : see declaration of 'nGENE::JointDistance'
c:\develop\ngene\ngene proj\JointFixed.h(45) : warning C4512: 'nGENE::JointFixed' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointFixed.h(30) : see declaration of 'nGENE::JointFixed'
c:\develop\ngene\ngene proj\JointHinge.h(68) : warning C4512: 'nGENE::JointHinge' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointHinge.h(27) : see declaration of 'nGENE::JointHinge'
c:\develop\ngene\ngene proj\JointPointInPlane.h(47) : warning C4512: 'nGENE::JointPointInPlane' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointInPlane.h(32) : see declaration of 'nGENE::JointPointInPlane'
c:\develop\ngene\ngene proj\JointPointOnLine.h(47) : warning C4512: 'nGENE::JointPointOnLine' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointOnLine.h(32) : see declaration of 'nGENE::JointPointOnLine'
c:\develop\ngene\ngene proj\JointPrism.h(45) : warning C4512: 'nGENE::JointPrism' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPrism.h(30) : see declaration of 'nGENE::JointPrism'
c:\develop\ngene\ngene proj\JointSphere.h(65) : warning C4512: 'nGENE::JointSphere' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointSphere.h(50) : see declaration of 'nGENE::JointSphere'
.\JointPulley.cpp(96) : warning C4800: 'NX_BOOL' : forcing value to bool 'true' or 'false' (performance warning)
JointPrism.cpp
c:\develop\ngene\ngene proj\Joint.h(123) : warning C4512: 'nGENE::Joint' : assignment operator could not be generated
c:\develop\ngene\ngene proj\Joint.h(77) : see declaration of 'nGENE::Joint'
c:\develop\ngene\ngene proj\JointPrism.h(45) : warning C4512: 'nGENE::JointPrism' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPrism.h(30) : see declaration of 'nGENE::JointPrism'
c:\develop\ngene\ngene proj\JointCylinder.h(44) : warning C4512: 'nGENE::JointCylinder' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointCylinder.h(29) : see declaration of 'nGENE::JointCylinder'
c:\develop\ngene\ngene proj\JointDistance.h(75) : warning C4512: 'nGENE::JointDistance' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointDistance.h(60) : see declaration of 'nGENE::JointDistance'
c:\develop\ngene\ngene proj\JointFixed.h(45) : warning C4512: 'nGENE::JointFixed' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointFixed.h(30) : see declaration of 'nGENE::JointFixed'
c:\develop\ngene\ngene proj\JointHinge.h(68) : warning C4512: 'nGENE::JointHinge' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointHinge.h(27) : see declaration of 'nGENE::JointHinge'
c:\develop\ngene\ngene proj\JointPointInPlane.h(47) : warning C4512: 'nGENE::JointPointInPlane' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointInPlane.h(32) : see declaration of 'nGENE::JointPointInPlane'
c:\develop\ngene\ngene proj\JointPointOnLine.h(47) : warning C4512: 'nGENE::JointPointOnLine' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointOnLine.h(32) : see declaration of 'nGENE::JointPointOnLine'
c:\develop\ngene\ngene proj\JointPulley.h(87) : warning C4512: 'nGENE::JointPulley' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPulley.h(60) : see declaration of 'nGENE::JointPulley'
c:\develop\ngene\ngene proj\JointSphere.h(65) : warning C4512: 'nGENE::JointSphere' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointSphere.h(50) : see declaration of 'nGENE::JointSphere'
JointPointOnLine.cpp
c:\develop\ngene\ngene proj\Joint.h(123) : warning C4512: 'nGENE::Joint' : assignment operator could not be generated
c:\develop\ngene\ngene proj\Joint.h(77) : see declaration of 'nGENE::Joint'
c:\develop\ngene\ngene proj\JointPointOnLine.h(47) : warning C4512: 'nGENE::JointPointOnLine' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointOnLine.h(32) : see declaration of 'nGENE::JointPointOnLine'
c:\develop\ngene\ngene proj\JointCylinder.h(44) : warning C4512: 'nGENE::JointCylinder' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointCylinder.h(29) : see declaration of 'nGENE::JointCylinder'
c:\develop\ngene\ngene proj\JointDistance.h(75) : warning C4512: 'nGENE::JointDistance' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointDistance.h(60) : see declaration of 'nGENE::JointDistance'
c:\develop\ngene\ngene proj\JointFixed.h(45) : warning C4512: 'nGENE::JointFixed' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointFixed.h(30) : see declaration of 'nGENE::JointFixed'
c:\develop\ngene\ngene proj\JointHinge.h(68) : warning C4512: 'nGENE::JointHinge' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointHinge.h(27) : see declaration of 'nGENE::JointHinge'
c:\develop\ngene\ngene proj\JointPointInPlane.h(47) : warning C4512: 'nGENE::JointPointInPlane' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointInPlane.h(32) : see declaration of 'nGENE::JointPointInPlane'
c:\develop\ngene\ngene proj\JointPrism.h(45) : warning C4512: 'nGENE::JointPrism' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPrism.h(30) : see declaration of 'nGENE::JointPrism'
c:\develop\ngene\ngene proj\JointPulley.h(87) : warning C4512: 'nGENE::JointPulley' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPulley.h(60) : see declaration of 'nGENE::JointPulley'
c:\develop\ngene\ngene proj\JointSphere.h(65) : warning C4512: 'nGENE::JointSphere' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointSphere.h(50) : see declaration of 'nGENE::JointSphere'
JointPointInPlane.cpp
c:\develop\ngene\ngene proj\Joint.h(123) : warning C4512: 'nGENE::Joint' : assignment operator could not be generated
c:\develop\ngene\ngene proj\Joint.h(77) : see declaration of 'nGENE::Joint'
c:\develop\ngene\ngene proj\JointPointInPlane.h(47) : warning C4512: 'nGENE::JointPointInPlane' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointInPlane.h(32) : see declaration of 'nGENE::JointPointInPlane'
c:\develop\ngene\ngene proj\JointCylinder.h(44) : warning C4512: 'nGENE::JointCylinder' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointCylinder.h(29) : see declaration of 'nGENE::JointCylinder'
c:\develop\ngene\ngene proj\JointDistance.h(75) : warning C4512: 'nGENE::JointDistance' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointDistance.h(60) : see declaration of 'nGENE::JointDistance'
c:\develop\ngene\ngene proj\JointFixed.h(45) : warning C4512: 'nGENE::JointFixed' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointFixed.h(30) : see declaration of 'nGENE::JointFixed'
c:\develop\ngene\ngene proj\JointHinge.h(68) : warning C4512: 'nGENE::JointHinge' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointHinge.h(27) : see declaration of 'nGENE::JointHinge'
c:\develop\ngene\ngene proj\JointPointOnLine.h(47) : warning C4512: 'nGENE::JointPointOnLine' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointOnLine.h(32) : see declaration of 'nGENE::JointPointOnLine'
c:\develop\ngene\ngene proj\JointPrism.h(45) : warning C4512: 'nGENE::JointPrism' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPrism.h(30) : see declaration of 'nGENE::JointPrism'
c:\develop\ngene\ngene proj\JointPulley.h(87) : warning C4512: 'nGENE::JointPulley' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPulley.h(60) : see declaration of 'nGENE::JointPulley'
c:\develop\ngene\ngene proj\JointSphere.h(65) : warning C4512: 'nGENE::JointSphere' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointSphere.h(50) : see declaration of 'nGENE::JointSphere'
JointHinge.cpp
c:\develop\ngene\ngene proj\Joint.h(123) : warning C4512: 'nGENE::Joint' : assignment operator could not be generated
c:\develop\ngene\ngene proj\Joint.h(77) : see declaration of 'nGENE::Joint'
c:\develop\ngene\ngene proj\JointHinge.h(68) : warning C4512: 'nGENE::JointHinge' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointHinge.h(27) : see declaration of 'nGENE::JointHinge'
c:\develop\ngene\ngene proj\JointCylinder.h(44) : warning C4512: 'nGENE::JointCylinder' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointCylinder.h(29) : see declaration of 'nGENE::JointCylinder'
c:\develop\ngene\ngene proj\JointDistance.h(75) : warning C4512: 'nGENE::JointDistance' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointDistance.h(60) : see declaration of 'nGENE::JointDistance'
c:\develop\ngene\ngene proj\JointFixed.h(45) : warning C4512: 'nGENE::JointFixed' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointFixed.h(30) : see declaration of 'nGENE::JointFixed'
c:\develop\ngene\ngene proj\JointPointInPlane.h(47) : warning C4512: 'nGENE::JointPointInPlane' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointInPlane.h(32) : see declaration of 'nGENE::JointPointInPlane'
c:\develop\ngene\ngene proj\JointPointOnLine.h(47) : warning C4512: 'nGENE::JointPointOnLine' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPointOnLine.h(32) : see declaration of 'nGENE::JointPointOnLine'
c:\develop\ngene\ngene proj\JointPrism.h(45) : warning C4512: 'nGENE::JointPrism' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPrism.h(30) : see declaration of 'nGENE::JointPrism'
c:\develop\ngene\ngene proj\JointPulley.h(87) : warning C4512: 'nGENE::JointPulley' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointPulley.h(60) : see declaration of 'nGENE::JointPulley'
c:\develop\ngene\ngene proj\JointSphere.h(65) : warning C4512: 'nGENE::JointSphere' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointSphere.h(50) : see declaration of 'nGENE::JointSphere'
.\JointHinge.cpp(88) : warning C4800: 'NX_BOOL' : forcing value to bool 'true' or 'false' (performance warning)
JointFixed.cpp
c:\develop\ngene\ngene proj\Joint.h(123) : warning C4512: 'nGENE::Joint' : assignment operator could not be generated
c:\develop\ngene\ngene proj\Joint.h(77) : see declaration of 'nGENE::Joint'
c:\develop\ngene\ngene proj\JointFixed.h(45) : warning C4512: 'nGENE::JointFixed' : assignment operator could not be generated
c:\develop\ngene\ngene proj\JointFixed.h(30) : see declaration of 'nGENE::JointFixed'
etc, etc
These are warnings not errors and I'm aware of them (they'll be removed one day). The reason so many warnings appear is due to PhysX whith which nGENE is integrated and PhysX classes that are used internally throw the same warnings.
// EDIT: But you're right these warnings shouldn't be present. I'll get rid of them ASAP.
I reviewed back through your IDE setup and am still getting the following:
Creating library…
LINK : fatal error LNK1181: cannot open input file 'nGENE.lib'
Build log was saved at "file://c:\Develop\nGene\nGENE Framework\Release\BuildLog.htm"
nGENE Framework_VS_9 - 1 error(s), 5 warning(s)
For some reason I can't get the nGene.lib to link. Any help would be appreciated.
That's weird… It seems for some reason nGENE.lib is not present where it should be. Can you check if after compiling nGENE Proj you have nGENE.lib file in bin/release directory. It'll help me in finding solution to your problem.
Did you try cleaning up (removing all temporary files etc.) and then rebuilding whole project? Maybe VS went crazy with something and remembers something it shouldn't?
BTW I removed the majority of warnings yesterday. Will commit today/tomorrow.
Let me know when you commit the updates. I'll see if the updates don't fix the problem. I tried everything (removing all temporary files etc.) and reviewed my setting several times but still the same error. No nGene.Lib in the release directory.
Could you also manually search for a file with such a name on your disk? Maybe there's some problem with paths? If still no success, then it would mean nGENE Proj is not compiled/linked… but then why it throw no errors?
I manually searched after several compiles and still nothing. If a newer version has been committed let me know and I'll try getting it to compile with that one. I will also continue to work with what I have presently. I use Visual Studio as my compiler.
It should read: Visual Studio 2008
Hi, I spent some time trying to figure out what's wrong with your working copy… and I think I finally found the reason. Look at this, specifically at PhysX related paragraph.
BTW if anyone knows if I could redistribute libs and includes of PhysX without violating its terms of use (I try not to by any means and as I'm not a lawyer I'm not sure if I understood all points correctly).
Nonetheless there will be update soon.
I am still not getting anywhere. I have gone through your instructions on setting up Visual Studio as well as installing the extra dependencies a dozen times ( really ) and nothing. Same problem Have you updated the source yet? Maybe the updated source will fix the problem or point me to where my problem is.






