hmmm...I ordered like you said for include and lib but still get the 70 errors...
Announcement
Collapse
No announcement yet.
COMPILE: Getting the source to compile
Collapse
This is a sticky topic.
X
X
-
-
Maybe you should have a closer look on the directory there is an Apolyton version of the readme.Originally posted by E
I don't see it in the readme posted here:
There everything is explained except that the directories for DirectX9 are:
C:\DXSDK\Include
C:\DXSDK\Samples\C++\DirectShow\BaseClasses
for include directories, and
C:\DXSDK\Lib
C:\DXSDK\Samples\C++\DirectShow\BaseClasses\Debug_ Unicode
for lib directories.
Well this problem still exists with the revision 643. But I think I have found a solution.Originally posted by E
EDIT: but now that I added it. It compiles, well except I get the same errors that tombom reported.
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
-
hm, i don't have this folder I'm using DX90SDK which I believe was the same as beforeOriginally posted by Martin Gühmann
C:\DXSDK\Samples\C++\DirectShow\BaseClasses\Debug_ Unicode
-Martin
Comment
-
Well for some reason MSVS wasn't able to find the file strmbasd.lib and I found it in the directory mentioned above, but it can also be found in C:\Programme\Microsoft Visual Studio\VC98\Lib.Originally posted by E
hm, i don't have this folder I'm using DX90SDK which I believe was the same as before
Well never mind about this issue.
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
-
The DirectShow-folders where removed from the DirectX SDK as of August 2006. They can now be found in the Platform SDK. I haven't tested if that works "out of the box" though. Why don't you give it a try and report back?Originally posted by E
hm, i don't have this folder I'm using DX90SDK which I believe was the same as beforeSo much to do in so little time...
Comment
-
THanks,
I messed with it this weekend and finally got it working. What I need was under executables is the directX/utilities. I'll post what my set-up is for any future commpilers (myself included
)
And 645 compiled completely so I'lll go back to putting up my playtest builds as well.
Comment
-
I did something bad.
I noticed that when cdb's were added to the code civctp.dsp was modified. I tried to hand modify it and things went bad.
So I deleted my edited version and restored from svn the old. but now for some reason I cant get any of the ctps as active configurations I only get crater, plasma, dbgen, fault, geometric - ctp2 is grayed out.
What the hell did I do and more importantly - how do I fix it? thanks
Comment
-
From your description, it looks like you tried to edit civctp.dsp, which explicitly states in line 3
meaning ** DO NOT EDIT **. This is one of the files managed by Visual Studio, so you should not be editing this file by hand.Code:# ** NICHT BEARBEITEN **
I think you'd best restore all .dsp and .dsw files from the archive, do a full rebuild of all projects, and use the IDE to add files.
Comment
-
Originally posted by Fromafar
From your description, it looks like you tried to edit civctp.dsp, which explicitly states in line 3
meaning ** DO NOT EDIT **. This is one of the files managed by Visual Studio, so you should not be editing this file by hand.Code:# ** NICHT BEARBEITEN **
I think you'd best restore all .dsp and .dsw files from the archive, do a full rebuild of all projects, and use the IDE to add files.
will give it a go. what's IDE? do I just add files to the project by using the interface in vc++ 6.0 or do i have to modify a file somwhere?
Yeah my German isn't so good. I expected VERBOTEN
Comment
-
Next time, you should use the revert option from TortoiseSVN, that's the use of it.Originally posted by E
So I deleted my edited version and restored from svn the old.
An IDE is an Integrated Developement Environment, something like MSVS, something that contains an editor, project file management with the file tree, a compiler and a linker and some other stuff that makes your life much easier. And of course you use MSVS to modify projects.Originally posted by E
will give it a go. what's IDE? do I just add files to the project by using the interface in vc++ 6.0 or do i have to modify a file somwhere?
Originally posted by E
Yeah my German isn't so good. I expected VERBOTEN
DO NOT FORBIDDEN
If you need an online dictionary here is one:
Civ2 military advisor: "No complaints, Sir!"
Comment
-
i deleted the dsw and dsp files and updated to get the latest from the svn but my active configurations only have:
crater, plasma2, dbgen, fault, and geometric
civctp is gone so it wont compile a ctp2.exe or a debug.exe how do I get that back?
EDIT:
I just deleted all files in the ctp folder and started again and ctp came back. so I'm not sure where the problem was stored at but i got it working again.
thanks for the helpLast edited by Ekmek; February 23, 2007, 17:40.
Comment
-
I updated to service pack 6 to my MSVC you told me to do that before. does this now optimize my builds?
Comment
-
The service pack seems to replace the compiler, in that case your bulds are now optimized. But you get also a message about it: The introductory version compiler complains about some options that it does not support if those message are gone then you are fine.Originally posted by E
I updated to service pack 6 to my MSVC you told me to do that before. does this now optimize my builds?
But of course we have to test first whether this works. So you have to compile the code. By the way the compiler change requires a rebuilt of the exe anyway. But of course it would be nice to know whether this works at all.
-MartinCiv2 military advisor: "No complaints, Sir!"
Comment
-
I updated the service pack awhile ago and did playtests myself with is but this wis all after the 700 build IIRC. Once I finish these options I commit my latest(and after you guys point out all my mistakes) then I'll release another revivision buildOriginally posted by Martin Gühmann
But of course it would be nice to know whether this works at all.
-Martin
Comment
Comment