|
From: Tatsuro M. <tma...@ya...> - 2009-01-22 05:57:46
|
Hello I have no experience of VC++ make. However, I pointed out that makefile.cyg is makefiel for mingw on cygwin not for MSVC. You should use makefile.nt and use command line use of cl.exe etcs. First you excute cmd.exe. After that you will call C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat to set enviromnental variables. Please change makefile.nt according to your environment. Please read carefully comments that are written in makefile.nt Regards Tatsuro --- "Abdul Jalil, Norazlin" <nor...@gl...> wrote: > Hi! > > I'm trying to compile GNUPLOT ver. 4.2 (makefile.cyg) using Visual > Studio C++ 2008 (OS: Windows XP). > > I created a new project, select Win32 Console Application (application > type: console, empty project) and named my project 'makefile'. Next, I > added a new item (.cpp file) and named my .cpp file 'makefile.cpp'. I > copied & pasted code, & saved the file. Then, I renamed the file to > 'makefile.c' and compile it. > > This is the error that I received: > > 1>------ Build started: Project: makefile, Configuration: Debug Win32 > ------ > 1>Compiling... > 1>makefile.c > 1>c:\gnuplot-4.2.4\src\makefile\makefile.c(1) : fatal error C1021: > invalid preprocessor command 'Hey' > 1>Build log was saved at > "file://c:\gnuplot-4.2.4\src\makefile\Debug\BuildLog.htm" > 1>makefile - 1 error(s), 0 warning(s) > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped > ========== > > > I even changed the Precompiled Headers setting in properties to Create > Precompiled Header (/Yc) and still received the same error. > > How could I compile GNUPLOT using VC++ 2008? What are the requirements, > what files do I need and what are the exact steps to do that? > > Thanks in advanced. > > > > > Regards, > Norazlin Abdul Jalil > Germanischer Lloyd GLM Sdn. Bhd. > Email: nor...@gl... > > > > This e-mail and any attachment thereto may contain confidential information and/or information > protected by intellectual property rights for the exclusive attention of the intended addressees > named above. Any access of third parties to this e-mail is unauthorised. Any use of this e-mail > by unintended recipients such as total or partial copying, distribution, disclosure etc. is > prohibited and may be unlawful. When addressed to our clients the content of this e-mail is > subject to the General Terms and Conditions of GL's Group of Companies applicable at the date of > this e-mail. > > If you have received this e-mail in error, please notify the sender either by telephone or by > e-mail and delete the material from any computer. > > GL's Group of Companies does not warrant and/or guarantee that this message at the moment of > receipt is authentic, correct and its communication free of errors, interruption etc. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword> _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ |