gretl-devel-bounces(a)lists.wfu.edu skrev 2009-03-06 16:21:54 :
On Fri, 6 Mar 2009 andreas.rosenblad(a)ltv.se wrote:
> I am struggling with compiling gretl on Windows XP using
Code::Blocks.
Thanks for working on this. It's about time that we got a
proper
build process for Windows worked out. I'll take a good look at
this myself, but meantime here are some quick responses.
It would be really good if there could be a Code::Blocks project file for
compiling gretl. I am struggling with creating one, but it feels like I am
stuck at the moment.
> 1. The matfuncs.c file has several #include <libxslt/...>
preprocessor
> commands, but the README file does not mention that this library is
> necessary to compile gretl on Windows
This is a case where there are some additional dependencies for
building the documentation: you don't need libxslt to build gretl
itself.
Then, what files are necessary to compile gretl, and which files are not
necessary?
> 2. The xsltInternals.h file has the #include
<libxml/dict.h> and
#include
> <libxml/xmlstring.h> preprocessor commands, but these
files are not
> included in the libxml library at
>
http://ricardo.ecn.wfu.edu/pub/gretl/winbuild/
OK, I'll see about fixing that.
> C:\gretl\extra\simple_client.c:24:31: gretl/libgretl.h: No such
> file or directory
> Line 24 reads #include <gretl/libgretl.h>
> I can only find the libgretl.h file in the lib\src folder.
> Shouldnt this line be changed to just #include "libgretl.h" or
> am I doing something wrong?
"simple_client" is not part of gretl itself; it's a
sample
program that is supposed to mimic a third party using libgretl.
So the idea is that when you're building simple_client, libgretl
is already installed on the local system, and pkg-config can pick
up the right path for the libgretl header files.
OK. As above, what files are really necessary to compile gretl, and which
files could be skipped?
Andreas
> Secondly,
> C:\gretl\gui2\about.c:22:19: build.h: No such file or directory
> I cannot find any file named build.h in the current gretl
> source, although I find a build.h file in an old source from
> gretl 1.7.7.
build.h is a generated file, created by the perl script
builddate.pl. It could easily be written manually, e.g.
waverley:~/src/build$ cat build.h
#define BUILD_DATE "build date 2009-03-06\n"
Allin Cottrell
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel