Mega Search
23.2 Million


Sign Up

Make a donation  
How can I link the RandG library function?  
News Group: embarcadero.public.cppbuilder.language.cpp

I am trying to convert to XE6 an old C program written circa 1994 and intended
for a Unix flavor of C. It uses the math function  normal_rand  which
does not exist in XE6. Browsing around, it looks like a good substitute
could be  RandG  whose declaration is in  System.Math.hpp

The compiler does not complain, but the linker does, saying that it is
unable to resolve the external  RandG

Any suggestions ?   Thanks

Alberto



---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 18-Jan-2015, at 11:24 AM EST
From: Alberto di Bene
 
Re: How can I link the RandG library function?  
News Group: embarcadero.public.cppbuilder.language.cpp
On 1/18/2015 8:24 PM, Alberto di Bene wrote:

> The compiler does not complain, but the linker does, saying that it is
> unable to resolve the external  RandG

Can anybody suggest which object library should I point the linker to,
to have that external reference resolved ?

Thanks

Alberto





---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 20-Jan-2015, at 2:12 PM EST
From: Alberto di Bene