Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Source Code Project > Help: Compiling CTP2 against DXSDK 9.0 only
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:34
  Old Post 05-08-2004 21:13
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Help: Compiling CTP2 against DXSDK 9.0 only Support Apolyton, buy GURPS/ Alpha Centauri

I figured out by accident (hardlocks on new win98 setup ), that some of us using DX90SDK might link DirectShow against the DXMedia libs, which were designed for DX7.0 and have been consolidated into DX SDK from about 8.x on.
I guess compiling against the libs of the same SDK might give some stability improvements, so i started that way:


  • open civctp.dsw
  • remove DXMedia includes from path settings
  • add C:\DXSDK\Samples\C++\DirectShow\BaseClasses as a top include path (below DXSDK\include)
  • open C:\DXSDK\Samples\C++\DirectShow\BaseClasses\basecl
    asses.dsw
  • compile at least the release and debug version
  • delete/move libs\DXMedia out of the ctp2 source path
  • add C:\DXSDK\Samples\C++\DirectShow\BaseClasses\Releas
    e and C:\DXSDK\Samples\C++\DirectShow\BaseClasses\Debug to the libraries search path
  • open civctp.dsw again
  • remove ..\libs\dxmedia\lib\ prefix for each dxmedia .lib in linker section of ctp2.


Now, i'm stuck at this (everything compiles, but CivCTP_dbg.exe/CivCTP.exe does not link):
code:
Linker-Vorgang läuft... LINK : warning LNK4075: /INCREMENTAL wird auf Grund der Angabe von /DEBUGTYPE ignoriert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IKsPropertySet bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IReferenceClock bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDrawColorControl bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDrawClipper bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDrawPalette bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDrawSurface7 bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDrawSurface4 bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDrawSurface3 bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDrawSurface2 bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDrawSurface bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDraw2 bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _IID_IDirectDraw bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _CLSID_DirectDrawClipper bereits in WldGen.obj definiert strmbasd.lib(strmiids.obj) : error LNK2005: _CLSID_DirectDraw bereits in WldGen.obj definiert strmbasd.lib(wxutil.obj) : error LNK2001: Nichtaufgeloestes externes Symbol __imp__SysAllocString@4 strmbasd.lib(wxutil.obj) : error LNK2001: Nichtaufgeloestes externes Symbol __imp__SysFreeString@4 CivCTP_dbg.exe : fatal error LNK1120: 2 unaufgeloeste externe Verweise Fehler beim Ausführen von link.exe.


So some COM-Symbols of DirectX already exist in WlgGen.obj, while some of strmbasd.lib seems to need some extra lib.
Any suggestions where to search for removal of those symbols and which library might contain the last two symbols?

PS: The temporary resolution for hardlocks with DXMedia 6.0 together with DirectX 9.0b and the NVidia Driver 61.76 is installing the graphics driver twice and the rest in a certain sequence. Because DXMedia contains the oldest libraries, this installation sequence worked for me:

  1. Win98 SE
  2. Nvidia Driver (just for resolution)
  3. CTP2 (installs included DXMedia)
  4. DXMedia 6.0 SDK
  5. NVidia Driver remove/reinstall
  6. DirectX 9.0b SDK

Fromafar is offline Fromafar
Prince

May 2003
time: 06:34
  Old Post 06-08-2004 20:35
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Inflate your Upload Space

According to the MSDN library, SysAllocString and SysFreeString are from oleaut32.lib.

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:34
  Old Post 08-08-2004 20:06
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Civilization 2

thanks fromafar
fixing the duplicate symbols was removing the #define INITGUID in wldgen.cpp and just making the ctp2 com stuff to be linked into wldgen.obj ...
took some time to find that out, inbetween the duplicate symbols increased beyond 400

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:34
  Old Post 22-09-2004 06:21 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Got spare money?

Ok I have forgotten just about everything I knew 14 years ago about programming so a stupid question...

Following the steps in ctplinuxfan's very helpful getting started guide I got as far as
quote:
3.1.3.2 Start the build
Run Build - CivCTP dbg.exe. Have yourself a break while the source compiles. This lasts about
20 - 30 minutes, but will vary depending on your system.

When I received the following error:

code:
--------------------Configuration: Crater - Win32 Debug-------------------- Compiling... Crater.cpp c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(305) : error C2146: syntax error : missing ';' before identifier 'dwReserved1' c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(305) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(305) : error C2501: 'dwReserved1' : missing storage-class or type specifiers c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(306) : error C2146: syntax error : missing ';' before identifier 'dwReserved2' c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(306) : error C2501: 'DWORD_PTR' : missing storage-class or type specifiers c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\dsound.h(306) : error C2501: 'dwReserved2' : missing storage-class or type specifiers c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\mmstream.h(99) : error C2065: 'DWORD_PTR' : undeclared identifier c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\mmstream.h(99) : error C2146: syntax error : missing ')' before identifier 'dwParam' c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\mmstream.h(99) : error C2165: 'left-side modifier' : cannot modify pointers to data c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\mmstream.h(99) : error C2071: 'PAPCFUNC' : illegal storage class c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\mmstream.h(99) : error C2059: syntax error : ')' c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\mmstream.h(668) : error C2061: syntax error : identifier 'DWORD_PTR' c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\mmstream.h(809) : error C2061: syntax error : identifier 'DWORD_PTR' c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\strmif.h(1018) : error C2146: syntax error : missing ';' before identifier 'HSEMAPHORE' c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\strmif.h(1018) : error C2378: 'DWORD_PTR' : redefinition; symbol cannot be overloaded with a typedef c:\program files\microsoft directx 9.0 sdk (summer 2004)\include\strmif.h(1018) : fatal error C1004: unexpected end of file found Error executing cl.exe. CivCTP_dbg.exe - 16 error(s), 0 warning(s)


HELP!

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:34
  Old Post 22-09-2004 23:42 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

This looks like the kind of error you get when your include directories are in the wrong order - if they aren't already, you might try putting the DXMedia paths before the DirectX ones...

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:34
Post  Old Post 23-09-2004 18:29 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Enter the AD-FREE zone

Afterwards I added the changes concerning the DirectX stuff I had to change the directory order as well. Unfortunatly I get an error message about a missing component, unfortunatly the error message does not tell me which component is missing.

-Martin

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:34
Wink  Old Post 23-10-2004 09:04 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Help, I've fallen and can't reach my beer.... Support Apolyton or Terrorists Win

Following the steps in ctplinuxfan's very helpful Getting Started Guide, I did the following:


  • 2.1.2 Install Civilization Call to Power II
    - already done, now using playtest
  • 2.1.3 Install the CtP2 1.11 patch
    - already done, now using playtest
  • 2.1.4 Backup your CtP2 directory
    - did not do
  • 2.1.5 Install MS Visual C++ 6.0
    - installed Standard Edition, Service Pack 4 which came with it and MSDN Library that came with it. Downloaded and installed Visual Studio 6.0 Service Pack 6
  • 2.1.6.2 Alternative 2: Using the latest DirectX SDK
    - Downloaded and installed DirectX 9.0 Complete Software Development Kit (SDK) and then downloaded and installed DirectX 9.0 SDK Update - (October 2004) to a different folder because it forced me to.
    - The directories were already in the IDE options when I looked, Oct'04 first then complete then the VC directories.
    The DirectShow BaseClasses workspace file,
    ...\DirectShow\BaseClasses\baseclasses.dsw was only in the first DXSDK not the Oct'04 one. I successfully built the two .lib files and added the include directories under options.
    Should I download and install the other 2 DX 9.0 SDK Updates, and add them to the include directories?
  • 2.1.7 Optional: Install Simple DirectMedia Layer libraries
    - Did not do
  • 2.1.8 Unpacking the source
    - Already done.
  • 2.1.9 Setup your environment variables
    - Already done.
  • 2.1.10 Create a tmp directory
    - Already done.
  • 2.1.11 Reboot
    - Skipped
  • 2.1.12 Obtain latest ALL patch from CtP2 Source Code Project
    - 2004-09-13 All already added
  • 2.1.13 Optional: Get up to date until latest post
    - 1 or 2 alreaded added.
  • 3.1.3.1 Set the active configuration and 3.1.3.2 Start the build


code:
--------------------Configuration: Crater - Win32 Debug-------------------- Compiling... Crater.cpp Linking... Creating library Crater_0/Crater.lib and object Crater_0/Crater.exp --------------------Configuration: fault - Win32 Debug-------------------- Compiling... FaultGen.cpp Linking... Creating library fault__0/fault.lib and object fault__0/fault.exp --------------------Configuration: geometric - Win32 Debug-------------------- Compiling... FaultGen.cpp Geometric.cpp Linking... Creating library geometr0/geometric.lib and object geometr0/geometric.exp --------------------Configuration: Plasma2 - Win32 Debug-------------------- Compiling... PlasmaGen2.cpp Linking... Creating library Debug/plasma2.lib and object Debug/plasma2.exp --------------------Configuration: dbgen - Win32 Debug-------------------- Performing Custom Build Step on .\ctpdb.y 'C:\Program' is not recognized as an internal or external command, operable program or batch file. Error executing c:\windows\system32\cmd.exe. CivCTP_dbg.exe - 1 error(s), 0 warning(s)


OK something is having a problem with the space in 'Program Files'

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:34
Angry  Old Post 23-10-2004 15:40 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame



I'm going to bed

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:34
  Old Post 23-10-2004 19:49
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Lose 30 kilos (of popups)

quote:

Performing Custom Build Step on .\ctpdb.y


Vovan and RalphTrickey pointed this out in the "Getting the source to compile"
thread:

quote:

Something I found out is that the custom build steps don't like spaces in your
path, like RalphTrickey said. I had the following error when building:
"C:/Documents" not found. Or something along these lines. The solution was to
copy the bison and yacc files into a folder with no spaces, like "C:\cdk_dir"
and put that into the CDKDIR environment variable

The next problem was that my sources were also in a path with spaces in it
And sure enough yacc didn't like it... And sure enough, into a directory with
no spaces the source went. That's a bit of copying around, but hey, I didn't
have to do the yacc and bison stuff manually.


I didn't notice that either and if you check that thread, you'll find me
banging my head against the screen some pages later wondering why it won't
work for me.

Anyway, when I set the project up as C:\Activision\CTP2\... it worked fine.

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:34
Angry  Old Post 23-10-2004 23:59 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
And now we do... Support Apolyton buy from Amazon



I reinstalled DirectX to C:\DX9SDK\
I reinstalled the CTP2 source to C:\CTP2code\

I get the same error!

My C++ is still in C:\Program Files\Microsoft Visual Studio\
Do I have to reinstall that to something like C:\VisualC\ ???

kaan is offline kaan
Prince
Aarhus
Mar 2001
time: 05:34
  Old Post 24-10-2004 00:28
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Re: And now we do... Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by Flinx


I reinstalled DirectX to C:\DX9SDK\
I reinstalled the CTP2 source to C:\CTP2code\

I get the same error!

My C++ is still in C:\Program Files\Microsoft Visual Studio\
Do I have to reinstall that to something like C:\VisualC\ ???


have you changed your cdkdir variable?

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:34
  Old Post 24-10-2004 01:34 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Doh! Increase Your PM Length

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:34
  Old Post 24-10-2004 03:34 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Almost Full PM-box? Change here!



code:
Compiling... c3cmdline.cpp C:\CTP2code\ctp2_code\ctp\ctp2_utils\c3cmdline.cpp(6331) : error C2039: 'min' : is not a member of 'std' C:\CTP2code\ctp2_code\ctp\ctp2_utils\c3cmdline.cpp(6331) : error C2065: 'min' : undeclared identifier C:\CTP2code\ctp2_code\ctp\ctp2_utils\c3cmdline.cpp(6331) : error C2275: 'sint32' : illegal use of this type as an expression c:\ctp2code\ctp2_code\ctp\c3types.h(24) : see declaration of 'sint32' SlicFunc.cpp c:\ctp2code\ctp2_code\robot\aibackdoor\dynarr.h(351) : error C2589: '(' : illegal token on right side of '::' c:\program files\microsoft visual studio\vc98\include\utility(21) : while compiling class-template member function 'void __thiscall DynamicArray::ResizeCreate(const long,class MapPoint *& )' c:\ctp2code\ctp2_code\robot\aibackdoor\dynarr.h(351) : error C2059: syntax error : '::' c:\program files\microsoft visual studio\vc98\include\utility(21) : while compiling class-template member function 'void __thiscall DynamicArray::ResizeCreate(const long,class MapPoint *& )' slicfuncai.cpp Foreigner.cpp ProposalAnalysis.cpp Generating Code... Error executing cl.exe. CivCTP_dbg.exe - 5 error(s), 0 warning(s)

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:34
  Old Post 25-10-2004 00:17
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Did you try Rebuild All after that?

Solver had a similar error with std::max being undefined and sint32 errors, Fromafars suggestion to Rebuild All helped here

Anyway, i updated the documentation to contain the space problem.
If anybody else encounters that problem, he could try to quote the path in the CDKDIR variable, first, e.g.

code:
set CDKDIR="C:\Program Files\CTP2 Source Directory"


or use the DOS 8.3 names (or both):
code:
set CDKDIR="C:\PROGRA~1\CTP2~1"


Updated pdf is at this post, sources in altered source files thread.

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:34
  Old Post 25-10-2004 19:04 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Remove this text

I fixed CDKDIR and did do a rebuild all after I got thoses errors. I assume everything is working now. I got one error as a result of some code from calvitix. I'll fix that tonight and see if everything works.

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:34
Talking  Old Post 26-10-2004 06:00 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
It works! Help yourself to an AD-FREE life

And now I do the dance of joy

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:34
Post  Old Post 16-05-2005 03:13 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

When I try to compile against DirectX 9.0b I get these errors:

code:
--------------------Konfiguration: ctp2 - Win32 Debug-------------------- Linker-Vorgang läuft... amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IDvdGraphBuilder bereits in strmbasd.lib(strmiids_guid352.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IDvdInfo bereits in strmbasd.lib(strmiids_guid351.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IDvdControl bereits in strmbasd.lib(strmiids_guid350.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IGraphBuilder bereits in strmbasd.lib(strmiids_guid309.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IBaseFilter bereits in strmbasd.lib(strmiids_guid289.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IMediaEventEx bereits in strmbasd.lib(strmiids_guid271.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IMediaControl bereits in strmbasd.lib(strmiids_guid269.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _IID_IMixerPinConfig bereits in strmbasd.lib(strmiids_guid180.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _FORMAT_WaveFormatEx bereits in strmbasd.lib(strmiids_guid162.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _FORMAT_VideoInfo bereits in strmbasd.lib(strmiids_guid160.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _CLSID_DvdGraphBuilder bereits in strmbasd.lib(strmiids_guid157.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _CLSID_OverlayMixer bereits in strmbasd.lib(strmiids_guid134.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _CLSID_FilterGraph bereits in strmbasd.lib(strmiids_guid90.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_MPEG1Packet bereits in strmbasd.lib(strmiids_guid38.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_Overlay bereits in strmbasd.lib(strmiids_guid37.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_RGB32 bereits in strmbasd.lib(strmiids_guid36.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_RGB24 bereits in strmbasd.lib(strmiids_guid35.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_RGB555 bereits in strmbasd.lib(strmiids_guid34.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_RGB565 bereits in strmbasd.lib(strmiids_guid33.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_RGB8 bereits in strmbasd.lib(strmiids_guid32.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_RGB4 bereits in strmbasd.lib(strmiids_guid31.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIASUBTYPE_RGB1 bereits in strmbasd.lib(strmiids_guid30.obj) definiert amstrmid.lib(strmiids.obj) : error LNK2005: _MEDIATYPE_Audio bereits in strmbasd.lib(strmiids_guid1.obj) definiert CivCTP_dbg.exe : fatal error LNK1169: Ein oder mehrere mehrfach definierte Symbole gefunden Fehler beim Ausführen von link.exe. CivCTP_dbg.exe - 24 Fehler, 0 Warnung(en)


Any ideas except removing strmbasd.lib or amstrmid.lib?

-Martin

tombom is offline tombom
Chieftain
Pining for the fjords
Oct 2004
time: 05:34
  Old Post 16-05-2005 11:11
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by Martin Gühmann
Any ideas except removing strmbasd.lib or amstrmid.lib?

-Martin


No. I removed strmbasd.lib and everything has worked fine.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:34
Post  Old Post 16-05-2005 21:56 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Full PM-box? Change here!

quote:
Originally posted by tombom
No. I removed strmbasd.lib and everything has worked fine.


That doesn't work for Win32 Debug and VC++ 6.0.

And actual I have something in mind that works for all, whether they use DirectX 7.0 or 9.0, whether they use VC++ 6 or VC++ 7.

-Martin

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:34
Post  Old Post 18-05-2005 22:51 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Browse Apolyton AD-FREE

Well I was able to compile a debug version, the only functional change I see now in civctp.dsp is line 93:

# SUBTRACT LINK32 /pdb:none

instead of

# SUBTRACT LINK32 /verbose /profile

One thing I have to note is that the game seems to run faster with DirectX 9.0b.

-Martin

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:34
Post  Old Post 20-05-2005 03:54 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Remove this text

Well obviously I need to save the civctp.dsp first, before I find a change. Obviously I swapped the link order of strmbasd.lib or amstrmid.lib. So it now links amstrmid.lib first and then strmbasd.lib.

-Martin

Uchuu-kun[SM42] is offline Uchuu-kun[SM42]
Chieftain

May 2002
time: 23:34
  Old Post 28-05-2005 21:41 Visit Uchuu-kun[SM42]'s homepage!
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Help yourself to an AD-FREE life

You know, an easier way than moving all the directories would have been shortening the directory name to 8 characters - c:\Program Files\ would become c:\progra~1\ and so on. Of course, if you have multiple directories starting with Progra- then you'd have to change the numbers... but that's generally not the case.

In the references, I mean - not actually renaming the directories. First six non-space characters, then the ~1 ending.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:34.
Apolyton Time is 00:34.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0785 seconds (93.05% PHP - 6.95% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net