I guess my constant requests for people to read the posting guidelines and post with a complete set of information just go unread. Please start doing this everyone!!!
So, you don't say what operating system, what version of the C compiler you have installed, whether you have searched the archives to see that this is answered 47 times already and so on. Basically this means that you either didn't install visual Studio or the Windows SDK, or did it after you installed jBASE, or that you installed a nice spanking new version of the Windows SDK, which jBASE 4.1 does not pick up. What has happened is that the environment variables that are set up for command line use by Visual Studio or other install are not set up correctly. You will have to install them manually. Find the vcvars32.bat file, run it at a command prompt, note what environment variables it sets up, then set them manually in your user or probably better, System environment variables. You can also start a shell easily using the shortcuts provided by either Visual Studio or the Windows SDK. A quick search using Markmail, the details for which I posted only yesterday, will show what those variables are and much more: http://jbase.markmail.org/search/?q=vcvars32#query:vcvars32+page:1+mid:hhgauww3hae6os2u+state:results In this case you find an answer from someone who is obviously both very clever and very handsome: http://markmail.org/message/hhgauww3hae6os2u Jim From: hakeemsh [mailto:[email protected]] Sent: Tuesday, November 03, 2009 1:09 PM To: [email protected] Subject: compilation error Dear All, I am getting the below error which compiling the program. Please help. BASIC is the folder name, MYBASIC is the program name. jsh ammu ~ -->BASIC BASIC MYBASIC MYBASIC atexit enabled atexit enabled atexit: done atexit: done cl /nologo /DWIN32 /MD /W2 /GR /EHsc -c -ID:\jbase4\4.1\include -DJBC_OPTLEVEL 2 BASIC_0.c failed , command returned a code of 2 jcompile: BASIC_0.j deleted jcompile: BASIC_0.c deleted jcompile: Returned an error code of 8 BASIC_0.c D:\jbase4\4.1\include\winpthread.h(189) : fatal error C1083: Cannot open include file: 'time.h': No such file or directory ** Unable to compile source MYBASIC ** --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
