|
From: Abdul J. N. <nor...@gl...> - 2009-01-22 04:10:39
|
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. |