Mviewer compiling problems

View: New views
4 Messages — Rating Filter:   Alert me  

Mviewer compiling problems

by Alexander Idea :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good day!

I've just downloaded new code from the SVN, all the dependencies for Visual Studio 8, the latest DXSDK and the Platform SDK, I successfully compiled nviewer and everything went fine, but still with some fatal bugs during the work with the application, but when I tried to compile mviewer I got about 164 linking errors, like these:

error LNK2019: unresolved external symbol "public: static class Game::GuiTimeSource * __cdecl Game::GuiTimeSource::Create(void)" (?Create@GuiTimeSource@Game@@SAPAV12@XZ) referenced in function "protected: virtual void __thiscall Application::App::SetupTimeSources(void)" (?SetupTimeSources@App@Application@@MAEXXZ) mangalore_application_app.obj

Error 82 error LNK2001: unresolved external symbol "public: static bool __cdecl Loader::CharacterProfile::RegisterFactoryFunction(void)" (?RegisterFactoryFunction@CharacterProfile@Loader@@SA_NXZ) viewer.obj

Error 114 error LNK2001: unresolved external symbol "public: void __thiscall UI::ProgressBarWindow::Present(void)" (?Present@ProgressBarWindow@UI@@QAEXXZ) mangalore_game_server.obj

and etc.

Can anyone tell me what I am doing wrong?

P.S.
Mangalore itself compiles without any problems.

Thanks in advance!

Alex.

Parent Message unknown Re: Mviewer compiling problems

by Cuongnhc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.


---------- Forwarded message ----------
From: Cuongnhc <cuongnhc@...>
Date: Nov 2, 2006 1:03 AM
Subject: Re: [Nebula-Discuss] Mviewer compiling problems
To: Alexander Idea <alexander.idea@...>

i'm a new one learns Nebula2 too, i want to share with you some info about how to build it (and plz read point 5 and help me to fix another errors ^_^).

Bulding nebula2:
1. What's your Compiler: If it's VC++2005 Express, after u install DX9 SDK, Platform SDK you have to check in VC++2005 E -> Tools -> Option -> Projects & Solutions -> VC++ Directories. Make sure Include and Lib directory of DX SDK and Platform SDK has installed in. If not, you should add it in by yourself (See more info how to build Win32 application with VC++2005 Express on msdn.microsoft.com).

2. Download new Nebula codes from SVN,Python WxPython, all dependencies and unzip it in the right directory. I think u already done it, but be careful, in mangalore_dependencies_vc8_20061012.zip,it don't have Opcode directory, so you have to down older version: xx_20060601.zip then update or down Opcode at: http://www.codercorner.com/Opcode.htm.

3. - Add:  C:\...\nebula2\bin\win32 to Environment Variables of Windows (Start-> CPanel-> System-> Advanced-> Environment Variable).
- Open VC and add some path to VC++ Directories:

include files:
C:\Python25\include
C:\....\3dsmax8\maxsdk\include or Lightwavesdk if you use this.
C:\...\nebula2\code\nebula\inc
C:\...\nebula2\code\mangalore

lib files:
C:\Python25\libs
C:\...\3dsMax8\maxsdk\lib
C:\...\nebula2\bin\win32
C:\...\nebula2\bin\win32d
C:\...\nebula2\code\nebula2\lib\win32_vc_i386
C:\...\nebula2\build\vstudio8\inter\win32
C:\...\nebula2\build\vstudio8\inter\win32d

source files:
C:\....\nebula2\code\nebula2\src

4. Now it's time to build it. First, we should run: update.py, select your generator (VC 8 of course) and workspace you want to make (i selected all ^_^) and click run. New explorer window will open, select your workspace and open it ( mangaloretools.sln). F5 to build, mviewer.exe  will be build without any errors(done all that step). If you got error LNK2019: unresolved.... with mviewer or another projects, don't worry, this errors because you've declared functions but VC didnt found its codes. Try to find where it get errors, what's project and add .lib file or .cc file content that functions to it.

5. OTHER ERRORs: I got problems when build some projects and still dont know how to fix:
  + Nchunklod.sln:   Builed but when i run it, it got an error:
*** NEBULA ASSERTION ***
expression: !this->shaderPath.IsEmpty ()
file:..\..\code\nebula2\src\renderpath\nrenderpath2.cc
line: 43

  +MViewer.exe: same prob, builded ok but got error when run:
Tcl_Eval(): could not open tcl script 'proj:data/scripts/startup.tcl' ( I checked, that file still have in right directory)

  + Ncterrain2.sln:
Error    1    error C2039: 'GetRefillBuffersMode' : is not a member of 'nMesh2'    c:\Nebula2 SDK\trunk\nebula2\code\contrib\ncterrain2\inc\ncterrain2\nchunklodmesh.h    90
Error    2    error C2039: 'NeededNow' : is not a member of 'nMesh2'    c:\Nebula2 SDK\trunk\nebula2\code\contrib\ncterrain2\inc\ncterrain2\nchunklodmesh.h    90
Error    3    error C2065: 'NeededNow' : undeclared identifier    c:\Nebula2 SDK\trunk\nebula2\code\contrib\ncterrain2\inc\ncterrain2\nchunklodmesh.h    90
Error    4    error C2039: 'SetRefillBuffersMode' : is not a member of 'nMesh2'    c:\Nebula2 SDK\trunk\nebula2\code\contrib\ncterrain2\inc\ncterrain2\nchunklodmesh.h    94
Error   5 .....

  +Networkdemo.sln: Builded ok but when i run it get error:
nKernelServer: Couldn't create object '/sys/servers/script' of class 'ntclserver'.

  + NOpenALdemo.sln:
Error    1    error LNK2019: unresolved external symbol _ndsaudioserver3 referenced in function _WinMain@16    demo.obj
Error    2    fatal error LNK1120: 1 unresolved externals    c:\Nebula2 SDK\trunk\nebula2\bin\win32\nopenaldemo.exe    1

is anyone can help me plz?
---------------
Cuongnhc

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss

Re: Mviewer compiling problems

by je.a.le :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cuongnhc wrote:

>
>
> ---------- Forwarded message ----------
> From: *Cuongnhc* <cuongnhc@... <mailto:cuongnhc@...>>
> Date: Nov 2, 2006 1:03 AM
> Subject: Re: [Nebula-Discuss] Mviewer compiling problems
> To: Alexander Idea <alexander.idea@...
> <mailto:alexander.idea@...>>
>
> i'm a new one learns Nebula2 too, i want to share with you some info
> about how to build it (and plz read point 5 and help me to fix another
> errors ^_^).
>

for mviewer/script error, got this one too. It came from the proj: var, valid but empty (??). it seem cegui is the problem.
1) in mangalode/bldfiles/mangaloretools.bld
remove the 2 addtarget USE_MCEGUI
2) in mangalore/viewer/vierver.cpp/.h
#ifdef or remove any call to cegui (SetupCeGui)


A+

--
for my 3d work it's over there --> http://j.a.l.free.fr/3dsmax
update 26 Aug 2006

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss

Re: Mviewer compiling problems

by Cuongnhc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/2/06, je.a.le <je.a.le@...> wrote:

for mviewer/script error, got this one too. It came from the proj: var, valid but empty (??). it seem cegui is the problem.
1) in mangalode/bldfiles/mangaloretools.bld
remove the 2 addtarget USE_MCEGUI
2) in mangalore/viewer/vierver.cpp/.h
#ifdef or remove any call to cegui (SetupCeGui)

thanks :)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss