[openamq-dev] problems building on Windows
Nick Levine
ndl at ravenbrook.com
Tue Aug 7 10:44:49 CEST 2007
I was trying to build OpenAMQ-1.2c1 on Windows XP, with
BOOM_MODEL=st,debug
I got a raft of errors. Maybe the first one wasn't important (it's
hard to tell):
Warning: ignoring unknown project: xml_nonthreaded - Win32 Debug
Error: There are no valid targets to build.
This workspace file is corrupted: it contains more than one project called 'xml'.
Those extra projects will be removed from the workspace.
But the next one was "fatal":
Generating Code...
Compiling...
apr_uri.c
apr_xml.c
C:\tmp\ibase\src\OpenAMQ-1.2c1\foreign-1.1d4\apr\apr-util\xml\apr_xml.c(31) : fatal error C1083: Can
not open include file: 'expat.h': No such file or directory
Generating Code...
Error executing cl.exe.
aprutil-1.lib - 1 error(s), 0 warning(s)
boomvs E: build FAILED
boom E: [apr]: libapr.lib is missing, cannot continue
boom I: [foreign]: Processing project in pcre...
The system cannot find the path specified.
boom I: [apr]: Building apr...
Indeed, there was no file called expat.h anywhere in the tree. There is
however a "expat.h.in", located here:
./foreign-1.1d4/apr/apr-util/xml/expat/lib/expat.h.in
Should some configuration have processed this? I guess it should: I
changed BOOM_MODEL to mt,release and the compilation went ahead OK.
I don't _need_ it built single-threaded, I'm only building to test run
it. But maybe this can be fixed (or a warning placed on the website),
as an aid to the next person to come along...
Thanks,
- nick
More information about the openamq-dev
mailing list