OgreDotNet v1.2

rastaman

25-03-2006 06:05:29

update 2006-03-24

OgreDotNet v1.2 needs OGRE v1.2RC1, swig-1.3.29


Ok this is basically a get it working update. Some new interfaces but mostly just what was needed. OgreDotNet needs your help testing, finding what needs to be added or fixed. There are still a lot of TODO's and ignores to figureout but if you identify something important we can get that done first.

edit:
if cvs is down grab it here http://www.ceejs.com/eric/ogredotnet_cvs.zip

EagleEye

28-03-2006 22:45:41

Rastaman: I don't know if you changed the post build events or what, but somehow they no longer have the parts of the command wrapped in quotes.

This is important because the paths being copied to may have spaces in them, which will break the copy command.

The command I had coming out was like this:

copy Debug\CeguiDotNet.pdb z:\Data\Visual Studio Projects\ogreaddons\ogredotnet\CeguiNet\..\Bin\Debug

As you can see, that's problematic. :)

I wrapped the paths in quotes.

ETA: I replaced the "$(ProjectDir)..\Bin\" part with "$(SolutionDir)Bin\"

Because the Demos were moved to the Samples folder, the copy command for those had ..\..\ in it, while the others had ..\

I saw that as messy, and I found a better variable to use.

So now the entire copy command for post-build events is:

For DLLs
copy "$(TargetName).dll" "$(SolutionDir)Bin\$(ConfigurationName)"
copy "$(TargetName).pdb" "$(SolutionDir)Bin\$(ConfigurationName)"

or

For Demo EXEs
copy "$(TargetName).exe" "$(SolutionDir)Bin\$(ConfigurationName)"
copy "$(TargetName).pdb" "$(SolutionDir)Bin\$(ConfigurationName)"

EagleEye

28-03-2006 23:18:01

I just recompiled and got all but the Gangsta stuff compiled and copied properly... (I don't have the gangsta dependancies installed yet, so they never compile).

Looking good so far! Now to recompile the 1.2 version of the PLSM2 plugin... *sigh*

rastaman

29-03-2006 00:06:04

yes i changed the post build events a while back, wasn't thinking about spaces :oops:
but I think we should remove the pdb copy. as far as i can tell they are not needed. Plus when doing a batch build of everything debug and release all the release thing give an error because theres is no pdb file.

GangstaNet is working now. you don't need a patch just for the bindings any more, but I think you will need to apply a patch for Dagon changes as cvs isn't updated yet, its in the patch section on the sourceforge page.

EagleEye

29-03-2006 07:22:01

yes i changed the post build events a while back, wasn't thinking about spaces :oops:
but I think we should remove the pdb copy. as far as i can tell they are not needed. Plus when doing a batch build of everything debug and release all the release thing give an error because theres is no pdb file.


Yeah, I was wondering about the PDB thing... I didn't think they were needed, but hell, they don't hurt anything. If you want, I'll remove the copy commands from the batch builds and update the project files on CVS.

GangstaNet is working now. you don't need a patch just for the bindings any more, but I think you will need to apply a patch for Dagon changes as cvs isn't updated yet, its in the patch section on the sourceforge page.

You misunderstand... I don't have the gangsta stuff at all. No headers for swig to reference, etc... :) I haven't gotten around to it yet.

EagleEye

29-03-2006 08:51:39

Okay, CVS updated.

rastaman

30-03-2006 14:57:34

EaagleEye: I don't like that $(SolutionDir) thing. When I include any of the project in another solution it tries to copy to an invalid path (new solution folder) and throws errors on the build because of it.

EagleEye

30-03-2006 20:00:46

Ack! Okay... do you want to change it back or should I?

DigitalCyborg

12-04-2006 19:29:25


Yeah, I was wondering about the PDB thing... I didn't think they were needed,


http://support.microsoft.com/default.aspx?scid=kb;en-us;Q121366

and for a more in depth discuss of the PE : ( 2 parts)
http://msdn.microsoft.com/msdnmag/issues/02/02/PE/default.aspx