Gnuplot experts or anyone who is willing to help me – I have explained what I have done in very simple words and in a detailed manner. Thanks for your time and patience in advance.
My aim is to develop a new feature in Gnuplot by adding a new terminal to it. I did the following steps in the order mentioned
- I formatted my system and reinstalled Windows 7. (no antivirus installed)
- Installed Visual Studio 2008
- Downloaded the source code of Gnuplot
Now, am supposed to set up the compiling environment for Gnuplot in Windows. So, I did the following steps as per the instructions in “README” and “INSTALL” files in the source code package.
- Opened up Visual Studio 2008 Command Prompt
- changed directory to the “src” folder in the source code
- Then I ran the nmake tool (the make tool meant for Visual Studio) using the file makefile.nt (which is for Windows)
nmake -f C:\Users………\config\makefile.nt
- It compiled successfully and gave the wgnuplot.exe and gnuplot.exe files as output. Also the manifest files were created. (Note: I have not changed any piece of code from the original source code package)
- When I tried to open the exe file generated from the compilation, it threw me this error
The program can’t start because MSVCR90.DLL is missing from your computer. Try re-installing the program to fix this problem.
This MSVCR90.dll should be installed already when Visual Studio was installed. I checked the C:\Windows\winsxs\x86_microsoft.vc90... folder and the MSVCR90.DLL was alread there. Then, I tried 2 things to solve this –
- Anything to do with PATH variable? I made the PATH variable point to that directory. It threw me a new error that says
Microsoft Visual C++ Library. Run time error. R6034. Here is the detailed picture of the error
- So, I reset my path variable back to the old value and followed the steps in THIS FORUM POST to fix the missing dll problem by copying the dll files to the
C:\Windows\system32folder. Again it threw me the same run time error
AM STUCK AT THIS POINT. Please advise me on how to rectify this
problem. THANKS A MILLION 🙂 Advance thanks to you 🙂
Is there any reason you need to use VS2008?
If not I’d recommend to use the current VC release.
Your problem looks like some sort of version mismatch/incompablilty issue to me …