[sword-devel] Corba-bindings of sword
Troy A. Griffitts
scribe at crosswire.org
Wed Aug 13 14:11:21 MST 2008
DM,
Yeah, corba impl was not yet updated to work with the latest dynamic
versification code in the engine. It is updated now. Though the latest
svn engine code is still not stable.
Peter,
If you aren't getting pkg-config to report -I/usr/include/sword then you
haven't installed the sword engine to your system. You need to both:
make
make install
at the root of the sword source. Hope this helps.
-Troy.
DM Smith wrote:
> Peter von Kaehne wrote:
>> Hi everyone
>> Has anyone experience with compiling corba-bindings?
>>
>> I am struggling and get all kinds of error messages re undefined this and that, seemingly it does not find my sword headers - none of them.
>>
>> How can I rectify this?
>>
>> The headers are installed in /usr/include/sword
>>
>> There are these lines in the Makefile :
>>
>> #sword stuff
>> CXXFLAGS += $(shell PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig pkg-config --cflags sword)
>> CFLAGS += $(shell PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig pkg-config --cflags sword)
>> LIBS += $(shell PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig pkg-config --libs sword)
>>
>> I presume these must be changed, but am clueless how.
>>
> I've just tried to rebuild on the crosswire server (which is 64 bit)
> according to some tried and true instructions from Troy.
> I am getting a build failure too:
> cd .../sword
> svn update
> ../autogen.sh
> ../usrinst.sh
> make
> make install
> cd bindings/corba/orbitcpp
> make clean server install
>
> Here is the output of the last line:
> rm -f *.h *.cc *.o *.c server testclient
> orbit-idl-2 -l c ./../swordorb.idl
> orbit-idl-2 2.14.10 compiling
> mode, hide preprocessor errors, passes: stubs skels common headers
>
> Processing file ./../swordorb.idl
> orbit-idl-2 -l cpp ./../swordorb.idl
> orbit-idl-2 2.14.10 compiling
> mode, hide preprocessor errors, passes: stubs skels common headers
>
> Processing file ./../swordorb.idl
> cc -I/home/dmsmith/env/include/sword -DORBIT2=1 -pthread
> -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/orbitcpp-2.0 -I. -c
> swordorb-common.c
> g++ -I/home/dmsmith/env/include/sword -DORBIT2=1 -pthread
> -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/orbitcpp-2.0 -I. -c
> swordorb-impl.cpp
> swordorb-cpp-skels.h:67: warning: deprecated covariant return type for
> ‘virtual void** POA_swordorb::SWModule::_orbitcpp_get_c_servant()’
> /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_poa.h:63: warning:
> overriding ‘virtual void*
> PortableServer::ServantBase::_orbitcpp_get_c_servant()’
> swordorb-cpp-skels.h:174: warning: deprecated covariant return type for
> ‘virtual void** POA_swordorb::SWMgr::_orbitcpp_get_c_servant()’
> /usr/include/orbitcpp-2.0/orbitcpp/orb-cpp/orbitcpp_poa.h:63: warning:
> overriding ‘virtual void*
> PortableServer::ServantBase::_orbitcpp_get_c_servant()’
> swordorb-impl.cpp: In member function ‘virtual swordorb::StringList*
> swordorb::SWModule_impl::getKeyChildren()’:
> swordorb-impl.cpp:281: error: ‘class sword::VerseKey’ has no member
> named ‘books’
> swordorb-impl.cpp:284: error: ‘class sword::VerseKey’ has no member
> named ‘books’
> make: *** [swordorb-impl.o] Error 1
>
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list