gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] OpenCobol setup troubles (error: libcob.h: No such


From: Michael Anderson
Subject: Re: [open-cobol-list] OpenCobol setup troubles (error: libcob.h: No such file or directory)
Date: Sun, 16 Sep 2012 23:56:51 -0500
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0

Sorry bout that, reply to wrong address....
Maybe I'm telling too many people about OC!
;-)


On 09/16/2012 10:39 PM, Michael Anderson wrote:
Are you using Gnu on Windows or the Microsoft C compiler?

If Gnu on Windows, then please ignore this, I've not had much success with Cygwin/MinGW.

On Windows using the Microsoft compiler then (Extract/unzip from the C:\) make sure the OpenCOBOL directory is:
C:\OpenCobol

Don't forget to add it to $PATH, for me things just worked when installed to this directory.
Also don't forget vcvars.bat for the Microsoft C compiler.

call "C:\Program Files\Microsoft Visual Studio10.0\VC\bin\vcvars32.bat"
The above path may vary depending on your environment, so you may need to search for "vcvars32.bat" file
and modify the path as needed.

The call to the vcvars bat file only needs to be done once per (cmd window) session.
More info at cloud3000.com


On 09/16/2012 07:22 PM, Andrew Pennebaker wrote:
Can you do the following:

SET > c:\vars.txt

And send me the c:\vars.txt file?
 
Attached. I suspect there's yet another environment variable I need to configure in order for cobc.exe and related binaries to be able to find the OpenCobol include directory, but neither the PDF tutorial that comes with these executables, nor other online documentation specifies any env var that seems to be relevant.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list



reply via email to

[Prev in Thread] Current Thread [Next in Thread]