[redland-dev] win32 build errors on raptor 1.3.3 and 1.3.4
Dave Beckett
dave.beckett at bristol.ac.uk
Mon Sep 27 12:14:40 BST 2004
On Wed, 22 Sep 2004, John Day wrote:
> Am trying to build latest raptor under win32. Noted these config errors in
> build:
That build configuration I know is out of date. You might try
the more recent builds made by Chris Pointon (see
http://rdfweb.org/pipermail/rdfweb-dev/2004-August/013617.html
)
I've archived copies at http://librdf.org/2004/08/README
and rdf.zip in that dir.
> 1. raptor.dsw and .dsp have incorrect path to expat-1.95.8 headers and lib.
> Left out "\Source\"
>
> Project: "expat"="..\..\expat-1.95.8\Source\lib\
>
> -I ..\..\expat-1.95.8\Source\lib\ etc etc
That'll be very dependent on expat version
> 2. raptor_rdfxml.c and raptor_rfc2396.c not listed in Source files
Yeah, those were added in the latest raptor version.
> 3. in raptortest.cpp some missing/incorrect #defines
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(19) : error C2065:
> 'RAPTOR_PREDICATE_TYPE_ORDINAL' : undeclared identifier
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(19) : error C2678: binary
> '==' : no operator found which takes a left-hand operand of type 'const
> raptor_identifier_type' (or there is no acceptable conversion)
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(21) : error C2065:
> 'RAPTOR_PREDICATE_TYPE_XML_NAME' : undeclared identifier
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(21) : error C2678: binary
> '==' : no operator found which takes a left-hand operand of type 'const
> raptor_identifier_type' (or there is no acceptable conversion)
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(26) : error C2065:
> 'RAPTOR_OBJECT_TYPE_LITERAL' : undeclared identifier
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(26) : error C2678: binary
> '==' : no operator found which takes a left-hand operand of type 'const
> raptor_identifier_type' (or there is no acceptable conversion)
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(27) : error C2065:
> 'RAPTOR_OBJECT_TYPE_XML_LITERAL' : undeclared identifier
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(27) : error C2678: binary
> '==' : no operator found which takes a left-hand operand of type 'const
> raptor_identifier_type' (or there is no acceptable conversion)
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(29) : error C2065:
> 'RAPTOR_OBJECT_TYPE_XML_NAME' : undeclared identifier
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(29) : error C2678: binary
> '==' : no operator found which takes a left-hand operand of type 'const
> raptor_identifier_type' (or there is no acceptable conversion)
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(54) : error C3861:
> 'raptor_new': identifier not found, even with argument-dependent lookup
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(62) : error C2664:
> 'raptor_parse_file' : cannot convert parameter 2 from 'char *' to
> 'raptor_uri * '
>
> Types pointed to are unrelated; conversion requires
> reinterpret_cast, C-style cast or function-style cast
>
> c:\awork\Rodeo\raptor-1.3.4\win32\raptortest.cpp(75) : error C3861:
> 'raptor_free': identifier not found, even with argument-dependent lookup
I think all that test code needs updating. Probably better to use
the built-in rapper program and the other tests.
Cheers
Dave
More information about the redland-dev
mailing list