[HELP] error compiling

kungfoomasta

21-09-2006 03:48:28

I'm using Plugin_PagingLandScapeSceneManager2_vc8_CVS
from my location
E:\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\scripts\Plugin_PagingLandScapeSceneManager2_vc8_CVS

And I'm getting the following errors:

1>..\src\OgrePagingLandScapePageRenderable.cpp(262) : error C2660: 'Ogre::SceneNode::findLights' : function does not take 1 arguments

1>..\src\OgrePagingLandScapeOctreeSceneManager.cpp(986) : error C2039: 'setDebugText' : is not a member of 'Ogre::RenderTarget'
1> e:\ogrenew\ogremain\include\OgreRenderTarget.h(60) : see declaration of 'Ogre::RenderTarget'
1>..\src\OgrePagingLandScapeOctreeSceneManager.cpp(1006) : error C2039: 'setDebugText' : is not a member of 'Ogre::RenderTarget'
1> e:\ogrenew\ogremain\include\OgreRenderTarget.h(60) : see declaration of 'Ogre::RenderTarget'
1>..\src\OgrePagingLandScapeOctreeSceneManager.cpp(1060) : error C2039: 'setDebugText' : is not a member of 'Ogre::RenderTarget'
1> e:\ogrenew\ogremain\include\OgreRenderTarget.h(60) : see declaration of 'Ogre::RenderTarget'

1>Build log was saved at "file://e:\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\obj\Debug\BuildLog.htm"
1>Plugin_PagingLandScapeSceneManager2 - 4 error(s), 3 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Any ideas? I just got the CVS of the ogrenew and ogreaddons modules yesterday, and I was able to compile ogremain.

KungFooMasta

tuan kuranes

21-09-2006 09:00:32

ogrenew cvs must be dagon, not HEAD (which is Eihort)

kungfoomasta

21-09-2006 18:27:49

I hope this won't be too irritating for you, but could you or anybody tell me the parameters to get DAGON CVS using TortoiseCVS?

All I did was search main forums, copy and paste, and got the "ogrenew" module.

How do I get DAGON? I can post my cvs properties later tonight when I get off work, if nobody can help me sooner.


Thanks,

KungFooMasta

Falagard

21-09-2006 19:01:32

If you're using TortoiseCVS you can choose a specific revision when performing a check out, it'll populate a revision list in a combo box. Choose the 1.2.3 revision for Dagon.

kungfoomasta

22-09-2006 03:34:48

Thanks Falagard, I'm using Dagon CVS now.

However, I'm getting errors with the Plugin_PagingLandScapeSceneManager2 Project:

1>------ Build started: Project: Plugin_PagingLandScapeSceneManager2, Configuration: Release Win32 ------
1>Compiling...
1>OgrePagingLandScapePageRenderable.cpp
1>..\src\OgrePagingLandScapePageRenderable.cpp(262) : error C2660: 'Ogre::SceneNode::findLights' : function does not take 1 arguments
1>Build log was saved at "file://e:\ogreaddons\paginglandscape\PlugIns\PagingLandScape2\obj\Release\BuildLog.htm"
1>Plugin_PagingLandScapeSceneManager2 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========


The other 2 projects passed: Demo and MapSplitter. Any ideas?

KungFooMasta

tuan kuranes

22-09-2006 12:57:49

rebuild plsm2, as it uses precompiled header, it might still use previous ogre header

kungfoomasta

22-09-2006 16:26:50

Awesome, that worked Tuan, thanks.

How do I run the demo?

Do I need to move all the .exes and .dlls into
E:\ogreaddons\paginglandscape\Samples\Common\bin\Release?
(I built release)

I would also need to extract datasrcs into this directory also? Or is there another directory I should be using?

Thanks,

KungFooMasta

Falagard

22-09-2006 16:52:34

Read wiki:

http://www.ogre3d.org/wiki/index.php/Pa ... stallation

kungfoomasta

22-09-2006 18:03:08

Thanks Falagard,

I saw that when I first tried to run the demo (prebuilt binary demo), but ran into some problems. I should be able to get things running this evening.

Just a suggestion, but the wiki should mention the difference between release and debug builds, and that all the OGRE binaries need to be placed in the same folder as the PLSM binaries, as well as an example to show all the files and folders in the main directory. I know all of this, but people who are trying to jump in and try out the PLSM might not :)

KungFooMasta

Falagard

22-09-2006 18:33:41

I was under the impression that is all handled with post build events that automatically copy dlls and exes to the proper location. Could be wrong though.

kungfoomasta

22-09-2006 19:08:05

I'm not at home, but I can tell you I built the Dagon CVS solution and then the PLSM solution and was expecting everything to be in the Samples/Common/Release inside the PLSM folder from the ogreaddons branch and there were no modules, only cfg and other text files. I would assume I'll have to extract datasrcs, move all the Ogre modules, and move the mapsplitter, demo, and PLSM plugin modules into the directory.

It would make more sense if the .dlls were copied into this directory by default... maybe I'm looking in the wrong place? Maybe it copies everything into the ogrenew Samples/Common/Release? I verified it's building release. Correct me if I'm wrong or have done something incorrectly.

KungFooMasta

tuan kuranes

23-09-2006 13:21:55

it's copied into ogrenew/Samples/Common/Release and there no need to move media folder.

kungfoomasta

23-09-2006 19:14:53

Yep, thanks, I was able to verify this. Just needed to extract datasrcs to the media directory, ran mapsplitter, and then fired up the demo. It was cool seeing the terrain deform, but other than that, the demo needs a little work :P

KungFooMasta