Hello,
I'm coding in C, Win XP pro SP2., Visual C++ 2005 express ed.
After going through the pre-compiled headers,
and -CRT_SECURE_NO_DEPRECATE; I've managed to
compile and run a "Hello World!" program.
However compiling a larger program with over 300 lines, or smaller,
that was compiled with gcc MinGW: I'm getting the following error using Visual C++:"CL:command line error D8300: missing source filename."
I've google(ed), and microsoft(ed); found some posts, but
found nothing that explains my situation; which is
compiling a C program.
The solutions I've tried are:Closing the (") found at
the end of _CRT_NO..., make a new program, unable
unicode, compile as c(T/C), in properties > C++ > Advanced >
compile as>, specifing "no commom language runtime support,"
in properties > config.> general > etc.
Here's my compile log below; it seems to me that it
has a C source filename:" mailing.c" in the statement
that begins [/02 /D "#define -CRT_SECURE_NO_DEPRECATE....
Can you discern what the problems are in this log?
Hope you can help me?
Thank you.
/************************************************** **********/
Build Log:
Build started: Project: mailing, Configuration: Debug|Win32
Command Lines
Creating temporary file "d:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\mailing\mailing\Debug\RSP00000410561 476.rsp" with contents
[
/O2 /D "#define _CRT_SECURE_NO_DEPRECATE /FD /EHsc /MT /Fo"Debug\\" /Fd"Debug\vc80.pdb" /c /TC ".\mailing.c"
]
Creating command line "cl.exe @"d:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\mailing\mailing\Debug\RSP00000410561 476.rsp" /nologo /errorReportrompt"
Output Window
Compiling...
cl : Command line error D8003 : missing source filename
Results
Build log was saved at "file://d:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\mailing\mailing\Debug\BuildLog.htm"
mailing - 1 error(s), 0 warning(s)