<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi again Richy,<br>
<br>
Just wanted to ask if anyone's succeeded in building CLN on MinGW /
MSYS ? Is this something that other people have shown an interest in?<br>
<br>
I get the following error when I try to ./configure && make:<br>
<blockquote type="cite"> g++ -g -O2 -I../include -I../include
-I./base -Ibase -c ./base/random/cl_random_from.cc -DDLL_EXPORT
-DPIC -o .libs/cl_random_from.o<br>
./base/random/cl_random_from.cc: <b>In constructor
`cln::random_state::random_state()':</b><br>
./base/random/cl_random_from.cc:68: <b>error: `::get_seed' has not
been declared</b><br>
make[3]: *** [cl_random_from.lo] Error 1<br>
</blockquote>
<br>
The problem could be as simple as needing to alter the #if stuff like
(defined(_WIN32) && defined(__GNUC__)) -- I think that MinGW
may use slightly different macros eg WIN32 in place of _WIN32. Or it
could be more complex, I know that MinGW doesn't implement glibc so
you might need more complicated #ifdefs and provide some aliases to
MFC library calls.<br>
<br>
My experience with MinGW is that it runs a lot more quickly -- both
compiling and then running the compiled code. The Cywin POSIX layer
seems to slow things down quite a bit in computationally intensive
stuff.<br>
<br>
Cheers<br>
<br>
JP<br>
<pre class="moz-signature" cols="72">--
John Pye
School of Mechanical and Manufacturing Engineering
The University of New South Wales
Sydney NSW 2052 Australia
t +61 2 9385 5127
f +61 2 9663 1222
<a class="moz-txt-link-freetext" href="mailto:john.pye_AT_student_DOT_unsw.edu.au">mailto:john.pye_AT_student_DOT_unsw.edu.au</a>
<a class="moz-txt-link-freetext" href="http://pye.dyndns.org/">http://pye.dyndns.org/</a></pre>
</body>
</html>