Installing OGRENEWT into precompiled OgreSDK

gvdan

28-01-2007 13:26:23

I do not have the folder "ogrenew". I'm using C:\OgreSDK instead. So, the directions for installing OgreNewt seem to have no regard for the precompiled OgreSDK. How to I go about this?

abecam

01-02-2007 11:42:40

You should be more precise, but there is no problem to use OgreNewt with precompiled Ogre. I do so and it works fairly well. You just have to do *nothing* 8)
Just install OgreSDK, then ONewt, and ONewt should compile with few changes. Then I did that some times ago, but it wasn't so hard.
Please just say what problem you have, and which dev. environment you use, so we can help you better! (because that's fairly old, I just don't remember, as the other users might too)

OgreNewbie123

25-03-2007 00:49:07

I have the same problem

I have
vs 8 service pack 1
OgreSdk 1.4
Newton Sdk 1.53
latest ogrenewt from walaber his site

In the docs of ogrenewt is written this:

Installation
OgreNewt comes with a project for MSVC++ 7.1 and MSVC++ 8.0 (2005). unfortunately I have no other IDE's or compilers setup on my system, so I cannot provide any other projects. the MSVC solution should build out of the box, assuming you take a few things into consideration.

unzip this in the ogreaddons directory alongside your "ogrenew" directory. to compile correctly, it also assumes you have the Newton SDK installed in another directory alongside this one called "NewtonSDK".

for example something like this:

* c:/programming/Ogre/ogrenew <- ogre installation
* c:/programming/Ogre/ogreaddons/OgreNewt <- OgreNewt main directory.
* c:/programming/NewtonSDK <- Newton SDK.
* c:/programming/tinyxml <- tinyxml library (needed for ragdoll demo only)


The problem is since I use the prebuilt ogresdk, that I have no directory named "ogrenew" and "ogreaddons". So I have no clue how to make it work.

thanks for reading

jaxx0rr

10-08-2007 19:41:44

I have the same problem

I have
vs 8 service pack 1
OgreSdk 1.4
Newton Sdk 1.53
latest ogrenewt from walaber his site

In the docs of ogrenewt is written this:

Installation
OgreNewt comes with a project for MSVC++ 7.1 and MSVC++ 8.0 (2005). unfortunately I have no other IDE's or compilers setup on my system, so I cannot provide any other projects. the MSVC solution should build out of the box, assuming you take a few things into consideration.

unzip this in the ogreaddons directory alongside your "ogrenew" directory. to compile correctly, it also assumes you have the Newton SDK installed in another directory alongside this one called "NewtonSDK".

for example something like this:

* c:/programming/Ogre/ogrenew <- ogre installation
* c:/programming/Ogre/ogreaddons/OgreNewt <- OgreNewt main directory.
* c:/programming/NewtonSDK <- Newton SDK.
* c:/programming/tinyxml <- tinyxml library (needed for ragdoll demo only)


The problem is since I use the prebuilt ogresdk, that I have no directory named "ogrenew" and "ogreaddons". So I have no clue how to make it work.

thanks for reading


HI, I have the same problem..
OgreSDK installed but no ogrenew directory, so the installation instructions dont help..

and when I compile I get:
file: 'Ogre.h': No such file or directory c:\OgreTest\OGRE\OgreAddons\OgreNewt\OgreNewt_Main\inc\

my structure is this:

OgreTest
.......NewtonSDK
.......OGRE
..............OgreAddons
.....................OgreNewt
..............ogrenew
.....................bin
.....................include
.....................lib
.....................media
.......TinyXml

I copied the files from ogresdk into ogrenew hoping it would help.. I noticed in the cfg files the paths are all relative so the install directory is not important I guess..

also, I cant find a installer to include the directory ogreMain
is that an older name for the bin directory of ogreSDK ??
I could not find it anywhere on the net.. :(

please help

jaxx0rr

10-08-2007 21:23:21


these 3 directories do not exist in ogreSDK
where can I find them?

EDIT:

ok it worked.. what I did was to substitute some directories..

ogrenew\OgreMain\include => ogreSDK\include
ogrenew\Samples\Common\include => ogreSDK\Samples\include

with the Dependencies dir I still dont have a clue what's going on but it seems to work fine without it

Nox587

12-08-2007 02:51:45

It makes little difference (other then organization) where you place the OgreNewt, Newton, or TinyXML files on your computer. The only thing that matters is that your IDE finds these files when compiling/linking. For OgreNewt to compile it needs the include and lib files for Ogre, Newton, and TinyXml(only for the ragdoll demo).

Ogre Files in SDK
\OgreSDK\include
\OgreSDK\samples\include
\OgreSDK\lib

Newton Files in NewtonSDK
\NewtonSDK\sdk
\NewtonSDK\sdk\dll

OgreNewt Files
\OgreNewt\OgreNewt_Main\inc
\OgreNewt\OgreNewt_Main\lib\Debug (or) Release

As long as these are in your IDE's paths, then it does not matter where they are on your computer.

pitmodano12

10-09-2007 09:53:31

I'm using C:\OgreSDK instead. So, the directions for installing OgreNewt seem to have no regard for the precompiled OgreSDK. How to I go about this?

ogrekekz

20-08-2008 11:37:27

hi again! i have a slightly different problem but in the same context (installing ogrenewt).

i loaded the vc-project into vc2008 and tried to build OgreNewt_Main.
after some time i found the correct directories for includes so compiling finished but then i get this error:
LINK : fatal error LNK1181: Eingabedatei "OgreMain.lib" kann nicht geöffnet werden.
(cannot open OgreMain.lib)

my include paths are
.\inc
..\demos\Include (<-- doesn't exist - anymore?)
\NewtonSDK\sdk
\OgreSDK\include

and library paths:
\OgreSDK\bin\release (because OgreSDK\lib\release doesn't exist i thought this might be the right one?)
\NewtonSDK\sdk\dll

anyway i can't find the file OgreMain.lib anywhere, but i have about no experience in compiling more-than-one-file-projects in c.
are these paths correct? what is missing?

ogrekekz

23-08-2008 18:32:10

please someone help me, where do i get this OgreMain.lib from?
i'd love to start throwing things around with this physics-engine ;)

Wannes

23-08-2008 21:23:48

this file is located in the OgreSDK/lib folder (when you installed suing the sdk)

Check this wiki page: http://www.ogre3d.org/wiki/index.php/Se ... 2B.2B_.NET

in your projects settings add this:
Linker : General : Additional Library Directories = $(OGRE_HOME)\lib

($(OGRE_HOME) is the place you installed ogre to) I think it defaults to c:/OgreSDK

ogrekekz

24-08-2008 15:03:19

i don't have this file in OgreSDK/lib but now i see the problem: i have installed the mingw sdk version, because i normally work on eclipse. for normal ogre it worked finde but i didn't find any manual how to configure eclipse to build ogrenewt correctly.
i installed the VC version of the sdk an now there are the libs ;)
did someone build it with eclipse?