Your last errors were linker errors and so it only needs to link the files, which is quite fast. I'm unsure about where that extra 7.26MB comes from if it's a Final build though.

Ok, I finally got this:
that was it, no compiling like before and it was kind of fast. Its 7.26 MB bigger than the recent build. Should I have any concerns?Code:--------------------Configuration: ctp2 - Win32 Final-------------------- Linking... ctp2.exe - 0 error(s), 0 warning(s)

Your last errors were linker errors and so it only needs to link the files, which is quite fast. I'm unsure about where that extra 7.26MB comes from if it's a Final build though.
Caution! Under no circumstances confuse the mesh with the interleave operator, except under confusing circumstances!
-Intercal reference manual
People often remark of me, "You say sorry far to much!". To which my common-sense reply is "I apologise".

That's not a problem, the game may run a little bit slowly. That's because you use a introductory version of VC++ 6.0, that comes with this little disclaimer message, when you start the program. In addition they removed all the optimization features therefore the warnings about the unknown compiler options. One of these features is to optimize the executable size that is missing.
And for the no compiling like before: You are right there was no compiling, the compiler already compiled everything to *.obj files you can find in the final subfolder of the project's folder. The only thing that was done was to link everything together.
By the way now you can start to test your code and check weather it compiles on your own.
-Martin
Civ2 military advisor: "No complaints, Sir!"

Great!
I was in the middle of uploading it to see if you guys wanted to double check it, here's the link anyways (it revision 407)
http://apolyton.net/upload/view.php?...tp2-Ebuild.zip
Martin, as for testing and cmpiling my code does my introductory version tell me where or what the problem is? Or because its introductory it leaves that out?
thanks
E

The only difference between the introductory version and the full version is that you are not allowed to build commercial programs. And to make sure that you can't do this, they removed all the optimization stuff, and added this nice disclaimer popup message. It isn't very professional if your program has such a popup or is slow.Originally posted by E
Martin, as for testing and c[o]mpiling my code does my introductory version tell me where or what the problem is? Or because its introductory it leaves that out?
If your code contains syntax errors, then even this crippled version of VC++ tells you that and where you can find the problem.
Of course if it contains other bugs it copiles for instance something like this:
Of course the compiler doesn't notice that the loop will never terminate, even if the loop body is empty.Code:while(true){ // Some code if(something_that_is_always_false_but_is_supposed_to_be_a_variable){ break; } }
Maybe the optimizer can recognize that the loop does noting and removes it. And then you wonder why the debug version hangs but not the final version.
-Martin
Civ2 military advisor: "No complaints, Sir!"

the latest revision 474 I had this problem when compiling:
Code:F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(629) : error C2065: 'AUI_KEYBOARD_KEY_UPARROW' : undeclared identifier F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(629) : error C2051: case expression not constant F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(634) : error C2065: 'AUI_KEYBOARD_KEY_LEFTARROW' : undeclared identifier F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(634) : error C2051: case expression not constant F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(639) : error C2065: 'AUI_KEYBOARD_KEY_RIGHTARROW' : undeclared identifier F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(639) : error C2051: case expression not constant F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(644) : error C2065: 'AUI_KEYBOARD_KEY_DOWNARROW' : undeclared identifier F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(644) : error C2051: case expression not constant F:\SVN-Code\trunk\ctp2_code\ctp\civ3_main.cpp(649) : warning C4060: switch statement contains no 'case' or 'default' labels

I got this problem as well, for now you can go to the according lines and restore these lines as they were in revision 473.Originally posted by E
the latest revision 474 I had this problem when compiling:
-Martin
Civ2 military advisor: "No complaints, Sir!"

Thanks for the report, E. I forgot to commit a file in revision 473. With revision 475, you should be able to compile again.Originally posted by E
the latest revision 474 I had this problem when compiling:

I'm gettinga huge amount of warnings when I compile. its still compiling bt it throws up warnings from a lot of differrent files. I'll try to post the plg but its 6MB. What happened?

I fixed the warnings but doing the CLEAN command.
However, I get a commit error on one of my files it says
commit failure inconsistent newlines
how do i fix that and what does it mean by new lines?

The 'newlines' are the characters used to split one line from the next in a text file. What characters are used varies according to your operating system. You can make the newlines consistent by running a program like unix2dos on the file in question (There should be a copy in the repository in the bin directory).Originally posted by E
I fixed the warnings but doing the CLEAN command.
However, I get a commit error on one of my files it says
commit failure inconsistent newlines
how do i fix that and what does it mean by new lines?

dos2unix.exe is in the bin, is this what you meant? or should i look for unix2dos?
i did try running it from the one in th ebin from the command prompt and i put player.cpp for safe keeping but then i just got a crash

I would have thought that both unix2dos and dos2unix would be there, but if there's only dos2unix, that will suffice. It should work with a command like:
but if the executable is not on your path you may have to move to the directory with it in and doCode:dos2unix player.cpp
Code:dos2unix path\to\player.cpp

i put player in the bin directory so they are matched up and still got the crash and nothing happened.
i di hit debug and it was saying not found in dll stuff

well i got this
http://home.clear.net.nz/pages/niche/unix2dos.html
and ran it, no crash. I'll see if i can commit it tonight

how do I use the 8.3 version? I'm havingthis problem putting thecode on my laptiop because I put in the My Docs folder (and therefore documents and settings). I triedto move the code to just the C: but then the workspace couldn't find the files and wouldn't compile.Originally posted by J Bytheway
You can, but you have to use the 8.3 versions of the names in the CDKDIR environment variable.Code:--------------------Configuration: dbgen - Win32 Final-------------------- Performing Custom Build Step on .\ctpdb.y 'C:\Documents' is not recognized as an internal or external command, operable program or batch file. Error executing c:\windows\system32\cmd.exe. ctp2.exe - 1 error(s), 0 warning(s)
how can I switch to 8.3 or update the workspace s o it'll read the files elsewhere?
thanks

Actually I would put the code in a folder for instance called: C:\Activision\CTP2\ or C:\CTP2\ or something like this.Originally posted by E
how do I use the 8.3 version? I'm havingthis problem putting thecode on my laptiop because I put in the My Docs folder (and therefore documents and settings). I triedto move the code to just the C: but then the workspace couldn't find the files and wouldn't compile.
Anyway to convert a name to the DOS 8.3 format you simply have to strip the spaces in the name and truncate it so that you have 6 caracters left and than add ~1. So your document folder becomes: C:\DOCUME~1\ that's it. On windows 98 you can also find its name in the properties. The only problem is that I doubt that you can use it on a Windows XP computer, but of course you can try.
-Martin
Civ2 military advisor: "No complaints, Sir!"

thanks Martin. Yeah I wont be able to do it on XP. How can I move my source folder and still have the workspace read it. Moving it makes it uncompilable.

You should be able to do it on XP.
You can open a command window to get the 8.3 directory name (use dir /x to display it), though C:\DOCUME~1\ is most likely correct.
To set environment variable CDKDIR, right-click My Computer and select Properties. At the pop-up, go to the Advanced tab and press the Environment Variables button. Press New, and enter name (CDKDIR) and value.
After restarting the PC, it will work.

It won't compile for me. I get:
I thought this had been fixed by Fromafar's recent revision but it still doesn't work for me. Using Win32 Debug.Code:k:\source\ctp2source\ctp2_code\ui\netshell\netfunc.h(154) : error C2027: use of undefined type 'NETFunc' k:\source\ctp2source\ctp2_code\ui\netshell\netfunc.h(33) : see declaration of 'NETFunc' k:\source\ctp2source\ctp2_code\ui\netshell\netfunc.h(333) : see reference to class template instantiation 'NETFunc::List' being compiled
Caution! Under no circumstances confuse the mesh with the interleave operator, except under confusing circumstances!
-Intercal reference manual
People often remark of me, "You say sorry far to much!". To which my common-sense reply is "I apologise".

Originally posted by Fromafar
You should be able to do it on XP.
You can open a command window to get the 8.3 directory name (use dir /x to display it), though C:\DOCUME~1\ is most likely correct.
To set environment variable CDKDIR, right-click My Computer and select Properties. At the pop-up, go to the Advanced tab and press the Environment Variables button. Press New, and enter name (CDKDIR) and value.
After restarting the PC, it will work.
now I'm getting something like this:
i changed the cdkdir to the director above? was this correctCode:--------------------Configuration: dbgen - Win32 Final-------------------- Performing Custom Build Step on .\ctpdb.y /cygdrive/c/Docume~1/ecodes~1/MyDocu~1/svncode/trunk/bin/byacc: f - cannot open "/tmp" Error executing c:\windows\system32\cmd.exe. ctp2.exe - 1 error(s), 0 warning(s)
the /tmp I assumed was also the TMP found in enviro variable so I changed the local settings\ path listed there to read as 8.3 as well but still had this problem. Man, it wasn't this tough before...

No, the tmp is not the tmp found in the environment variable. The tmp has to be created in the root directory of the hard drive. Maybe you should reread the source code readme.Originally posted by E
the /tmp I assumed was also the TMP found in enviro variable so I changed the local settings\ path listed there to read as 8.3 as well but still had this problem. Man, it wasn't this tough before...
-Martin
Civ2 military advisor: "No complaints, Sir!"

I don't see it in the readme posted here:
https://ctp2.darkdust.net/svn/trunk/...ode_Readme.htm
EDIT: but now that I added it. It compiles, well except I get the same errors that tombom reported.
Last edited by Ekmek; September 25, 2006 at 15:12.

Actually, it wasOriginally posted by E
[...] Man, it wasn't this tough before.... Have a look at the sequence of posts in this thread starting at 26-06-2005, and remember to check the order of the DirectX/DirectShow directories in your linker settings
.
Are the compiler errors with MSVC6, using revision 640 or newer? If so, can you report whether it will compile when you replace the 7 occurrences of
in netfunc.h withCode:typename NETFunc::List<T>::iterator
(i.e. remove the NetFunc:: part)Code:typename List<T>::iterator

Fromafar I think it solved those errors but I'm getting a ton more this is with 641
Code:civapp.cpp C:\...\svncode\trunk\ctp2_code\ctp\display.h(43) : error C2146: syntax error : missing ';' before identifier 'hMon' C:\...\svncode\trunk\ctp2_code\ctp\display.h(43) : error C2501: 'HMONITOR' : missing storage-class or type specifiers C:\...\svncode\trunk\ctp2_code\ctp\display.h(43) : error C2501: 'hMon' : missing storage-class or type specifiers C:\...\svncode\trunk\ctp2_code\ctp\display.h(54) : error C2061: syntax error : identifier 'HMONITOR' display.cpp C:\...\svncode\trunk\ctp2_code\ctp\display.h(43) : error C2146: syntax error : missing ';' before identifier 'hMon' C:\...\svncode\trunk\ctp2_code\ctp\display.h(43) : error C2501: 'HMONITOR' : missing storage-class or type specifiers C:\...\svncode\trunk\ctp2_code\ctp\display.h(43) : error C2501: 'hMon' : missing storage-class or type specifiers C:\...\svncode\trunk\ctp2_code\ctp\display.h(54) : error C2061: syntax error : identifier 'HMONITOR' C:\...\svncode\trunk\ctp2_code\ctp\display.cpp(60) : error C2039: 'hMon' : is not a member of 'DisplayDevice' C:\...\svncode\trunk\ctp2_code\ctp\display.h(38) : see declaration of 'DisplayDevice' C:\...\svncode\trunk\ctp2_code\ctp\display.cpp(72) : error C2065: 'LPDIRECTDRAWENUMERATEEX' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ctp\display.cpp(72) : error C2146: syntax error : missing ';' before identifier 'pfnEnum' C:\...\svncode\trunk\ctp2_code\ctp\display.cpp(72) : error C2065: 'pfnEnum' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ctp\display.cpp(81) : error C2146: syntax error : missing ';' before identifier 'GetProcAddress' C:\...\svncode\trunk\ctp2_code\ctp\display.cpp(88) : error C2100: illegal indirection C:\...\svncode\trunk\ctp2_code\ctp\display.cpp(320) : error C2039: 'hMon' : is not a member of 'DisplayDevice' C:\...\svncode\trunk\ctp2_code\ctp\display.h(38) : see declaration of 'DisplayDevice' vidplay.cpp C:\DXMedia\classes\base\ctlutil.h(439) : error C2504: 'IBasicVideo2' : base class undefined C:\DXMedia\classes\base\sysclock.h(23) : error C2504: 'IAMClockAdjust' : base class undefined C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.h(82) : error C2061: syntax error : identifier 'IDDrawExclModeVideoCallback' C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.h(135) : error C2061: syntax error : identifier 'IDDrawExclModeVideoCallback' C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.h(167) : error C2061: syntax error : identifier 'IDDrawExclModeVideoCallback' C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.h(181) : error C2143: syntax error : missing ';' before '*' C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.h(181) : error C2501: 'IDDrawExclModeVideo' : missing storage-class or type specifiers C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.h(181) : error C2501: 'm_pDDXM' : missing storage-class or type specifiers C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(316) : error C2065: 'IDDrawExclModeVideo' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(316) : error C2065: 'pDDXMV' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(316) : warning C4552: '*' : operator has no effect; expected operator with side-effect C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(317) : error C2065: 'IID_IDDrawExclModeVideo' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(324) : error C2227: left of '->SetDDrawObject' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(328) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(331) : error C2227: left of '->SetDDrawSurface' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(335) : error C2227: left of '->SetDDrawObject' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(336) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(339) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(430) : error C2065: 'IMixerPinConfig2' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(430) : error C2065: 'pMPC' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(430) : warning C4552: '*' : operator has no effect; expected operator with side-effect C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(432) : error C2065: 'IID_IMixerPinConfig2' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(435) : error C2227: left of '->GetColorKey' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(441) : error C2227: left of '->SetAspectRatioMode' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(442) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(462) : warning C4552: '*' : operator has no effect; expected operator with side-effect C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(470) : error C2227: left of '->GetNativeVideoProps' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(477) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(491) : warning C4552: '*' : operator has no effect; expected operator with side-effect C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(504) : error C2227: left of '->SetDrawParameters' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(511) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(521) : error C2065: 'IDDrawExclModeVideoCallback' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(521) : error C2065: 'pCallback' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(522) : error C2448: '' : function-style initializer appears to be a function definition C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(661) : error C2065: 'm_pDDXM' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(686) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(816) : error C2065: 'pDDXM' : undeclared identifier C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(816) : warning C4552: '*' : operator has no effect; expected operator with side-effect C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(825) : error C2227: left of '->SetDDrawObject' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(829) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(832) : error C2227: left of '->SetDDrawSurface' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(836) : error C2227: left of '->SetDDrawObject' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(837) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(841) : error C2227: left of '->Release' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(1122) : error C2227: left of '->SetDrawParameters' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(1133) : error C2227: left of '->GetNativeVideoProps' must point to class/struct/union C:\...\svncode\trunk\ctp2_code\ui\aui_utils\vidplay.cpp(1142) : error C2448: ' ' : function-style initializer appears to be a function definition aui_directui.cpp ..\ctp\display.h(43) : error C2146: syntax error : missing ';' before identifier 'hMon' ..\ctp\display.h(43) : error C2501: 'HMONITOR' : missing storage-class or type specifiers ..\ctp\display.h(43) : error C2501: 'hMon' : missing storage-class or type specifiers ..\ctp\display.h(54) : error C2061: syntax error : identifier 'HMONITOR' aui_directx.cpp ..\ctp\display.h(43) : error C2146: syntax error : missing ';' before identifier 'hMon' ..\ctp\display.h(43) : error C2501: 'HMONITOR' : missing storage-class or type specifiers ..\ctp\display.h(43) : error C2501: 'hMon' : missing storage-class or type specifiers ..\ctp\display.h(54) : error C2061: syntax error : identifier 'HMONITOR' UnitControlPanel.cpp C:\...\svncode\trunk\ctp2_code\ui\interface\UnitControlPanel.cpp(550) : error C2374: 'unitIndex' : redefinition; multiple initialization C:\...\svncode\trunk\ctp2_code\ui\interface\UnitControlPanel.cpp(487) : see declaration of 'unitIndex' CityEspionage.cpp C:\...\svncode\trunk\ctp2_code\ui\interface\CityEspionage.cpp(129) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression C:\...\svncode\trunk\ctp2_code\ui\interface\citywindow.h(55) : see declaration of 'InventoryItemInfo' C:\...\svncode\trunk\ctp2_code\ui\interface\CityEspionage.cpp(129) : error C2059: syntax error : ')' C:\...\svncode\trunk\ctp2_code\ui\interface\CityEspionage.cpp(205) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression C:\...\svncode\trunk\ctp2_code\ui\interface\citywindow.h(55) : see declaration of 'InventoryItemInfo' C:\...\svncode\trunk\ctp2_code\ui\interface\CityEspionage.cpp(205) : error C2059: syntax error : ')' graphicsresscreen.cpp ..\ctp\display.h(43) : error C2146: syntax error : missing ';' before identifier 'hMon' ..\ctp\display.h(43) : error C2501: 'HMONITOR' : missing storage-class or type specifiers ..\ctp\display.h(43) : error C2501: 'hMon' : missing storage-class or type specifiers ..\ctp\display.h(54) : error C2061: syntax error : identifier 'HMONITOR' citywindow.cpp C:\...\svncode\trunk\ctp2_code\ui\interface\citywindow.cpp(428) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression C:\...\svncode\trunk\ctp2_code\ui\interface\citywindow.h(55) : see declaration of 'InventoryItemInfo' C:\...\svncode\trunk\ctp2_code\ui\interface\citywindow.cpp(428) : error C2059: syntax error : ')' C:\...\svncode\trunk\ctp2_code\ui\interface\citywindow.cpp(853) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression C:\...\svncode\trunk\ctp2_code\ui\interface\citywindow.h(55) : see declaration of 'InventoryItemInfo' C:\...\svncode\trunk\ctp2_code\ui\interface\citywindow.cpp(853) : error C2059: syntax error : ')' Generating Code... Error executing cl.exe. ctp2.exe - 78 error(s), 11 warning(s)
seems like video error messages and they didnt crop up before. it looks like its linked to the dxmedia but its the same filed i installed on my desktop
Last edited by Ekmek; September 25, 2006 at 16:38.

They were. With the newest revision it's all fine. ThanksOriginally posted by Fromafar
Are the compiler errors with MSVC6, using revision 640 or newer?
oh maybe not
K:\source\ctp2source\ctp2_code\ui\interface\citywi ndow.cpp(428) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression
k:\source\ctp2source\ctp2_code\ui\interface\citywi ndow.h(65) : see declaration of 'InventoryItemInfo'
K:\source\ctp2source\ctp2_code\ui\interface\citywi ndow.cpp(428) : error C2059: syntax error : ')'
K:\source\ctp2source\ctp2_code\ui\interface\citywi ndow.cpp(853) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression
k:\source\ctp2source\ctp2_code\ui\interface\citywi ndow.h(65) : see declaration of 'InventoryItemInfo'
K:\source\ctp2source\ctp2_code\ui\interface\citywi ndow.cpp(853) : error C2059: syntax error : ')'
Last edited by tombom; September 27, 2006 at 08:04.
Caution! Under no circumstances confuse the mesh with the interleave operator, except under confusing circumstances!
-Intercal reference manual
People often remark of me, "You say sorry far to much!". To which my common-sense reply is "I apologise".

with 643 I'm still getting these errors:
Code:--------------------Configuration: ctp2 - Win32 Final-------------------- Compiling... Command line warning D4002 : ignoring unknown option '/Ot' Command line warning D4002 : ignoring unknown option '/Og' Command line warning D4002 : ignoring unknown option '/Oi' Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' Command line warning D4002 : ignoring unknown option '/Ob2' debugcallstack.cpp Generating Code... Compiling... Verify.c Generating Code... Compiling... WldGen.cpp ldl_attr.cpp ldl_data.cpp ldl_data_info.cpp ldl_file.cpp ldl_memmap.cpp netfunc.cpp Generating Code... Compiling... Command line warning D4002 : ignoring unknown option '/Ot' Command line warning D4002 : ignoring unknown option '/Og' Command line warning D4002 : ignoring unknown option '/Oi' Command line warning D4002 : ignoring unknown option '/Op' Command line warning D4002 : ignoring unknown option '/Oy-' Command line warning D4002 : ignoring unknown option '/Ob2' civapp.cpp ...\ctp2_code\ctp\display.h(50) : error C2146: syntax error : missing ';' before identifier 'hMon' ...\ctp2_code\ctp\display.h(50) : error C2501: 'HMONITOR' : missing storage-class or type specifiers ...\ctp2_code\ctp\display.h(50) : error C2501: 'hMon' : missing storage-class or type specifiers ...\ctp2_code\ctp\display.h(61) : error C2061: syntax error : identifier 'HMONITOR' display.cpp ...\ctp2_code\ctp\display.h(50) : error C2146: syntax error : missing ';' before identifier 'hMon' ...\ctp2_code\ctp\display.h(50) : error C2501: 'HMONITOR' : missing storage-class or type specifiers ...\ctp2_code\ctp\display.h(50) : error C2501: 'hMon' : missing storage-class or type specifiers ...\ctp2_code\ctp\display.h(61) : error C2061: syntax error : identifier 'HMONITOR' ...\ctp2_code\ctp\display.cpp(60) : error C2039: 'hMon' : is not a member of 'DisplayDevice' ...\ctp2_code\ctp\display.h(45) : see declaration of 'DisplayDevice' ...\ctp2_code\ctp\display.cpp(72) : error C2065: 'LPDIRECTDRAWENUMERATEEX' : undeclared identifier ...\ctp2_code\ctp\display.cpp(72) : error C2146: syntax error : missing ';' before identifier 'pfnEnum' ...\ctp2_code\ctp\display.cpp(72) : error C2065: 'pfnEnum' : undeclared identifier ...\ctp2_code\ctp\display.cpp(81) : error C2146: syntax error : missing ';' before identifier 'GetProcAddress' ...\ctp2_code\ctp\display.cpp(88) : error C2100: illegal indirection ...\ctp2_code\ctp\display.cpp(320) : error C2039: 'hMon' : is not a member of 'DisplayDevice' ...\ctp2_code\ctp\display.h(45) : see declaration of 'DisplayDevice' vidplay.cpp C:\DXMedia\classes\base\ctlutil.h(439) : error C2504: 'IBasicVideo2' : base class undefined C:\DXMedia\classes\base\sysclock.h(23) : error C2504: 'IAMClockAdjust' : base class undefined ...\ctp2_code\ui\aui_utils\vidplay.h(88) : error C2061: syntax error : identifier 'IDDrawExclModeVideoCallback' ...\ctp2_code\ui\aui_utils\vidplay.h(141) : error C2061: syntax error : identifier 'IDDrawExclModeVideoCallback' ...\ctp2_code\ui\aui_utils\vidplay.h(173) : error C2061: syntax error : identifier 'IDDrawExclModeVideoCallback' ...\ctp2_code\ui\aui_utils\vidplay.h(187) : error C2143: syntax error : missing ';' before '*' ...\ctp2_code\ui\aui_utils\vidplay.h(187) : error C2501: 'IDDrawExclModeVideo' : missing storage-class or type specifiers ...\ctp2_code\ui\aui_utils\vidplay.h(187) : error C2501: 'm_pDDXM' : missing storage-class or type specifiers ...\ctp2_code\ui\aui_utils\vidplay.cpp(316) : error C2065: 'IDDrawExclModeVideo' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(316) : error C2065: 'pDDXMV' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(316) : warning C4552: '*' : operator has no effect; expected operator with side-effect ...\ctp2_code\ui\aui_utils\vidplay.cpp(317) : error C2065: 'IID_IDDrawExclModeVideo' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(324) : error C2227: left of '->SetDDrawObject' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(328) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(331) : error C2227: left of '->SetDDrawSurface' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(335) : error C2227: left of '->SetDDrawObject' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(336) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(339) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(430) : error C2065: 'IMixerPinConfig2' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(430) : error C2065: 'pMPC' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(430) : warning C4552: '*' : operator has no effect; expected operator with side-effect ...\ctp2_code\ui\aui_utils\vidplay.cpp(432) : error C2065: 'IID_IMixerPinConfig2' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(435) : error C2227: left of '->GetColorKey' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(441) : error C2227: left of '->SetAspectRatioMode' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(442) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(462) : warning C4552: '*' : operator has no effect; expected operator with side-effect ...\ctp2_code\ui\aui_utils\vidplay.cpp(470) : error C2227: left of '->GetNativeVideoProps' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(477) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(491) : warning C4552: '*' : operator has no effect; expected operator with side-effect ...\ctp2_code\ui\aui_utils\vidplay.cpp(504) : error C2227: left of '->SetDrawParameters' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(511) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(521) : error C2065: 'IDDrawExclModeVideoCallback' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(521) : error C2065: 'pCallback' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(522) : error C2448: '' : function-style initializer appears to be a function definition ...\ctp2_code\ui\aui_utils\vidplay.cpp(661) : error C2065: 'm_pDDXM' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(686) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(816) : error C2065: 'pDDXM' : undeclared identifier ...\ctp2_code\ui\aui_utils\vidplay.cpp(816) : warning C4552: '*' : operator has no effect; expected operator with side-effect ...\ctp2_code\ui\aui_utils\vidplay.cpp(825) : error C2227: left of '->SetDDrawObject' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(829) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(832) : error C2227: left of '->SetDDrawSurface' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(836) : error C2227: left of '->SetDDrawObject' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(837) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(841) : error C2227: left of '->Release' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(1122) : error C2227: left of '->SetDrawParameters' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(1133) : error C2227: left of '->GetNativeVideoProps' must point to class/struct/union ...\ctp2_code\ui\aui_utils\vidplay.cpp(1142) : error C2448: ' ' : function-style initializer appears to be a function definition aui_directui.cpp ..\ctp\display.h(50) : error C2146: syntax error : missing ';' before identifier 'hMon' ..\ctp\display.h(50) : error C2501: 'HMONITOR' : missing storage-class or type specifiers ..\ctp\display.h(50) : error C2501: 'hMon' : missing storage-class or type specifiers ..\ctp\display.h(61) : error C2061: syntax error : identifier 'HMONITOR' aui_directx.cpp ..\ctp\display.h(50) : error C2146: syntax error : missing ';' before identifier 'hMon' ..\ctp\display.h(50) : error C2501: 'HMONITOR' : missing storage-class or type specifiers ..\ctp\display.h(50) : error C2501: 'hMon' : missing storage-class or type specifiers ..\ctp\display.h(61) : error C2061: syntax error : identifier 'HMONITOR' CityEspionage.cpp ...\ctp2_code\ui\interface\CityEspionage.cpp(129) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression ...\ctp2_code\ui\interface\citywindow.h(65) : see declaration of 'InventoryItemInfo' ...\ctp2_code\ui\interface\CityEspionage.cpp(129) : error C2059: syntax error : ')' ...\ctp2_code\ui\interface\CityEspionage.cpp(205) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression ...\ctp2_code\ui\interface\citywindow.h(65) : see declaration of 'InventoryItemInfo' ...\ctp2_code\ui\interface\CityEspionage.cpp(205) : error C2059: syntax error : ')' graphicsresscreen.cpp ..\ctp\display.h(50) : error C2146: syntax error : missing ';' before identifier 'hMon' ..\ctp\display.h(50) : error C2501: 'HMONITOR' : missing storage-class or type specifiers ..\ctp\display.h(50) : error C2501: 'hMon' : missing storage-class or type specifiers ..\ctp\display.h(61) : error C2061: syntax error : identifier 'HMONITOR' citywindow.cpp ...\ctp2_code\ui\interface\citywindow.cpp(428) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression ...\ctp2_code\ui\interface\citywindow.h(65) : see declaration of 'InventoryItemInfo' ...\ctp2_code\ui\interface\citywindow.cpp(428) : error C2059: syntax error : ')' ...\ctp2_code\ui\interface\citywindow.cpp(853) : error C2275: 'InventoryItemInfo' : illegal use of this type as an expression ...\ctp2_code\ui\interface\citywindow.h(65) : see declaration of 'InventoryItemInfo' ...\ctp2_code\ui\interface\citywindow.cpp(853) : error C2059: syntax error : ')' Generating Code... Error executing cl.exe.

The HMONITOR, etc. errors look like they're caused by misordering of DirectX include directories.

how should it be ordered. I did it a compbination of ways I still get 70errors

dxmedia/classes/base
dxmedia/include
directx/include
and then the various MSVC ones that exist by default
Bookmarks