brt71efr.lib missing

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

brt71efr.lib missing

Post 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?
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post 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?
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
moneo
Veteran
Posts: 451
Joined: Tue Jun 28, 2005 7:00 pm
Location: Mexico City, Mexico

Re: brt71efr.lib missing

Post 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
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post 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.
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
speewave
Coder
Posts: 14
Joined: Sun Jul 30, 2006 9:44 pm

Post 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
Last edited by speewave on Sat Feb 12, 2011 5:31 pm, edited 1 time in total.
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post 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...
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post by Seb McClouth »

Speewave... it worked... now stuck at another problem but I can fix that one... thx!!

grtz
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post 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
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post 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
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post 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
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
Macric
Coder
Posts: 34
Joined: Fri Mar 25, 2005 11:11 pm
Location: Mexico

Post 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.
User avatar
Seb McClouth
Veteran
Posts: 342
Joined: Wed Nov 09, 2005 7:47 am
Location: Inside the Matrix...
Contact:

Post by Seb McClouth »

The thing is, I'm compiling from the prompt... is there a way to do it there?

grtz
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post 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...
Post Reply