|
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. |
|
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/ |
|
From: Abdul J. N. <nor...@gl...> - 2009-01-22 06:22:08
|
Hi! I've tried that as well, still received the same error since the compiler doesn't recognize the language I've as well tried to compile all the C files from gnuplot src folder & add the header files (H files) in the project Header Files folder.. apparently 'strings.h' and 'iosl.h' files are missing.. where can I get those files? Thanks :) Regards, Norazlin Abdul Jalil Germanischer Lloyd GLM Sdn. Bhd. Email: nor...@gl... -----Original Message----- From: Tatsuro MATSUOKA [mailto:tma...@ya...] Sent: Thursday, January 22, 2009 1:58 PM To: Abdul Jalil, Norazlin; gnu...@li... Cc: tma...@ya... Subject: Re: [Gnuplot-info] Compile GNUPLOT ver. 4.2 using VC++ 2008 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/ 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. |
|
From: Tatsuro M. <tma...@ya...> - 2009-01-22 09:13:37
|
Sorry I do not have enough knowledge for msvc build. There is a possibilty you have to use makefile.msw I am a mingw+msys user for gnuplot build so that the knowlede of MSVC is limited. Please wait until MSVC expert will apear. Regards Tatsuro --- "Abdul Jalil, Norazlin" <nor...@gl...> wrote: > Hi! > > I've tried that as well, still received the same error since the > compiler doesn't recognize the language > > I've as well tried to compile all the C files from gnuplot src folder & > add the header files (H files) in the project Header Files folder.. > apparently 'strings.h' and 'iosl.h' files are missing.. where can I get > those files? > > Thanks :) > > > Regards, > Norazlin Abdul Jalil > Germanischer Lloyd GLM Sdn. Bhd. > Email: nor...@gl... > > > > > > > > > > > > > > > > > -----Original Message----- > From: Tatsuro MATSUOKA [mailto:tma...@ya...] > Sent: Thursday, January 22, 2009 1:58 PM > To: Abdul Jalil, Norazlin; gnu...@li... > Cc: tma...@ya... > Subject: Re: [Gnuplot-info] Compile GNUPLOT ver. 4.2 using VC++ 2008 > > 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/ > > > > 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. > -------------------------------------- Power up the Internet with Yahoo! Toolbar. http://pr.mail.yahoo.co.jp/toolbar/ |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-01-23 03:15:11
|
Abdul Jalil, Norazlin wrote: > I created a new project, select Win32 Console Application (application > type: console, empty project) and named my project ‘makefile’. You're going about this in completely the wrong way. You have to forget about projects, adding files to them, and all that. > 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? Get a text editor and use that to read text files README, INSTALL and config\makefile.nt, in that order. Do what they tell you to. Exactly. |
|
From: Abdul J. N. <nor...@gl...> - 2009-01-23 02:35:00
|
Thanks for ur help.. :) but that will only create an .exe file, isn't it? What I actually need is to convert gnuplot to ActiveX component (or at least DLL file) in order to embed it to our own application Is there any way I can do that? Thanks :) 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. |
|
From: Tatsuro M. <tma...@ya...> - 2009-01-23 07:08:18
|
Hello Do you want to use gnuplot function from other programs? The easiest way is to use console gnuplot (current cvs 4.3) and control via pipe. The console mode 'gnuplot' (not wgnuplot) binaries available from http://gnuplot.sourceforge.net/development/binaries/ gp43-Nov21_2008-winbin.zip (Petr Mikulik) http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/ gp43-winbin.zip (My web page) http://www.ring.gr.jp/pub/text/TeX/ptex-win32/utils/ gnuplot-43pl0w32.zip (Dr. Kakuto) Regards Tatsuro --- "Abdul Jalil, Norazlin" <nor...@gl...> wrote: > Thanks for ur help.. :) but that will only create an .exe file, isn't it? > > What I actually need is to convert gnuplot to ActiveX component (or at least DLL file) in order > to embed it to our own application > > Is there any way I can do that? > > Thanks :) > > > 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/ |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2009-01-23 20:41:35
|
Abdul Jalil, Norazlin wrote: > What I actually need is to convert gnuplot to ActiveX component (or > at least DLL file) in order to embed it to our own application It might have been useful to state that right away, instead of coming up with this information after the fact. > Is there any way I can do that? Not if you can't even get the .exe to build following given instructions. |
|
From: Abdul J. N. <nor...@gl...> - 2009-01-28 08:28:16
|
>> It might have been useful to state that right away, instead of coming up >> with this information after the fact. Sorry about that :) >> Not if you can't even get the .exe to build following given instructions. I've actually followed the instructions a few times, but kept getting this message: NMAKE: fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.EXE"' : return code '0xc0000135' Stop. Any idea? Thanks 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. |