Jump to content


Photo

PRG- Ok, I Got Msvc6, now what?


  • Please log in to reply
49 replies to this topic

#1 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 11 March 2004 - 05:41 AM

i managed to get my hands on Microsoft Visual C++ 6. i'm already downloading the latest stuff from the CVS (as instructed in the Announcements thread).
so, after the CVS finishes downloading... how do i mess around with the code? i don't know how much work have we got done nor how to mess around with MSVC (been always a Borland user) so some help would be in order.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#2 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 11 March 2004 - 12:23 PM

Xenocide project files are created with MSVC .NET 2003.

MSVC 6.0 project files are not compatible with MSVC .NET 2003 project files.

Anyway, there are no code in CVS so far, which could be compiled in executable and ran.

You would need either all OGRE code to compile or all OGRE binaries needed to run Xenocide executable (see note above).

You can get OGRE code and compile it with MSVC 6 - there are project files for that. More info about that on www.ogre3d.org. RK EDIT: .net to .org

I will commit some code which will compile in executable and uses OGRE as an engine. Soon.

In the mean time, you may look through OGRE and existing Xenocide code to get familiar with it and to choose area you want to work on.

I am always here to help.

Regards,
mamutas

Edited by red knight, 12 March 2004 - 09:55 AM.

mamutas@sourceforge.net

#3 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 12 March 2004 - 09:59 AM

The same for me, with one or 2 days of delay sometimes... but well...

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#4 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 13 March 2004 - 09:18 AM

I have found this on OGRE forums, it may work for you. It is a tool to convert .NET sln/vcproj file format to MSVC6 file format.

http://www.codeproje...rjconverter.asp

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#5 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 11 April 2004 - 12:18 PM

a friend of mine which has MSVC .NET 2003 is gonna borrow it to me :D

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#6 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 12 April 2004 - 02:59 AM

Well, I have 6.0 and no access to .NET, and the converter produced stuff that won't build (invalid linker options, undefined $(whatever) environment variables, and overall problems), so if there's anybody out there who could produce an, errm, user-friendly 6.0 workspace file, I would be most grateful.
Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#7 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 12 April 2004 - 10:30 AM

You need %OGRE% and %XENOCIDE% set in your environment. Have you done that?
mamutas@sourceforge.net

#8 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 12 April 2004 - 11:00 AM

Not setting the OGRE and XENOCIDE environment variable will cause exactly what you have post... What Windows are you using? (To let you know how to set them up)

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#9 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 12 April 2004 - 12:55 PM

XP, and I know how to set environment variables, but the $(ConfigurationName) variable isn't something fixed, and it isn't found either!

Edited by centurion, 12 April 2004 - 12:56 PM.

Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#10 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 12 April 2004 - 01:12 PM

Mhhh that is Debug for debug build and Release for release build. Any other left? Sounds like Microsoft changed some stuff since MSVC6...

Greetings
Red Knight

Edited by red knight, 12 April 2004 - 01:13 PM.

Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#11 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 12 April 2004 - 01:58 PM

As far as I remember it was possible to set $(variable) in MSVC 6.0, but I am not sure what exactly was allowed.

Try to replace them with Debug and Release appropriately.
mamutas@sourceforge.net

#12 centurion

centurion

    Programming Department

  • Xenocide Programming Department
  • 800 posts

Posted 12 April 2004 - 11:40 PM

You mean DEBUG all the way? Oh, and setting %XENOCIDE% (or %Xenocide%) doesn't help the '$(Xenocide) not found' problem. So far I've change those things manually, but there are still unrecognized linker options and obviously wrong parameters there:

Command line warning D4002 : ignoring unknown option '/Og'
Command line warning D4002 : ignoring unknown option '/Op'
Command line warning D4002 : ignoring unknown option '/Ob2'
Command line warning D4024 : unrecognized source file type '\utility\src" "', object file assumed
Command line warning D4024 : unrecognized source file type '\devpack.net2003\include" PRECOMP_VC7_TOBEREMOVED /c ', object file assumed


Endure; in enduring, grow strong.
- Dak'kon

Help us getting Civ2 code: http://forums.civfan...p...age=1&pp=20 !

#13 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 13 April 2004 - 07:43 AM

$(Xenocide) is telling the compiler to use the %Xenocide% enviromental variable... check how it is done in MSVC 6.0

About the others, the Ox ones are optimization flags... The other one is the one that I do not understand. I would check the commandline version and remove where it sais so...

However I bet that the problem is the include flag has changed from that version. Readd the include path.

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#14 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 26 April 2004 - 08:56 AM

at last, i got microsoft visual studio .net 2003 (i believe visual c++ is part of it)! now how do i mess around with it? (i can't figure out a single thing) :huh:

Edited by SupSuper, 26 April 2004 - 09:06 AM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#15 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 26 April 2004 - 09:23 AM

did you install it already?

then, you need to get the content of Xenocide from SourceForge and to download OGRE and their additional libraries from www.ogre3d.org.
Define %XENOCIDE% and %OGRE%.
Then under %XENOCIDE%\devpack.2003\compiler you will find an SLN file. Open it and you will see solution in MSDEV.

Let me know if you will need help after that.
mamutas@sourceforge.net

#16 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 27 April 2004 - 06:17 AM

i've installed MSVC, i've got all of the Xenocide content from SourceForge and i've created the variables. however, i can't find on the OGRE website where exactly do you download it and its additional libraries.

edit: nm, i found where you download both OGRE and additional libraries :)
thx red knight, i'll remember to do that.

Edited by SupSuper, 27 April 2004 - 06:31 AM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#17 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 27 April 2004 - 06:19 AM

Mamutas: You forgot to tell him to compile OGRE first... if not the build automatation script WILL fail.

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#18 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 28 April 2004 - 02:21 AM

aagghh, the OGRE engine is 30MB! i can only download that next month or my ISP'll make my dad pay extra, and he wouldn't like that much ;)

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#19 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 28 April 2004 - 09:43 AM

just few more days. don't make your dad mad!
mamutas@sourceforge.net

#20 Zippy

Zippy

    Squaddie

  • Forum Members
  • PipPip
  • 1 posts

Posted 29 April 2004 - 02:08 PM

I've got everything compiling fine, did ogre, env variables, all of it and I'm down to just the following linker errors, which seem to be related to using Utility::String outside the library it's defined in.... Which is wierd considering it doesnt give these errors for the DESTRUCTORs... Only for destructing the locals... anyways... WTF?

Linking...
isubsystem.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) referenced in function "public: __thiscall XenoEngine::ISubsystem::ISubsystem(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0ISubsystem@XenoEngine@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
isubsystem.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) referenced in function "public: __thiscall XenoEngine::ISubsystem::ISubsystem(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0ISubsystem@XenoEngine@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
xeexceptions.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) referenced in function "private: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall XenoEngine::XeException::getExceptionName(void)const " (?getExceptionName@XeException@XenoEngine@@EBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
C:\Dev\Xenocide\xenocide\bin\Debug/xenoengine.exe : fatal error LNK1120: 3 unresolved externals

[Edit]
That's from the project xenoengine, by the way. Everything else compiles and links fine.

Edited by Zippy, 29 April 2004 - 02:09 PM.


#21 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 29 April 2004 - 03:58 PM

Thanks for the note. I will look into that issue ASAP.
In the mean time, you can ignore that error, as it does not affect the functionality at the moment - this library is not used anywhere yet.
mamutas@sourceforge.net

#22 Hymie the Control Robot

Hymie the Control Robot

    Sergeant

  • Forum Members
  • PipPipPip
  • 50 posts

Posted 29 April 2004 - 05:12 PM

I've got everything compiling fine, did ogre, env variables, all of it and I'm down to just the following linker errors, which seem to be related to using Utility::String outside the library it's defined in....  Which is wierd considering it doesnt give these errors for the DESTRUCTORs... Only for destructing the locals... anyways... WTF?

Linking...
isubsystem.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) referenced in function "public: __thiscall XenoEngine::ISubsystem::ISubsystem(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0ISubsystem@XenoEngine@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
isubsystem.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) referenced in function "public: __thiscall XenoEngine::ISubsystem::ISubsystem(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >)" (??0ISubsystem@XenoEngine@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
xeexceptions.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) referenced in function "private: virtual class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall XenoEngine::XeException::getExceptionName(void)const " (?getExceptionName@XeException@XenoEngine@@EBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
C:\Dev\Xenocide\xenocide\bin\Debug/xenoengine.exe : fatal error LNK1120: 3 unresolved externals

[Edit]
That's from the project xenoengine, by the way.  Everything else compiles and links fine.

Zippy, just a question here. Which IDE do you use? Visual Studio 6.0 or .Net 2003? If it's VS6.0, did you have any problems?
Thanks.

#23 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 03 May 2004 - 03:47 PM

ok, i got ogre. now how do you compile it? i mean, what file do you open and how do you get it to compile? like i said, i don't know anything of MSVC++ :wacko:

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#24 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 03 May 2004 - 03:57 PM

Find .sln file - it is the solution file, the collection of projects.
Then find in the menu Build-> Rebuild Solution (or Rebuild All???).
Then sit back and relax for 15-20 min (depending on the machine of course !!!).

EDIT: You would get warnings, but there must be no errors.

Also, what OGRE did you get? What version and where did you downloaded it from?

Edited by mamutas, 03 May 2004 - 03:57 PM.

mamutas@sourceforge.net

#25 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 03 May 2004 - 09:50 PM

About the ISubsystem, as we are going to use Yake as integration library there is no reason while we want to keep xenoengine (as it should have been a replica of it)...

Details of Yake can be found here: http://yake.sourceforge.net

BTW, I will take out the xenoengine package from sourceforge and the vcproj file from sourceforge.

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#26 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 04 May 2004 - 02:24 AM

Find .sln file - it is the solution file, the collection of projects.
Then find in the menu Build-> Rebuild Solution (or Rebuild All???).
Then sit back and relax for 15-20 min (depending on the machine of course !!!).

EDIT: You would get warnings, but there must be no errors.

Also, what OGRE did you get? What version and where did you downloaded it from?

i got OGRE 0.13.1 from the Stable Releases on their website.
anyways, when i open the Solution file, it says it needs to convert the project files so they support this Visual Studio version, or else they'll have to be closed, so i say Yes to do it. then when it finishes doing that... well, it crashes :wacko:

EDIT: ok, i killed the program and opened the file again. it seems to be working fine now, so i go Build > Rebuild Solution and now... well, i'll tell you the results when it's done ;)

EDIT2: it finished building. i got plenty of Fatal Errors :( let's see...
- Demo_BspCollision fatal error LNK1104: cannot open file 'ReferenceAppLayer.lib'
- c:\XenocideCVS\ogrenew\RenderSystems\Direct3D9\include\OgreD3D9Prerequisites.h(41): fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory

ok, so they weren't that many, they just repeated themselves zillions of times! :whatwhat:

Edited by SupSuper, 04 May 2004 - 02:54 AM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#27 guyver6

guyver6

    Captain

  • Xenocide Programming Department
  • 599 posts

Posted 04 May 2004 - 03:49 AM

First of all I suggest getting Ogre from CVS, instruction how to do this is just as simple as how to download Xenocide from CVS, and that manual can be found on Ogre's page.
There's something like
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre login
so when you want to use TortoiseCVS, you create dir (ie. called "ogre"), then right-click on it, select CVS Checkout..., then left to the CVSROOT: you copy-paste pserver part of that above instruction, which is
:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ogre
then, at the very bottom where you have Module you type in
ogrenew
and then OK and TortoiseCVS will start checking out ogre for you. After it finishes you'll have new dir under "ogre" you created first called "ogrenew", to which your OGRE enviromental variable should point to. Next, download dependencies
and extract them (preserving directories) to "ogrenew".

Second, you should get DirectX SDK from M$, it's for free so feel free :naughty: to download it. Get it here
and here. I don't know if you need both, I just installed the second one and it works, but it's just an update so if you'd like to have all the examples and stuff that comes with the first one release, so i suggest getting both and installing them.

Now, you should be able to compile Ogre using .NET 2003 without any problems (i compiled last cvs version an hour ago without problems).

Guyver

EDIT: And remember that after setting enviromet variables you have to Logout then Login (WinXP/2k) or restart your machine (other wins), to make variables visible.

Edited by guyver6, 04 May 2004 - 04:54 AM.

Posted Image
Sourceforge: guyver6
LinkedIn: Andrzej Haczewski
"A good business idea, they say, can be explained in one sentence. Similarly, each program entity should have one clear purpose."

Join #xenocide at irc.freenode.net.

#28 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 04 May 2004 - 05:45 AM

SupSuper,

I suspect that you did not downloaded the dependencies. Yes, those mentioned by guyver. They are essential for OGRE compilation.

Having DirectX SDK is also 'a must', so do that if you have not done it yet.
mamutas@sourceforge.net

#29 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 04 May 2004 - 05:57 AM

SupSuper,

I suspect that you did not downloaded the dependencies. Yes, those mentioned by guyver. They are essential for OGRE compilation.

Having DirectX SDK is also 'a must', so do that if you have not done it yet.

actually i did download the dependencies. i didn't, however, download the directx sdk. why do you have to download so much stuff just to make games?!?!? :cussing:

edit: OMFG! THE DIRECTX SDK IS 185MB!!! :explode:

Edited by SupSuper, 04 May 2004 - 05:58 AM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#30 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 04 May 2004 - 09:54 AM

Hmm...

Theoretically OGRE does not need DirectX to run, as it run fine with OpenGL. I had SDK installed on my machine, that is why I did not get any errors.

What projects did you get errors in? If they are like DirectxxxxPlugin, then I hope you can ignore them, but you would need to use OpenGL to run the game.... Just a suggestion, I have not tested it.
mamutas@sourceforge.net

#31 guyver6

guyver6

    Captain

  • Xenocide Programming Department
  • 599 posts

Posted 04 May 2004 - 03:02 PM

Actually DX SDK is needed for input part of Ogre too.

Guyver
Posted Image
Sourceforge: guyver6
LinkedIn: Andrzej Haczewski
"A good business idea, they say, can be explained in one sentence. Similarly, each program entity should have one clear purpose."

Join #xenocide at irc.freenode.net.

#32 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 04 May 2004 - 03:16 PM

No way arround it yet... I saw some SDL stuff laying arround but it is either dead code, uncompleted port or other platform code..

DirectX is needed in game, because... well because of you use Microsoft DirectX platform or OpenGL, and the best option it seams is to use DirectX in Windows platforms anyway. OpenGL has been a mess since ATI and NVidia started to add so much extentions.

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#33 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 05 May 2004 - 02:14 AM

thank god i know a fellow programmer, so he can get me that stuff without problem :D
expect more ranting in a few days ;)

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#34 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 09 May 2004 - 01:22 AM

ok, i got OGRE to build correctly. i still had to copy the files from the DX9SDK to the proper OGRE folders so that it would find them instead of giving me errors, but it all works now.
now i've got problems building Xenocide. i've got the latest from the CVS and this is what i get when trying to build it:
- xenoui error PRJ0019: A tool returned an error code from "Post-Build copying..."
- c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(37): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
oh, and it also says that "The project file c:\XenocideCVS\devpack.net2003\compiler\xenoengine\xenoengine.vcproj is missing" whenever i open the Solution file.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#35 Hymie the Control Robot

Hymie the Control Robot

    Sergeant

  • Forum Members
  • PipPipPip
  • 50 posts

Posted 09 May 2004 - 02:13 PM

ok, i got OGRE to build correctly. i still had to copy the files from the DX9SDK to the proper OGRE folders so that it would find them instead of giving me errors, but it all works now.
now i've got problems building Xenocide. i've got the latest from the CVS and this is what i get when trying to build it:
- xenoui error PRJ0019: A tool returned an error code from "Post-Build copying..."
- c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(37): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
oh, and it also says that "The project file c:\XenocideCVS\devpack.net2003\compiler\xenoengine\xenoengine.vcproj is missing" whenever i open the Solution file.

I can't really help you with the Xenocide stuff, since I haven't got it built yet, :( but for the DX9 includes, you shouldn't have to copy anything.

Make sure in your include directory list that you have %DX9InstallDir%/include at the top of the list, and %DX9InstallDir%/lib at the top of the lib list, where DX9InstallDir is your install directory for the DX9 SDK. The SDK install should've added those to your Visual Studio settings, but you never know...

#36 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 10 May 2004 - 08:46 AM

i've got the latest from the CVS and this is what i get when trying to build it:
- xenoui error PRJ0019: A tool returned an error code from "Post-Build copying..."
- c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(37): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
oh, and it also says that "The project file c:\XenocideCVS\devpack.net2003\compiler\xenoengine\xenoengine.vcproj is missing" whenever i open the Solution file.

RK's call here.
There are some changes in the process, so it seems like they are not finished yet.
mamutas@sourceforge.net

#37 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 10 May 2004 - 09:04 AM

Thats is because I forgot to announce that the Patform Devpacks binaries + libraries (aka dependencies) are going to be offloaded from sourceforge to the main site because they do not change as often as to justify the extra bandwidth and storage on sourceforge (that is quite limited).

You can download the devpack from here: http//www.projectxenocide.com/Source/devpack.net2003.zip

Greetings
Red Knight

Edited by red knight, 10 May 2004 - 09:05 AM.

Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#38 Hymie the Control Robot

Hymie the Control Robot

    Sergeant

  • Forum Members
  • PipPipPip
  • 50 posts

Posted 12 May 2004 - 10:08 PM

Thats is because I forgot to announce that the Patform Devpacks binaries + libraries (aka dependencies) are going to be offloaded from sourceforge to the main site because they do not change as often as to justify the extra bandwidth and storage on sourceforge (that is quite limited).

You can download the devpack from here: http//www.projectxenocide.com/Source/devpack.net2003.zip

Greetings
Red Knight

I was trying to compile the project, and I found a little typo in the .sln file. In the Xenocommon project, under Interfaces/Behavior, for the ICarrier.* files, the directory for them is entered as /xenocide/src/datainterfaces/behaivior/. There's an extra "i" in the word behavior, which makes it unable to find the files. Under CVS the directory is /xenocide/src/datainterfaces/behavior/

Can someone please change that? Thanks.

Also, when I'm trying to compile Networklib, there's a file called "constants.cpp" that's missing. I can't find it in CVS. Is there such a file?
And in Paqfiles, it complains about not having a couple of headers, "progressIndicator.h", and "AdvancedRuntimeException.h". I can't find them in the Visual C++ include directory, the OGRE include directories, or the Xenocide include directories. Where are they from?

Any help on these would be greatly appreciated, thank you all.

#39 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 13 May 2004 - 05:12 AM

Hi Hymie,

Dont compile PAQ Files as that is outdated (was never ported to the Net2003 compiler)... However as it is a simple task, do you want to take it? If you need more details http://www.xcomufo.c...topic=1008&st=0 and if you still need them join me at IRC.

About the constants stuff, you may have updated while the Anonymous CVS was replicating, cause I found that after a couples of hours of commit and I commited a patch for it. Always remember that the code is changing constantly, the safer route is to do an update every time you sit down to program (that is specially true this days with Network Library). The same for the behavior stuff, it was pointed out by guyver and corrected after he had said me, probably that was caused because of you having an old devpack or an old xenocide package.

EDIT: Ive done a checkout and I can confirm that the CVS version is right.

Greetings
Red Knight

Edited by red knight, 13 May 2004 - 05:18 AM.

Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#40 Hymie the Control Robot

Hymie the Control Robot

    Sergeant

  • Forum Members
  • PipPipPip
  • 50 posts

Posted 13 May 2004 - 12:33 PM

Hi Hymie,

Dont compile PAQ Files as that is outdated (was never ported to the Net2003 compiler)... However as it is a simple task, do you want to take it? If you need more details http://www.xcomufo.c...topic=1008&st=0 and if you still need them join me at IRC.

About the constants stuff, you may have updated while the Anonymous CVS was replicating, cause I found that after a couples of hours of commit and I commited a patch for it. Always remember that the code is changing constantly, the safer route is to do an update every time you sit down to program (that is specially true this days with Network Library). The same for the behavior stuff, it was pointed out by guyver and corrected after he had said me, probably that was caused because of you having an old devpack or an old xenocide package.

EDIT: Ive done a checkout and I can confirm that the CVS version is right.

Greetings
Red Knight

Thanks. I'll try to update my CVS directory as much as possible. Is the latest devpack always at: http//www.projectxenocide.com/Source/devpack.net2003.zip ?

I'll take the task of porting PAQfiles, and I'll work on it as soon as I get home from work. RK, can I PM you if I have any questions? Or is IRC your preferred choice? Which IRC channel do you use?

#41 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 13 May 2004 - 12:43 PM

We use IRC Channel #projectxenocide at Gamesurge (irc.gamesurge.com) ... if you find me in IRC it is far better cause It will be more interactive. Your preference there.

Devpack dont change too much, remember that in the devpack module in the CVS it is still stored the project files, so you have to update that too.

Greetings
Red Knight

Edited by red knight, 13 May 2004 - 12:44 PM.

Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#42 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 13 May 2004 - 03:13 PM

thx for all ur help. got everything updated from CVS as well as the devpack, red knight.
you were right Hymie, SDK didn't add the directories so i had to add them myself. OGRE now built sucessfully. now i just get this many messages when compiling xenocide:

xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z) referenced in function "public: static class Xenocide::Client::UI::StartScreen::StartScreenUI * __cdecl Xenocide::Client::UI::StartScreen::StartScreenUI::getInstance(void)" (?getInstance@StartScreenUI@StartScreen@UI@Client@Xenocide@@SAPAV12345@XZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z) referenced in function "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z) referenced in function "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
xenoui fatal error LNK1120: 4 unresolved externals
networklib fatal error LNK1104: cannot open file '\XenocideCVS\utility\intermediate\networklib\Debug\constants.obj'

:wacko:

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#43 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 13 May 2004 - 03:26 PM

hmm...
what version of OGRE do you have?
mamutas@sourceforge.net

#44 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 13 May 2004 - 03:58 PM

It doesnt matters what Version he has... that is a linking time problem, you either are not compiling correctly the OGRE or you didnt link the OGRE library (that means you tryied to compile xenoengine without compiling first OGRE)...

On the other side the last message talking about constants is the same thing I posted in the last 2 messages.

Most importantly, do a CVS update, a clean and a rebuild of the whole stuff everytime you happen to have this sort of trouble. As the build process is very automatic (most of the things happen without you knowing about it - like moving files arround and that stuff) but sometimes it can catch you in interproject dependencies.

Greetings
Red Knight

Edited by red knight, 13 May 2004 - 04:01 PM.

Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#45 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 28 May 2004 - 04:05 AM

ok, i think i'm gonna give up on this programming thing. i've tried to delete everything i've got and then getting it all over again from CVS, i've got the latest version of OGRE, i've compiled OGRE zillions of times, but compiling Xenocide still gives me lots of errors!!! :cussing:

c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2143: syntax error : missing ';' before '<'
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2143: syntax error : missing ';' before '<'
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2238: unexpected token(s) preceding ';'
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2238: unexpected token(s) preceding ';'
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2653: 'boost' : is not a class or namespace name
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2653: 'boost' : is not a class or namespace name
c:\XenocideCVS\xenocide\src\datainterfaces\objects\iaircraft.h(19): error C2955: 'Xenocide::Behavior::ICarrier' : use of class template requires template argument list
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z) referenced in function "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z) referenced in function "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z) referenced in function "public: static class Xenocide::Client::UI::StartScreen::StartScreenUI * __cdecl Xenocide::Client::UI::StartScreen::StartScreenUI::getInstance(void)" (?getInstance@StartScreenUI@StartScreen@UI@Client@Xenocide@@SAPAV12345@XZ)
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
c:\XenocideCVS\utility\src\utility\networklib\networklibcommon.h(41): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
xenoui fatal error LNK1120: 4 unresolved externals

quite personally, I'VE HAD IT! maybe i'll go do some overlay scripts for the UI or something, but as far as this goes, i've had it with getting lots of bloody errors or needing this or that!!! :whatwhat:

Edited by SupSuper, 28 May 2004 - 04:06 AM.

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#46 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 28 May 2004 - 05:48 AM

You didnt downloaded the dependencies from the Xenocide Site (not CVS as they are far bigger to get from CVS)... That is the error that it is showing.

There is an sticky post in this forum about how to download them.

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.

#47 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 28 May 2004 - 06:56 AM

whoops, after so much hassle i forgot to put them in again :Blush:
still, that only cut down the number of errors to this:

xenoui fatal error LNK1120: 4 unresolved externals
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2143: syntax error : missing ';' before '<'
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2143: syntax error : missing ';' before '<'
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2238: unexpected token(s) preceding ';'
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2238: unexpected token(s) preceding ';'
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2653: 'boost' : is not a class or namespace name
c:\XenocideCVS\xenocide\src\datainterfaces\behavior\icarrier.h(21): error C2653: 'boost' : is not a class or namespace name
c:\XenocideCVS\xenocide\src\datainterfaces\objects\iaircraft.h(19): error C2955: 'Xenocide::Behavior::ICarrier' : use of class template requires template argument list
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: unsigned int __thiscall Ogre::MemoryManager::_getProcessID(void)" (__imp_?_getProcessID@MemoryManager@Ogre@@AAEIXZ) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void * __thiscall Ogre::MemoryManager::op_new_sc(unsigned int,unsigned int)" (__imp_?op_new_sc@MemoryManager@Ogre@@AAEPAXII@Z) referenced in function "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z) referenced in function "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) private: void __thiscall Ogre::MemoryManager::op_del_sc(void *,unsigned int)" (__imp_?op_del_sc@MemoryManager@Ogre@@AAEXPAXI@Z) referenced in function "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
xenoui error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall Ogre::MemoryManager::setOwner(char const *,unsigned int,char const *)" (__imp_?setOwner@MemoryManager@Ogre@@QAEXPBDI0@Z) referenced in function "public: static class Xenocide::Client::UI::StartScreen::StartScreenUI * __cdecl Xenocide::Client::UI::StartScreen::StartScreenUI::getInstance(void)" (?getInstance@StartScreenUI@StartScreen@UI@Client@Xenocide@@SAPAV12345@XZ)
networklib fatal error LNK1104: cannot open file '\XenocideCVS\utility\intermediate\networklib\Debug\constants.obj'


too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#48 mamutas

mamutas

    Colonel

  • Forum Members
  • PipPipPipPipPip
  • 1,067 posts

Posted 28 May 2004 - 09:21 AM

Did you also installed 3rd party libs for MSVC?
You can get them from here: http://www.ogre3d.or...sdownload&sid=3.

And don't be frustrated! That is the biggest part of programmers job to overcome difficulties and to figure out the issues. Trust me on that!
mamutas@sourceforge.net

#49 SupSuper

SupSuper

    Programming Department

  • Xenocide Programming Department
  • 2,418 posts

Posted 28 May 2004 - 01:36 PM

Did you also installed 3rd party libs for MSVC?
You can get them from here: http://www.ogre3d.or...sdownload&sid=3.

And don't be frustrated! That is the biggest part of programmers job to overcome difficulties and to figure out the issues. Trust me on that!

of course i did or OGRE wouldn't compile.

i get frustated easily. specially with this :P
anyways, what's up with the icarrier.h file giving syntax errors anyways? is it because it's a WIP? (i've seen lots of discussion on it on the mailing list)

too bad, now you will never know the ancient secrets of supsupers long gone avatar ;)

Posted Image


#50 red knight

red knight

    Xenocide Project Leader

  • Xenocide Inactive
  • 3,310 posts

Posted 28 May 2004 - 03:41 PM

No, it is because you dont have the dependencies installed properly (name it Boost library) that is because the compiler doesnt understand the type (that is a template) so it screams saying that you have a syntax problem while the problem is not founding the proper template. (Common templates problems).

Greetings
Red Knight
Sourceforge Nick: flois - Federico Andres Lois
Visit my blog at: flois.blogspot.com

Posted Image

Pookie cover me, I am going in.