delorie.com/archives/browse.cgi | search |
From: | Andrew Cottrell <andnews AT ihug DOT com DOT oz DOT au> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Psuedo Newbie - Rhide - PmCom question. |
Date: | Mon, 04 Nov 2002 20:07:30 +1100 |
Organization: | ECLiPSE |
Lines: | 41 |
Message-ID: | <9ldcsu824aoqi1bdsintv83c208uh0d40n@4ax.com> |
References: | <Yhnx9.251$7F2 DOT 21 AT news DOT bellsouth DOT net> |
NNTP-Posting-Host: | p228-tnt8.syd.ihug.com.au |
Mime-Version: | 1.0 |
X-Trace: | lust.ihug.co.nz 1036400856 7183 203.173.147.228 (4 Nov 2002 09:07:36 GMT) |
X-Complaints-To: | abuse AT ihug DOT co DOT nz |
NNTP-Posting-Date: | Mon, 4 Nov 2002 09:07:36 +0000 (UTC) |
X-Newsreader: | Forte Agent 1.92/32.572 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
..SNIP.. >which toss me for a loop. I downloaded the pmcom10.zip, found it within the ..SNIP.. > >Ran MAKE as per the instructions. > >Copied example 1 from the .txi file and loaded it into Rhide. I have not seen any examples that come with PMCOM 1.0 or any of the 1.1 beta's that I have used so could you please let me know where this example is from. I have a data nifer availabel from my home page at http://homepages.ihug.com.au/~acottrel/ I need to update it as the readme does not tell you that you need to manually go into the subdirectories and run make manually and then open the rhide file in the upper directory. >Build All > >Linker errors: >undefinded reference to 'COMInit' >undefinded reference to 'COMDetect' >undefinded reference to 'COMGetHardwareParameters' Looks like you have not included the com.a fiel from the pmcom rel directory. A quick way of doing this is to include the com.a like a normal .c file in the project. A more correct way is to rename the com.a to libcom.a and include the libcom.a as a library via the options->librarry menu option by typing in com (Rhide preappends the lib) and add the pmcom\rel directoty to the library search path. >and I did add the path C:\djgpp\contrib\pmcom\rel\ to the libraries section >of Rhide. So what am I overlooking in this endeavor? Add library file as indicated above. Hope this helps. If you get stuck or have any problems with PMCOM let me know and I will try to help out. Andrew
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |