[T24] jbase compilation error

63 views
Skip to first unread message

Sharath

unread,
May 13, 2008, 10:11:58 AM5/13/08
to jb...@googlegroups.com

Hi All,

 

When I compile subroutines I am encountering the following errors,

As my O/S is Vista , I am unable to install the Visual Studio 2003

Any help would be appreciated

 

Jsh ~>EB.COMPILE BP TEST

Source directory : BP Single item : TEST

Score Checks Compile Catalog

Score Compile cl  /nologo /DWIN32 /MD /W2 /GR /EHsc -c  -IC:\jbase5\5.0\include -DJBC_OPTL

EVEL2 -IGLOBUS.BP BASIC_39.c failed , command returned a code of -1

jcompile: BASIC_39.j deleted

jcompile: BASIC_39.c deleted

jcompile: Returned an error code of 8

Catalog

Dev bin & lib currently set to:

        C:\t24\bnk.run\bin & lib

Now changed to :

        C:\t24\bnk.run\globusbin & lib

Dev bin & lib now reset to:

        C:\t24\bnk.run\bin & lib

TEST

 ** Unable to compile source TEST **

 

OS: Windows Vista Business

Jbase Release : Major 5.0 , Minor 4

 

 

Best Regards,

Sharath HG

P Please do not print this email unless it is absolutely necessary. Spread environmental awareness.

 

Jim Myers

unread,
May 13, 2008, 10:23:05 AM5/13/08
to jB...@googlegroups.com
Hi ,
 
Please do the following: (Note: This is a generic setup applicable to all C compilers. Please pick information specific to Microsoft Visual Studio .NET 2003\VC7)
 
 
My Computer (right click) -> Properties -> Advanced Tab -> Environment Variables (button) ->  System Variables -> New (or) Edit (if the variable is already there) button ->
 
and include the following:
 
Variable name  = JBC_CCOMPILER_PATH
Variable value = <Path where VC98 or VC7 is installed>
 
For example:
 
In VC98:
 
Variable value = C:\Program Files\Microsoft Visual Studio\VC98
 
In VC7:
 
Variable value = C:\Program Files\Microsoft Visual Studio .NET 2003\VC7
 
 
Variable name  = JBC_SHAREDIDE_PATH
 
 
For example:
 
In VC98:
 
Variable value = C:\Program Files\Microsoft Visual Studio\Common\MSDev98\bin
 
In VC7:
 
Variable value = C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
 
 
Variable name  = INCLUDE
Variable value = <Path where VC98 or VC7 is installed>\include
 
For example:
 
In VC98:
 
Variable value = C:\Program Files\Microsoft Visual Studio\VC98\include
 
In VC7:
 
Variable value = C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\include
 
 
Variable name  = LIB
Variable value = <Path where VC98 or VC7 is installed>\lib
 
 
For example:
 
In VC98:
 
Variable value = C:\Program Files\Microsoft Visual Studio\VC98\lib
 
In VC7:
 
Variable value = C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\lib
 
Edit
 
Variable name = PATH
 
and make sure you have 'C:\Program Files\Microsoft Visual Studio\VC98\Bin' (if you are using VC98) or 'C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\bin' (if you are using VC7) in the path after the paths 'C:\jbase4\4.1\bin;C:\jbase4\4.1\jDP\bin'
 
After the changes, you may have to reboot the server (certain Windows flavor does not require reboot).
 
 
Also make sure the following order of path is available in remote.cmd available in run directory:
 
For example, if you are running VC98:
 
set PATH=%JBCRELEASEDIR%\bin;C:\WINNT\system32;C:\WINNT;%JBCRELEASEDIR%\jdk\jre\bin\classic;%JBCRELEASEDIR%\jdk\jre\lib;%JBCRELEASEDIR%\jdk\jre\bin;%JBCRELEASEDIR%\config;C:\WINNT\System32\Wbem;%HOME%\bin;%HOME%\globusbin;C:\Program Files\Microsoft Visual Studio\VC98\Bin;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\bin
 
For example, if you are running VC7:
 
set PATH=%JBCRELEASEDIR%\bin;C:\WINNT\system32;C:\WINNT;%JBCRELEASEDIR%\jdk\jre\bin\classic;%JBCRELEASEDIR%\jdk\jre\lib;%JBCRELEASEDIR%\jdk\jre\bin;%JBCRELEASEDIR%\config;C:\WINNT\System32\Wbem;%HOME%\bin;%HOME%\globusbin;C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\Bin;C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
 
 
Double check on whether the following, environment variables are set as follows, in the remote.cmd file:
 
For example, if you are running VC98:
 
set JBC_CCOMPILER_PATH=C:\Program Files\Microsoft Visual Studio\VC98
set JBC_SHAREDIDE_PATH=C:\Program Files\Microsoft Visual Studio\Common\MSDev98\bin
set INCLUDE=C:\Program Files\Microsoft Visual Studio\VC98\Include
set LIB=C:\Program Files\Microsoft Visual Studio\VC98\Lib
 
For example, if you are running VC7:
 
set JBC_CCOMPILER_PATH=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7
set JBC_SHAREDIDE_PATH=C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
set INCLUDE=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\Include
set LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\Lib
 
NOTE: The path and drive mentioned in the above examples may differ in your setup, please contact your system administrator to get the actual path and do the setup.
 
 
****
However if you are running Microsoft Visual studio Toolkit (freeware), do the following:
 
set JBC_CCOMPILER_PATH=<Path where Microsoft Visual studio Toolkit is installed>
set INCLUDE=<Path where Microsoft Visual studio Toolkit is installed>\Include
set LIB=<Path where Microsoft Visual studio Toolkit is installed>\Lib
 
Note the same changes need to be done to the System Variable as well (as mentioned above).
--
-Best Regards


==================
Jim Jerry Myers
Global Solutions Limited.
42, Giffard Road,
Cantoments.

P. O. Box CT-2946
Accra,
Ghana.

Mobile +233 209513888

skype id => jimjerrymyers

==================

Sharath

unread,
May 13, 2008, 11:06:26 AM5/13/08
to jB...@googlegroups.com

Thanks a ton Jim,  it worked fine J

 


Jim Idle

unread,
May 13, 2008, 11:58:12 AM5/13/08
to jB...@googlegroups.com

Please see my post of about a week ago about installing Windows SDK 6.1 (as part of .Net SDK 3.5, free on the MSDN web site). A quick search on the web interface for the group will find it for you. It is happening because you have not got the environment set up for the C compiler. You can use Visual Studio 2005 or 2008, or just skip that and use the compilers that come with the SDK (as you probably don't need the IDE).

 

Jim

Tom Turkington

unread,
May 13, 2008, 12:20:38 PM5/13/08
to jB...@googlegroups.com

The issue with Vista/VS2003 is just with the IDE.  Go ahead and download the Framework1.1 SDK

 

Still available at http://www.microsoft.com/downloads/details.aspx?FamilyID=9b3a2ca6-3647-4070-9f41-a333c6b9181d&displaylang=en

 

The last I heard JBase didn’t support the 2.0/VS2005 compiler.  Perhaps they are supporting 3.5 compiler?

 

Tom @ Proco, Inc

800-867-7626 x4

t...@proman.com

 

From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf Of Sharath
Sent: Tuesday, May 13, 2008 7:12 AM
To: jb...@googlegroups.com
Subject: [T24] jbase compilation error

 

Hi All,

Reply all
Reply to author
Forward
0 new messages