
GUS Programmer's Digest     Wed, 1 Sep 93        Volume 3: Issue  12  

Today's Topics:
                           Borland C++ 3.1
                        GUS SDK 2.01 (2 msgs)

Standard Info:
	- Meta-info about the GUS can be found at the end of the Digest.
	- Before you ask a question, please READ THE FAQ.

----------------------------------------------------------------------

Date: Tue, 31 Aug 93 9:35:24 GMT
From: "Bjarni R. Einarsson" <bre@os.is>
Subject: Borland C++ 3.1
Message-ID: <199308310935.JAA24794@blesi.os.is>

> I've asked this before but got no reply, so in desperation I'm asking again...
> 
> I have Borland C++ 3.1 and it's installed to the default directories. I have the 
> GUS SDK 2.01 and it's also installed to the default dirs. I have created dirs 
> largeb,tinyb, etc. When I run Make I get heaps of errors about undeclared 
> functions and other stuff that scrolls past before I can read it. Obviously 
> something is not set up right. What is it I need to do to get example.c to 
> compile and link? ANY hints would be appreciated.
> Gavin.
> 
 
I also had this problem, when I checked out the SDK.  The solution is in 
one of the header files :-).  I can't remember which one, but one of the 
header files has an #undef or a /*#define*/ that needs to be switched on.
This will activate re-definations of the inpw(), inpb() (or whatever) func-
tions.  These functions are not the same in Borland 3.1 and 2.0..  Also, you 
have to be careful how it is compiled.  There is some specific setup for the
smaller memory models, that you can see in the makefile (pain if you are in
the IDE)... I never bothered to get small or medium to work.. I just used
a larger memory model :-)

I hope this helps...

P.S.  The #define has a comment about what it is for, I think.  You could
      probably do a global search for "3.1"  or "borland" and find it.. I'm
      not sure though.  It IS there.  Somewhere.

P.P.S.  You will need to re-make all the libraries..
  ______________________________________________   ___________________
 /                                              \ /                   \
( "Shee, you guys are so unhip its a wonder your O Bjarni R. Einarsson )
(  bums don't fall off!" -- Zaphod Beeblebrox    O  - - bre@os.is - -  )
 \______________________________________________/ \___________________/

------------------------------

Date: Tue, 31 Aug 93 11:14:01 EDT
From: dulimart@cps.msu.edu
Subject: Re: GUS SDK 2.01
Message-ID: <9308311514.AA28300@java>

   Date: Mon, 30 Aug 1993 17:30:07 +0930 (CST)
   From: Gavin <SCARMAN@hfrd.dsto.gov.au>

   I've asked this before but got no reply, so in desperation I'm asking
   again...

   I have Borland C++ 3.1 and it's installed to the default
   directories. I have the GUS SDK 2.01 and it's also installed to the
   default dirs. I have created dirs largeb,tinyb, etc. When I run Make
   I get heaps of errors about undeclared functions and other stuff that
   scrolls past before I can read it. Obviously something is not set up
   right. What is it I need to do to get example.c to compile and link?
   ANY hints would be appreciated.  Gavin.

I'm not using Borland C++ 3.1, but in Turbo C++, I setup 'Option ->
Environment' (or something like that).

Hans.

------------------------------

Date: Tue, 31 Aug 93 17:54:05 +0200
From: d91-sme@nada.kth.se
Subject: Re: GUS SDK 2.01
Message-ID: <9308311554.AA20933@dront.nada.kth.se>

> I have Borland C++ 3.1 and it's installed to the default directories.
> I have the
> GUS SDK 2.01 and it's also installed to the default dirs. I have created dirs
> largeb,tinyb, etc. When I run Make I get heaps of errors about undeclared
> functions and other stuff that scrolls past before I can read it. Obviously
> something is not set up right. What is it I need to do to get example.c to
> compile and link? ANY hints would be appreciated.
> Gavin.

The SDK is written a bit sloppy, I think. It is not in ANSI C.
Try to compile it with the old K&R C-style and see if anything changes.
Also make sure that you don't compile in C++ mode.

/Smedis (Niklas Smedberg, d91-sme@nada.kth.se)

------------------------------

End of GUS Programmer's Digest V3 #12
*************************************

To post to tomorrow's digest:               <gus-sdk%itchy@dsd.es.com>
To (un)subscribe or get help:       <gus-sdk-request%itchy@dsd.es.com>
To contact a human (last resort):     <gus-sdk-owner%itchy@dsd.es.com>

FTP sites:         archive.epas.utoronto.ca         pub/pc/ultrasound
                   wuarchive.wustl.edu       systems/msdos/ultrasound
Hints:
      - Get the FAQ from the FTP sites or the request server.
      - Mail to <gus-sdk-request%itchy@dsd.es.com> for info about
	other GUS related mailing lists (UNIX, OS/2, GUS-MIDI, etc.)

