Problem Compling
I need some serious help here...
I just upgraded from VC++ 6.0 to VC++.net and I''m extermely happy with my newly aquired upgrade. However, for some reason when transfered my one and only (completed) game (code) the new complier (VC++.net) could not find one of the header files which was the mmsystem.h. Am I missing something here? What am I doing wrong? I''m sure that I included all of the header files that came with the compiler and all of the library files as well.
I also have a problem with understanding the error messages. The debugger tells me that I have a syntax error on line 556 in the WinMain.cpp file, but in my WinMain.cpp I only have 555 lines of code. I''m getting the same error message for my Black Bin.cpp file. What''s going on here? I don''t get it...HEEEEELLLLLPPPPPPPPP.
When the world has got you down, that's when you strike back and show them who you really are.
I have VS.NET and don''t have a problem with this. Perhaps your installation is corrupted.
As far as the other errors go, post some code.
/*=========================================*/
/* Chem0sh */
/* Lead Software Engineer & Tech Support */
/* http://www.eFaces.biz */
/*=========================================*/
As far as the other errors go, post some code.
/*=========================================*/
/* Chem0sh */
/* Lead Software Engineer & Tech Support */
/* http://www.eFaces.biz */
/*=========================================*/
/*=========================================// Chem0sh// Lead Software Engineer & Tech Support// http://www.eFaces.biz=========================================*/
OK here is the exact error message:
c:\Program Files\Microsoft Visual Studio\MyProjects\Break It\WinMain.cpp(556): fatal error C1010: unexpected end of file while looking for precompiled header directive
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\delayhlp.cpp(456): fatal error C1010: unexpected end of file while looking for precompiled header directive
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\dtbase.cpp(1681): fatal error C1010: unexpected end of file while looking for precompiled header directive
c:\Program Files\Microsoft Visual Studio\MyProjects\Break It\Black Bin.cpp(372): fatal error C1010: unexpected end of file while looking for precompiled header directive
I copied this right out of the debug window. Oh by the way I still couldn''t find the mmsystem.h files so I changed it with the mm3dnow.h files could that be the problem?
c:\Program Files\Microsoft Visual Studio\MyProjects\Break It\WinMain.cpp(556): fatal error C1010: unexpected end of file while looking for precompiled header directive
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\delayhlp.cpp(456): fatal error C1010: unexpected end of file while looking for precompiled header directive
c:\Program Files\Microsoft Visual Studio .NET\Vc7\include\dtbase.cpp(1681): fatal error C1010: unexpected end of file while looking for precompiled header directive
c:\Program Files\Microsoft Visual Studio\MyProjects\Break It\Black Bin.cpp(372): fatal error C1010: unexpected end of file while looking for precompiled header directive
I copied this right out of the debug window. Oh by the way I still couldn''t find the mmsystem.h files so I changed it with the mm3dnow.h files could that be the problem?
When the world has got you down, that's when you strike back and show them who you really are.
Unexpected end of file errors occur on a line 1 past the number of lines in the file because that is the first line past the end of the file :-)
If you had bothered to look the error up in the help file (you don''t even need to look it up if you turn on dynamic help!) you would see it occurs when something wasn''t terminated. This something could be a missing close brace, a missing #endif or one of many other things.
As for the missing header, I wouldn''t go changing it to other random file includes. I would first determin what your code uses in mmsystem.h (I''d try commenting out the includes and checking the error list). Then do a scan of MSDN and the VS.NET docs for the new locations of what you need. Include the respective new files if they exist, otherwise find another approch.
-SniperBoB-
If you had bothered to look the error up in the help file (you don''t even need to look it up if you turn on dynamic help!) you would see it occurs when something wasn''t terminated. This something could be a missing close brace, a missing #endif or one of many other things.
As for the missing header, I wouldn''t go changing it to other random file includes. I would first determin what your code uses in mmsystem.h (I''d try commenting out the includes and checking the error list). Then do a scan of MSDN and the VS.NET docs for the new locations of what you need. Include the respective new files if they exist, otherwise find another approch.
-SniperBoB-
Brandon Bloomhttp://brandonbloom.name
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement