 |
|
Mr Ogre
|
|
Azeroth
Jan 1970 time: 05:31
|
|
UNITS and MILLISECONDS are defined in DXMedia/Classes/base/reftime.h. If you are getting those errors, you probably don't have DXMedia set up properly. Make sure you do it exactly like I said in my last post.
I suspect your link errors are a related problem, those look like DXMedia or DirectX functions to me.
|
|
|  |
 |
|
DDowell
|
|
Västerås, Sweden
Nov 2001 time: 06:31
|
|
quote: Originally posted by Martin Gühmann
...Compiling or something like this and it is the fifth entry of that sub menue in the German version it is called Bereinigen and I didn't find a good translation for it maybe delete.
-Martin |
It is called 'clean'. Unfortunately, it doesn't help.
In regard to Mr. Ogre's comment, this is what my project settings look like:
code:
Include:
G:\PROGRAM\DXSDK\INCLUDE
G:\PROGRAM\DXMEDIASDK\INCLUDE
G:\PROGRAM\DXMEDIASDK\CLASSES\BASE
g:\Program\Microsoft\Visual Studio\VC98\INCLUDE
g:\Program\Microsoft\Visual Studio\VC98\MFC\INCLUDE
g:\Program\Microsoft\Visual Studio\VC98\ATL\INCLUDE
Library:
G:\PROGRAM\DXSDK\LIB
G:\PROGRAM\DXMEDIASDK\LIB
g:\Program\Microsoft\Visual Studio\VC98\LIB
g:\Program\Microsoft\Visual Studio\VC98\MFC\LIB
The library order doesn't seem to matter as far as the link is concerned.
|
|
|  |
 |
|
DDowell
|
|
Västerås, Sweden
Nov 2001 time: 06:31
|
|
Finally!!!! It compiles!
Seems like my linking problem was due to the inclusion of multimon.h in display.h instead of in display.cpp.
After I included it in display.cpp (and display.h) the linking went fine!
(Does this imply that display.h is not defined properly?)
|
|
|  |
 |
|  |
 |
|  |
 |
|
Fromafar
|
|
The black screen may be caused because you are running the debug version. The release and final versions work for me.
However, it took some extra work to build those, because the production rules for most of the lex and yacc files were missing in the projects. You have to right-click on the individual files, select Settings, go to the Custom Build tab, and copy the Commands and Output fields from the debug version. Here is the list of files to check:
ctp2\gs\slic\slic.l
ctp2\gs\slic\slic.y
ctp2\gs\slic\sliccmd.l
ctp2\gs\slic\sliccmd.y
ctp2\gs\newdb\DBlexer.l
ctp2\ui\ldl\ldl.l
ctp2\ui\ldl\ldl.y
dbgen\ctpdb.l
dbgen\ctpdb.y
And, of course, you have to apply the modifications to the final Link step - e.g. removal of the Miles library -
again for each project.
|
|
|  |
 |
|
mjs0
|
|
Florida, USA
Jun 2001 time: 00:31
|
|
quote: Originally posted by Solver
I have succesfully compiled the debug version to the point where I can get a blank screen. |
I have the debug version working under VS.NET...one thing to note is that it spends a Looooong time initializing when running the debug build.
My machine is 2.6Ghz but it still took many minutes to get past the initialization and display more than the blank screen.
Martin.
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:31. Apolyton Time is 00:31. |
top of page
|
|
|
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
|
|
|
|
|
|