[redland-dev] Install of Raptor in MS Visual Studio C++ 8

Gregory S. Schmidt greg.schmidt at spadac.com
Thu Sep 3 20:30:14 CEST 2009


Everyone,
Has anyone had any luck building the Raptor component in MS Visual Studio?  In V8 (2005?)?  I am just getting on the dev list and haven't searched before Aug 09 yet to see if anyone got it to work.

Just offhand, I took the latest version of raptor v 1.4.19 (2009-07-19). I converted the VS 7.1 sln into V8 sln, which failed due to not finding the curl lib.  I went ahead and took Rapper and Raptor projects and removed the curl build.  I then d/l'ed binaries for curl and relates libs xslt, iconv, xml2 and got everything to compile, but can't finish the linking. The linking was a mess.  I managed to remove some of them, but in other cases, the function prototypes were there with no actual c code.  And that code seems like it should be in the raptor codebase and not a library.

Output attached:
2>Generating Code...
2>Linking...
2>   Creating library .\Release/raptor.lib and object .\Release/raptor.exp
2>raptor_parse.obj : error LNK2019: unresolved external symbol _raptor_init_parser_grddl referenced in function _raptor_parsers_init
2>raptor_parse.obj : error LNK2019: unresolved external symbol _raptor_init_parser_grddl_common referenced in function _raptor_parsers_init
2>raptor_parse.obj : error LNK2019: unresolved external symbol _raptor_terminate_parser_grddl_common referenced in function _raptor_parsers_finish
2>raptor_rdfxml.obj : error LNK2019: unresolved external symbol _raptor_memstr referenced in function _raptor_rdfxml_parse_recognise_syntax
2>turtle_parser.obj : error LNK2001: unresolved external symbol _raptor_memstr
2>raptor_rss_common.obj : error LNK2019: unresolved external symbol _raptor_free_statement_v2 referenced in function _raptor_new_rss_item
2>raptor_serialize_rss.obj : error LNK2001: unresolved external symbol _raptor_free_statement_v2
2>raptor_rss_common.obj : error LNK2019: unresolved external symbol _raptor_print_statement_v2 referenced in function _raptor_new_rss_item
2>raptor_serialize_rss.obj : error LNK2001: unresolved external symbol _raptor_print_statement_v2
2>raptor_serialize_ntriples.obj : error LNK2019: unresolved external symbol _raptor_iostream_write_string_python referenced in function _raptor_iostream_write_string_ntriples
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_abbrev_subject_find referenced in function _raptor_rdfxmla_emit_blank
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_free_avltree_iterator referenced in function _raptor_rdfxmla_emit_subject_properties
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_avltree_iterator_next referenced in function _raptor_rdfxmla_emit_subject_properties
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_avltree_iterator_get referenced in function _raptor_rdfxmla_emit_subject_properties
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_new_avltree_iterator referenced in function _raptor_rdfxmla_emit_subject_properties
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_new_qname_from_resource referenced in function _raptor_rdfxmla_emit_subject_properties
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_free_abbrev_node referenced in function _raptor_rdfxmla_serialize_terminate
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_free_avltree referenced in function _raptor_rdfxmla_serialize_terminate
2>raptor_serialize_rss.obj : error LNK2001: unresolved external symbol _raptor_free_avltree
2>raptor_set.obj : error LNK2001: unresolved external symbol _raptor_free_avltree
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_abbrev_node_equals referenced in function _raptor_rdfxmla_serialize_statement
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_abbrev_subject_add_property referenced in function _raptor_rdfxmla_serialize_statement
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_abbrev_subject_add_list_element referenced in function _raptor_rdfxmla_serialize_statement
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_abbrev_node_lookup referenced in function _raptor_rdfxmla_serialize_statement
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_abbrev_subject_lookup referenced in function _raptor_rdfxmla_serialize_statement
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_new_abbrev_node referenced in function _raptor_rdfxmla_serialize_init
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_new_avltree referenced in function _raptor_rdfxmla_serialize_init
2>raptor_serialize_rss.obj : error LNK2001: unresolved external symbol _raptor_new_avltree
2>raptor_set.obj : error LNK2001: unresolved external symbol _raptor_new_avltree
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_abbrev_node_cmp referenced in function _raptor_rdfxmla_serialize_init
2>raptor_serialize_rdfxmla.obj : error LNK2019: unresolved external symbol _raptor_free_abbrev_subject referenced in function _raptor_rdfxmla_serialize_init
2>raptor_serialize_rss.obj : error LNK2019: unresolved external symbol _raptor_avltree_search referenced in function _raptor_rss10_get_group_item
2>raptor_set.obj : error LNK2001: unresolved external symbol _raptor_avltree_search
2>raptor_serialize_rss.obj : error LNK2019: unresolved external symbol _raptor_avltree_add referenced in function _raptor_rss10_set_item_group
2>raptor_set.obj : error LNK2001: unresolved external symbol _raptor_avltree_add
2>raptor_serialize_rss.obj : error LNK2019: unresolved external symbol _raptor_statement_copy_v2_from_v1 referenced in function _raptor_rss10_serialize_statement
2>.\Release/raptor.dll : fatal error LNK1120: 27 unresolved externals

Greg



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.librdf.org/pipermail/redland-dev/attachments/20090903/b62d4551/attachment.htm 


More information about the redland-dev mailing list