home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!apple!applelink.apple.com
- From: D6431@AppleLink.Apple.COM (OptImage Interactive Svcs,PRT)
- Newsgroups: comp.sys.mac.oop.macapp3
- Subject: includes in CPlus
- Message-ID: <724715248.2875873@AppleLink.Apple.COM>
- Date: 18 Dec 92 16:56:00 GMT
- Sender: daemon@Apple.COM
- Organization: AppleLink Gateway
- Lines: 29
-
- Help!! I Have a MacApp Problem;
-
- I am trying to compile my MacApp program with additional custom C libraries
- that were created in MPW C. The Libraries and their header files are stored in
- a seperate directory on my drive. I added to my .MAMake file the line:
-
- OtherCPlusOptions = -i "MyHardDrive:Additional_Header_for_My_C_Libraries"x
- -i"MyHardDrive:Still_More_Additional_Header_for_My_C_Libraries"
-
- This enabled the CFrontTool to find header files from these external libraries
- that I included in my .cp files that it normally would not find.
-
- Here is the problem: in these C Library header files that I'm including, they
- contain addtional includes of their own (These C Libraries that I'm using are
- arranged in a complex yet elegant network in their directory; there are many,
- many libraries and they all work off each other). These include statements
- contain not just the name of the header file to include but also a partial path
- name. The CFront tool doesn't like these partial path names!! It likes full
- path names or even root file names, but it chokes on partial path names and
- says it cannot find the file. Why does the MPW C compiler accept partial path
- names in the include statements but the CFront tool chokes on them. I'm trying
- to avoid changing the include statements because there are hundreds of files to
- contend with. My colleage that wrote these libraries had no way of knowing
- that the partial path names would cause me problems in MacApp, because as I
- mentioned above the MPW C compiler doesn't. Is there some way I can tell the
- CPlus Tool to accept partial path Names??? Any help would be much appreciated.
-
- Jay Bartot @OptImage Interactive Services
-
-