Page 8 of 11 FirstFirst ... 5 6 7 8 9 10 11 LastLast
Results 211 to 240 of 308

Thread: COMPILE: Getting the source to compile

  1. #211
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    Ok, I finally got this:

    Code:
    --------------------Configuration: ctp2 - Win32 Final--------------------
    Linking...
    
    ctp2.exe - 0 error(s), 0 warning(s)
    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?
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  2. #212
    tombom
    Chieftain tombom's Avatar
    Join Date
    19 Oct 2004
    Location
    Pining for the fjords
    Posts
    80
    Country
    This is tombom's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    12:53
    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".

  3. #213
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,248
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 24, 2013
    Local Time
    14:53

    Post

    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!"

  4. #214
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  5. #215
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,248
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 24, 2013
    Local Time
    14:53

    Post

    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?
    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.

    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:

    Code:
    while(true){
        // Some code
        if(something_that_is_always_false_but_is_supposed_to_be_a_variable){
            break;
        }
    }
    Of course the compiler doesn't notice that the loop will never terminate, even if the loop body is empty.

    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!"

  6. #216
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  7. #217
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,248
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 24, 2013
    Local Time
    14:53

    Post

    Originally posted by E
    the latest revision 474 I had this problem when compiling:
    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.

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

  8. #218
    Fromafar
    Prince
    Join Date
    25 May 2003
    Posts
    622
    Country
    This is Fromafar's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    14:53
    Originally posted by E
    the latest revision 474 I had this problem when compiling:
    Thanks for the report, E. I forgot to commit a file in revision 473. With revision 475, you should be able to compile again.

  9. #219
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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?
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  10. #220
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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?
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  11. #221
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    13:53
    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?
    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).

  12. #222
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  13. #223
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    13:53
    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:
    Code:
    dos2unix player.cpp
    but if the executable is not on your path you may have to move to the directory with it in and do
    Code:
    dos2unix path\to\player.cpp

  14. #224
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  15. #225
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  16. #226
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    Originally posted by J Bytheway
    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)
    You can, but you have to use the 8.3 versions of the names in the CDKDIR environment variable.
    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.

    how can I switch to 8.3 or update the workspace s o it'll read the files elsewhere?

    thanks
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  17. #227
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,248
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 24, 2013
    Local Time
    14:53

    Post

    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.
    Actually I would put the code in a folder for instance called: C:\Activision\CTP2\ or C:\CTP2\ or something like this.

    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!"

  18. #228
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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.
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  19. #229
    Fromafar
    Prince
    Join Date
    25 May 2003
    Posts
    622
    Country
    This is Fromafar's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    14:53
    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.

  20. #230
    tombom
    Chieftain tombom's Avatar
    Join Date
    19 Oct 2004
    Location
    Pining for the fjords
    Posts
    80
    Country
    This is tombom's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    12:53
    It won't compile for me. I get:
    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
    I thought this had been fixed by Fromafar's recent revision but it still doesn't work for me. Using Win32 Debug.
    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".

  21. #231
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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:

    Code:
    --------------------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)
    i changed the cdkdir to the director above? was this correct

    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...
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  22. #232
    Martin Gühmann
    Administrator Martin Gühmann's Avatar
    Join Date
    02 Mar 2001
    Location
    Tübingen, Germany
    Posts
    7,248
    Country
    This is Martin Gühmann's Country Flag
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Local Date
    May 24, 2013
    Local Time
    14:53

    Post

    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...
    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.

    -Martin
    Civ2 military advisor: "No complaints, Sir!"

  23. #233
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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.
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  24. #234
    Fromafar
    Prince
    Join Date
    25 May 2003
    Posts
    622
    Country
    This is Fromafar's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    14:53
    Originally posted by E
    [...] Man, it wasn't this tough before...
    Actually, it was . 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
    Code:
    typename NETFunc::List<T>::iterator
    in netfunc.h with
    Code:
    typename List<T>::iterator
    (i.e. remove the NetFunc:: part)

  25. #235
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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.
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  26. #236
    tombom
    Chieftain tombom's Avatar
    Join Date
    19 Oct 2004
    Location
    Pining for the fjords
    Posts
    80
    Country
    This is tombom's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    12:53
    Originally posted by Fromafar

    Are the compiler errors with MSVC6, using revision 640 or newer?
    They were. With the newest revision it's all fine. Thanks

    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".

  27. #237
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    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.
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  28. #238
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    13:53
    The HMONITOR, etc. errors look like they're caused by misordering of DirectX include directories.

  29. #239
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    04:53
    how should it be ordered. I did it a compbination of ways I still get 70errors
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  30. #240
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    May 24, 2013
    Local Time
    13:53
    dxmedia/classes/base
    dxmedia/include
    directx/include
    and then the various MSVC ones that exist by default

Page 8 of 11 FirstFirst ... 5 6 7 8 9 10 11 LastLast

Similar Threads

  1. HELP needed to compile the SDK
    By Thror78 in forum Civilization IV Creation
    Replies: 1
    Last Post: August 28, 2006, 18:57
  2. Compile the source code, missing headers
    By jacquipre in forum CtP2 Source Code Project
    Replies: 18
    Last Post: June 11, 2006, 10:03
  3. COMPILE: Getting the source to compile on VS.NET
    By vovan in forum CtP2 Source Code Project
    Replies: 62
    Last Post: July 8, 2004, 00:25
  4. compile fails; OS X 10.3.3
    By zbgump in forum Freeciv
    Replies: 1
    Last Post: March 18, 2004, 04:45
  5. Can't compile FreeCiv-SDL from cvs source
    By thethawav in forum Freeciv
    Replies: 3
    Last Post: March 29, 2003, 07:23

Visitors found this page by searching for:

mss32.lib

Error spawning mt.exe visual studio 2008

reftime.h no such file or directory

Project : error PRJ0003 : Error spawning mt.exe

error LNK2001: unresolved external symbol _xGetSystemMetrics@4

error C2065: UNITS : undeclared identifier

IBasicVideo2 : base class undefined

reftime.h missing

hmonitor struct type redefinition

knock sequence unresolved identifier

file:line:oassert

error LNK2005: localtime already defined

error c2504: ibasicvideo2 : base class undefined

Build project under Microsoft Platform SDKSamplesMultimediaDirectShowBaseClasses

error prj0003 : error spawning mt.exe.

ogre dinput.h

error lnk2005: class ogre::controller

cannot open source file lex.yy.cc

file:fiq_drv.cline:188assert(dsp assert id:21)project : error prj0003 : error spawning mt.exe.error c2061: syntax error : identifier hmonitor2008 hmonitor redefinitionError 1 fatal error C1083: Cannot open include file: ddraw.h: No such file or directory c:program filesmicrosoft sdkswindowsv7.0samplesmultimediadirectshowbaseclassesstreams.h 42error LNK2001: unresolved external symbol _xGetMonitorInfo@8c1 : fatal error c1083: cannot open source file:

Bookmarks

Posting Permissions