www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/16/10:51:50

From: "Sherlock" <naughtyboy AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Using fix.h in DJGPP
Lines: 21
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <p1cY3.235$Yb.33904@nnrp.gol.com>
Date: Tue, 16 Nov 1999 12:23:49 GMT
NNTP-Posting-Host: 203.216.8.6
X-Complaints-To: abuse AT gol DOT com
X-Trace: nnrp.gol.com 942755029 203.216.8.6 (Tue, 16 Nov 1999 21:23:49 JST)
NNTP-Posting-Date: Tue, 16 Nov 1999 21:23:49 JST
Organization: Global Online Japan
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am trying to use the fixed point class 'fix.h' in DJGPP, but am having
trouble linking.
This program works fine compiles and links fine:
#include <fix.h>
int main()
{
}

but this program (below) has linker errors such as:
- undefined reference to 'Fix::Fix(void)'
- undefined reference to 'Fix::~Fix(void)

#include <fix.h>
int main()
{
    Fix a;
}

What can i do to fix this?


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019