OgreNewt_Main_d.lib - is it in the installer

tom_b

16-07-2006 14:44:30

Downloaded ogrenewt from walaber.com and while compiling I got
LINK : fatal error LNK1104: cannot open file 'OgreNewt_Main_d.lib'

I searched the harddrive and did not see the file.

F1rst

16-07-2006 16:25:37

May be you compile ogrenewt in dynamic linking in debug mode.
Try build->batch build and Debug configuration(non debug_dll).

tom_b

16-07-2006 21:07:55

no luck, still cant get passed this

HexiDave

16-07-2006 21:13:00

After you've compiled OgreNewt in Debug, you'll need to set your linker directories to search for the Debug folder where you compiled OgreNewt in debug mode. Find out where it compiled and set the linker to read that folder. It depends on what you're IDE is, so you'll have to read on setting up project folders and things.

tom_b

17-07-2006 00:25:43

Okay i am really trying
Batch Build, OgreNewt_main, Debug Only

Generating Code...
OgreNewt_Vehicle.obj : error LNK2019: unresolved external symbol __imp__NewtonVehicleAddTire referenced in function "public: __thiscall OgreNewt::Vehicle::Tire::Tire(class OgreNewt::Vehicle *,class Ogre::Quaternion,class Ogre::Vector3,class Ogre::Vector3,float,float,float,float,float,float,int)" (??0Tire@Vehicle@OgreNewt@@QAE@PAV12@VQuaternion@Ogre@@VVector3@4@2MMMMMMH@Z)


Additional Incluide Dir
.\inc;..\demos\Include;"D:\Program Files\NewtonSDK\sdk";"$(OGRE_HOME)\samples\include";..\include;"$(OGRE_HOME)\include";"$(OGRE_HOME";"D:\Program Files\NewtonSDK\sdk\dll"

Any Ideas

walaber

17-07-2006 05:44:03

sounds like your version of the Newton SDK itself is outdated. try updating it.

tom_b

17-07-2006 12:11:29

Could be. I had an issue in one of the demos where there was a conflict of passing 4 and 5 variables in one function. And another spot where the input variables were swapped.

I downloaded this version from your site walaber over this past weekend. The website claims the version is 1.62, but I am not sure how to determine from the files that its that version. :cry:

The documentation (html index file) shows OgreNewt Library version 0.08
0.06 Generated on Sat May 27 10:41:20 2006 with the following functionality
updated to work with the release version of Ogre dagon (1.2)
updated to work with version 1.53 of Newton
raycast now has an optional pre-filter to ignore specific bodies from the raycast. ^ various other clean-up!

If this is not current, can you please update your website. I will delete the ogrenewt folder and try a fresh install.

mysterycoder

18-07-2006 05:50:07

I think walaber meant a new version of the Newton SDK, not a new version of OgreNewt. OgreNewt simply wraps Newton, and makes it easier to use with Ogre. You can download a new version of the Newton SDK here.

tom_b

19-07-2006 00:35:56

I just downloaded that last weekend too. The zip file for the installer is labeled 1.53. That shouldnt be the issue.

But the Newton header file has the following comments
//********************************************************************
// Newton Game dynamics
// copyright 2000-2004
// By Julio Jerez
// VC: 6.0
// One and only header file.
//********************************************************************


Still has the LINK issue with a bunch of others.


1>OgreNewt_Main - 330 error(s), 549 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========



There is only one Newton.h on my harddrive and its accounted for in the Additional Include Directories.

I had noticed that by checking the properties on the OgreNewt_Main project there is no LINKER field. The Demo projects however has the LINKER field.

Any other ideas or is my OgreNewt old? Is there any file version to confirm this?

veloura

24-08-2007 01:41:56

Downloaded ogrenewt from walaber.com and while compiling I got
LINK : fatal error LNK1104: cannot open file 'OgreNewt_Main_d.lib'

I searched the harddrive and did not see the file.


I have had this problem before but only with brand new builds using Walaber's Ogrenewt. It seems that one of the additional library folders, one of the debugs is MIA. It has existed in past versions... and I have one at school. I'll dredge it up and post it somewhere tomorrow.

Which sucks cause I want to program NOW.