Compilation Error

37 views
Skip to first unread message

Karthik Sekar

unread,
Oct 26, 2007, 11:03:12 PM10/26/07
to jB...@googlegroups.com
I was installing jBASE 5.0 and during compilation I got the following
error. Can anyone help me please?

jsh Administrator ~ -->CATALOG KAR.BP PROG.TEST
PROG.TEST
'link' is not recognized as an internal or external command,
operable program or batch file.
Object PROG.TEST cataloged successfully
Library C:\R7mb\Temenos\MB\bnk\bnk.run\lib\lib3.dll rebuild okay
jsh Administrator ~ -->

--
Karthik Sekar

Jim Idle

unread,
Oct 29, 2007, 12:51:18 PM10/29/07
to jb...@googlegroups.com

It looks like you don't have a good version of the C compiler loaded, which is where the link command comes from. Did you install Visual Studio, or the Frameworkd SDK before loading jBASE?

 

Jim






> Date: Sat, 27 Oct 2007 08:33:12 +0530
> From: karthi...@gmail.com
> To: jB...@googlegroups.com
> Subject: Compilation Error

Lenfant

unread,
Oct 29, 2007, 1:31:07 PM10/29/07
to jBASE
Jim

I''ve installed jBASE and am also getting problems with the
compilation of programs. Rather than purchasing Visual Studio can I
just get the compiler or is there an alternative?

On Oct 29, 4:51 pm, Jim Idle <j...@temporal-wave.com> wrote:
> It looks like you don't have a good version of the C compiler loaded, which is where the link command comes from. Did you install Visual Studio, or the Frameworkd SDK before loading jBASE?
>
> Jim
>
>
>

> > Date: Sat, 27 Oct 2007 08:33:12 +0530> From: karthik.se...@gmail.com> To: jB...@googlegroups.com> Subject: Compilation Error> > > I was installing jBASE 5.0 and during compilation I got the following> error. Can anyone help me please?> > jsh Administrator ~ -->CATALOG KAR.BP PROG.TEST> PROG.TEST> 'link' is not recognized as an internal or external command,> operable program or batch file.> Object PROG.TEST cataloged successfully> Library C:\R7mb\Temenos\MB\bnk\bnk.run\lib\lib3.dll rebuild okay> jsh Administrator ~ -->> > -- > Karthik Sekar> > >- Hide quoted text -
>
> - Show quoted text -

Kevin Bilbee

unread,
Oct 29, 2007, 1:57:39 PM10/29/07
to jB...@googlegroups.com

Jim Idle

unread,
Oct 29, 2007, 2:37:18 PM10/29/07
to jb...@googlegroups.com
Just download and install the Microsoft .Net Framework SDK. I comes with a C compiler.
 
Jim





Lenfant

unread,
Oct 30, 2007, 2:01:56 PM10/30/07
to jBASE
jBASE seems to now compile correctly, however when I run the catalog
command the following error occurs:

CATALOG ZSL.BP TEST1
TEST1
link /NOLOGO /DLL /INCREMENTAL:NO /NODEFAULTLIB:LIBC /
DEFAULTLIB:MSVCRT CATAL4
LINK : fatal error LNK1104: cannot open file MSVCRT.lib'
jcompile: c:\temp\jbuild4 deleted
jcompile: Returned an error code of 8
** Unable to catalog object TEST1 **

Any idea on what could be the problem?

Jim Idle

unread,
Oct 30, 2007, 2:22:49 PM10/30/07
to jB...@googlegroups.com
If you are sure that MSVCRT.LIB is installed (try a search), then it is
likely that because you installed jBASE when there was no compiler
installed, it was not able to set up the variables it needs to find the
libraries. Perhaps the easiest way around this is to now uninstall jBASE and
reinstall it - it should then (normally) find the necessary settings.
Otherwise consult the vsvars32.bat file comes with the compiler (I am not
actually sure if you get this with the SDK as I always use the full Visual
Studio), however it should look something like this:

@SET VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8
@SET VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 8\VC
@SET FrameworkDir=C:\Windows\Microsoft.NET\Framework
@SET FrameworkVersion=v2.0.50727
@SET FrameworkSDKDir=C:\Program Files (x86)\Microsoft Visual Studio
8\SDK\v2.0
@if "%VSINSTALLDIR%"=="" goto error_no_VSINSTALLDIR
@if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR

@echo Setting environment for using Microsoft Visual Studio 2005 x86 tools.

@rem
@rem Root of Visual Studio IDE installed files.
@rem
@set DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\IDE

@set PATH=C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\Tools\bin;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\PlatformSDK\bin;C:\Program Files (x86)\Microsoft Visual Studio
8\SDK\v2.0\bin;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files (x86)\Microsoft Visual Studio 8\VC\VCPackages;%PATH%
@set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio
8\VC\ATLMFC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\INCLUDE;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\PlatformSDK\include;C:\Program Files (x86)\Microsoft Visual Studio
8\SDK\v2.0\include;%INCLUDE%
@set LIB=C:\Program Files (x86)\Microsoft Visual Studio
8\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\PlatformSDK\lib;C:\Program Files (x86)\Microsoft Visual Studio
8\SDK\v2.0\lib;%LIB%
@set LIBPATH=C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files
(x86)\Microsoft Visual Studio 8\VC\ATLMFC\LIB

@goto end

:error_no_VSINSTALLDIR
@echo ERROR: VSINSTALLDIR variable is not set.
@goto end

:error_no_VCINSTALLDIR
@echo ERROR: VCINSTALLDIR variable is not set.
@goto end

:end


If you set these variables manually in your system environment, then things
should work. BUT make sure you don't just copy what is here as this is for
VS2005. You need to find the equivalent locations.

Jim

> -----Original Message-----
> From: jB...@googlegroups.com [mailto:jB...@googlegroups.com] On Behalf
> Of Lenfant
> Sent: Tuesday, October 30, 2007 11:02 AM
> To: jBASE
> Subject: Re: Compilation Error
>
>

Reply all
Reply to author
Forward
0 new messages