Page 1 of 1

brt71efr.lib missing

Posted: Thu Aug 17, 2006 1:08 pm
by Seb McClouth
While compiling from the prompt I'm using the following:

Code: Select all

bc /o /Ot /Fs /G2 /Fpi /E /X filename;

link filename.obj,lib\qbx.lib+lib\bcl71efr.lib;
For some odd reason the compiler askes for the brt71efr.lib but I can't locate it anywhere on the disk.

Can someone help me out here?

Posted: Thu Aug 17, 2006 2:25 pm
by Seb McClouth
I tried sumfin from sumfin I found online:

Code: Select all

bc filename/o/ah/Lr/FPi/Fs/G2/Ot/E;
link @file.txt
And file.txt contains the following:

Code: Select all

/EX /NOE /NOD:BRT71EFR.LIB filename
filename.exe
nul.map
qbx.lib+bcl71efr.lib
(an empty line)
When running it, I get the following:

Code: Select all

LINK : fatal error L1102: unexpected end-of-file
Any suggestions?

Re: brt71efr.lib missing

Posted: Fri Aug 18, 2006 1:33 am
by moneo
Seb McClouth wrote:While compiling from the prompt I'm using the following:

Code: Select all

bc /o /Ot /Fs /G2 /Fpi /E /X filename;
link filename.obj,lib\qbx.lib+lib\bcl71efr.lib;
For some odd reason the compiler askes for the brt71efr.lib but I can't locate it anywhere on the disk....
You said: "While compiling from the prompt..."
I assume you mean from the MSDOS command-line,
and not compiling from the QB environment.

If that's true, then where did you get those strange /switches?
/Ot does not exist for QuickBasic 4.5.
/Fs does not exist.
/G2 does not exist.
/Fpi is a switch for Microsoft Basic 6.0 only.

Take a look at: http://support.microsoft.com/kb/q43090/
for a list of valid /switches.

Now, as far as the LINK goes, if YOU specify a library, then it better be there. This is the LINK. That library is not specified for the COMPILE.

Hope some of this helps.

Regards..... Moneo

Posted: Fri Aug 18, 2006 12:01 pm
by Seb McClouth
The ones you quoted actually come compile.bat from Novix by Z!re. It used to work for me but for some odd reason it doesn't anymore.

Posted: Fri Aug 18, 2006 2:59 pm
by speewave
by the looks of it you are using pds. You might want to look at the disks or the folder you had the pds setup in and look around for the file "brt71efr.li~" or "brt71efr.lib" on the disk... microsoft had a dumb installation thing that prevented you from having the full file name up untill the Win95\NT4 era. so it's probably the file your looking for missing the b of .lib. so if you find it copy it to the PDS folder and rename it so it says brt71efr.lib and it should work!

More Simpler to re install. or check your dirs... make shure that pds is setup to the folder where brt71efr.lib is at along with other libs. hope this helps...

BTW: PDS Sux it's way too complicated for my taste. but what ever works for u... tgfqb (thank god for qb!) :lol: any way though just go with qb4.50 because more libs support it!
________
California Special Mustang

Posted: Sat Aug 19, 2006 1:27 pm
by Seb McClouth
Since I started using Novix as reference material I had to switch to PDS... and currently it works just fine for me... but thx for the hint...

Posted: Mon Oct 02, 2006 1:43 pm
by Seb McClouth
Speewave... it worked... now stuck at another problem but I can fix that one... thx!!

grtz

Posted: Mon Oct 02, 2006 1:55 pm
by Seb McClouth
Well I fixed it and brt71efr.lib stucks me with a new problem:
Input path for run-time module brt71efr.exe
Some help me out plz.

Ohw btw I'm using a batch for compiling:

link a+b+c+d,,nul,lib\brt71efr.lib;

grtz
Seb

Posted: Tue Oct 03, 2006 8:23 am
by Patz QuickBASIC Creations
I'm sorry I can't be of more help, but it seems you are missing either...
a) The switch to make it a stand-alone executable
OR
b) The BC7.1 Runtime Module.

To fix A, use the switch for stand alone executables.
To fix B, do the same thing you did for that library, except for brt71efr.ex~

------------------------------------------------------------
moneo wrote:/Ot does not exist for QuickBasic 4.5.
/Fs does not exist.
/G2 does not exist.
/Fpi is a switch for Microsoft Basic 6.0 only.
Seb uses PDS for QBINUX development. So, the switches you debated are defined as follows.

Code: Select all

/Ot     Optimizes the performance of procedure calls.

/Fs     Enables you to store string data in far memory.

/G2     Generates instructions specific to the 80286 processor chip
        that result in smaller, faster executable code.

/FPi    Generates in-line (i) coprocessor instructions for floating
        point (FP) math. If a coprocessor is not present at run time,
        the Basic run-time system will emulate a coprocessor.
This is the site that lists valid switches for PDS.
http://support.microsoft.com/kb/84469

Posted: Sun Oct 08, 2006 12:45 pm
by Seb McClouth
It worked!! Thx!!

Is there a way to not having to use the .exe of brt71efr? It would else mean that I need to distribute qbinux with the brt71efr.exe-file... Not really good that way ofcourse...

grtz

Posted: Mon Oct 09, 2006 2:13 am
by Macric
Seb McClouth wrote:Is there a way to not having to use the .exe of brt71efr? It would else mean that I need to distribute qbinux with the brt71efr.exe-file
just compile from inside the PDS editor as Stand-Alone;
it's the best way to work easier.

Posted: Wed Oct 11, 2006 2:00 pm
by Seb McClouth
The thing is, I'm compiling from the prompt... is there a way to do it there?

grtz

Posted: Mon Oct 16, 2006 3:55 pm
by Patz QuickBASIC Creations
Seb McClouth wrote:It worked!! Thx!!

Is there a way to not having to use the .exe of brt71efr? It would else mean that I need to distribute qbinux with the brt71efr.exe-file... Not really good that way ofcourse...

grtz
I know that you can do it. I'll find the switch to do it and update you tomorrow...