I've just tried to build with Brisa's download_and_compile.sh script. The latest version has openRTI support again, thanks to Hamza!
Now, Simgear builds fine with openRTI enabled (-i)
FGFS doesn't! It fails with some strange messages like this:
- Code: Select all
[100%] Built target fgfs
[100%] Built target metar
Linking CXX executable CMakeFiles/CMakeRelink.dir/fgadmin
Linking CXX executable CMakeFiles/CMakeRelink.dir/fgai
/usr/bin/ld: warning: libOpenRTI.so.1, needed by /media/FG/git/install/openrti/lib/libRTI-NG.so, not found (try using -rpath or -rpath-link)
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getTransportationType(std::string const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::CommitLowerBoundTimeStampMessage::CommitLowerBoundTimeStampMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::DestroyFederationExecutionRequestMessage::DestroyFederationExecutionRequestMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::matchExtension(std::string const&, char const*)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::setPermitTimeRegulation(bool)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::RequestClassAttributeUpdateMessage::RequestClassAttributeUpdateMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `typeinfo for OpenRTI::RTIinternalError'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::utf8ToUcs(char const*)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::getAttribute(OpenRTI::AttributeHandle const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::setFederationHandle(OpenRTI::FederationHandle const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::EnableTimeRegulationRequestMessage::EnableTimeRegulationRequestMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::insertAnnouncedFederationSynchonizationLabel(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::send(OpenRTI::SharedPtr<OpenRTI::AbstractMessage const> const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ucsToUtf8(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getObjectInstanceHandle(std::string const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::localeToUcs(char const*)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::FDD1516FileReader::read(std::istream&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::_dispatchCallbackMessage(OpenRTI::AbstractMessageDispatcher&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::TimeStampedAttributeUpdateMessage::TimeStampedAttributeUpdateMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::synchronizationLabelAnnounced(std::string const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InsertObjectInstanceMessage::InsertObjectInstanceMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::setAttributeScopeAdvisorySwitchEnabled(bool)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::LogStream::getStream(OpenRTI::LogStream::Category, OpenRTI::LogStream::Priority)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ObjectInstanceHandlesRequestMessage::ObjectInstanceHandlesRequestMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::flushAndDispatchInternalMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::SynchronizationPointAchievedMessage::SynchronizationPointAchievedMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::PublishSubscribe::setSubscriptionType(OpenRTI::SubscriptionType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::setSubscriptionType(OpenRTI::SubscriptionType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::TimeStampedInteractionMessage::TimeStampedInteractionMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `typeinfo for OpenRTI::Exception'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::getEffectiveSubscriptionType() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getUpdateRateValue(std::string const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::takeFreeObjectInstanceHandleNamePair()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectInstance::ownsAnyAttribute() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::RegistrationForObjectClassMessage::RegistrationForObjectClassMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::AttributesInScopeMessage::AttributesInScopeMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Clock::now()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::getAttribute(OpenRTI::AttributeHandle const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::isPublished() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getInteractionClassHandle(std::string const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ucsToLocale(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::JoinFederationExecutionRequestMessage::JoinFederationExecutionRequestMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `typeinfo for OpenRTI::InternalAmbassador'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::LockedByNextMessageRequestMessage::LockedByNextMessageRequestMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::caseCompare(std::string const&, char const*)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::URL::getPath() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::insertObjectInstance(OpenRTI::ObjectInstanceHandle, std::string const&, OpenRTI::ObjectClassHandle, bool)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::RTIinternalError::RTIinternalError(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::Federate()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::takeReservedObjectInstanceName(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::connect(OpenRTI::URL const&, std::map<std::string, std::list<std::string, std::allocator<std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::list<std::string, std::allocator<std::string> > > > > const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::RTIinternalError::RTIinternalError(char const*)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InteractionMessage::InteractionMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::CommitLowerBoundTimeStampResponseMessage::CommitLowerBoundTimeStampResponseMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::DeleteObjectInstanceMessage::DeleteObjectInstanceMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::InteractionClass::getParameterHandle(std::string const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ResignFederationExecutionLeafRequestMessage::ResignFederationExecutionLeafRequestMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::dispatchWaitReserveObjectInstanceName(OpenRTI::Clock const&, std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::PublishSubscribe::setOrderType(OpenRTI::OrderType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::setPublicationType(OpenRTI::PublicationType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::URL::URL(OpenRTI::URL const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::RequestAttributeUpdateMessage::RequestAttributeUpdateMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::haveFreeObjectInstanceHandleNamePair() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::setAttributeRelevanceAdvisorySwitchEnabled(bool)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::dispatchWaitCreateFederationExecutionResponse(OpenRTI::Clock const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ReleaseMultipleObjectInstanceNameHandlePairsMessage::ReleaseMultipleObjectInstanceNameHandlePairsMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::setLogicalTimeFactoryName(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getObjectClassHandle(std::string const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::TimeStampedDeleteObjectInstanceMessage::TimeStampedDeleteObjectInstanceMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getObjectInstance(OpenRTI::ObjectInstanceHandle const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::dispatchWaitDestroyFederationExecutionResponse(OpenRTI::Clock const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::getAttributeHandle(std::string const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::_callbackMessageAvailable()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::EnableTimeRegulationResponseMessage::EnableTimeRegulationResponseMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::InstanceAttribute::setOrderType(OpenRTI::OrderType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getTransportationName(OpenRTI::TransportationType) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::TimeRegulationEnabledMessage::TimeRegulationEnabledMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::getBasePart(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::getEffectivePublicationType() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalTimeManagement::InternalTimeManagement()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ChangeInteractionClassSubscriptionMessage::ChangeInteractionClassSubscriptionMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::LogStream::Instance()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::FEDFileReader::read(std::istream&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::PublishSubscribe::setPublicationType(OpenRTI::PublicationType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::InstanceAttribute::setTransportationType(OpenRTI::TransportationType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::RTIinternalError::~RTIinternalError()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::PublishSubscribe::setTransportationType(OpenRTI::TransportationType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::eraseAnnouncedFederationSynchonizationLabel(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::URL::fromUrl(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::URL::setPath(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Exception::Exception(char const*, std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::receiveAndDispatchInternalMessage(OpenRTI::Clock const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::isAttributePublished(OpenRTI::AttributeHandle const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ChangeInteractionClassPublicationMessage::ChangeInteractionClassPublicationMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::dispatchWaitEraseFederationExecutionResponse(OpenRTI::Clock const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::URL::~URL()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::~InternalAmbassador()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getObjectClass(OpenRTI::ObjectClassHandle const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::getAttributeSubscriptionType(OpenRTI::AttributeHandle const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectInstance::getInstanceAttribute(OpenRTI::AttributeHandle const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::setInteractionRelevanceAdvisorySwitchEnabled(bool)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectInstance::isOwnedByFederate() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::insertReservedObjectInstanceHandleNamePair(std::pair<OpenRTI::ObjectInstanceHandle, std::string> const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `typeinfo for OpenRTI::InternalTimeManagement'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::AttributeUpdateMessage::AttributeUpdateMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::URL::operator!=(OpenRTI::URL const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Exception::Exception(char const*, char const*)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::CreateFederationExecutionRequestMessage::CreateFederationExecutionRequestMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ChangeObjectClassPublicationMessage::ChangeObjectClassPublicationMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::isConnected() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::dispatchWaitJoinFederationExecutionResponse(OpenRTI::Clock const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::TimeAdvanceGrantedMessage::TimeAdvanceGrantedMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::utf8ToUcs(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::InteractionClass::getParameter(OpenRTI::ParameterHandle const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalAmbassador::InternalAmbassador()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::getFilePart(std::string const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::InternalTimeManagement::~InternalTimeManagement()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::URL::URL()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::setAttributeSubscriptionType(OpenRTI::AttributeHandle const&, OpenRTI::SubscriptionType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::TurnUpdatesOnForInstanceMessage::TurnUpdatesOnForInstanceMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::setObjectClassRelevanceAdvisorySwitchEnabled(bool)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::DisableTimeRegulationRequestMessage::DisableTimeRegulationRequestMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Exception::~Exception()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Exception::what() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::ChangeObjectClassSubscriptionMessage::ChangeObjectClassSubscriptionMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectInstance::getName() const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectInstance::getInstanceAttribute(OpenRTI::AttributeHandle const&) const'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::getInteractionClass(OpenRTI::InteractionClassHandle const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::eraseObjectInstance(OpenRTI::ObjectInstanceHandle const&)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::TimeConstrainedEnabledMessage::TimeConstrainedEnabledMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::RegisterFederationSynchronizationPointMessage::RegisterFederationSynchronizationPointMessage()'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::Federate::ObjectClass::setAttributePublicationType(OpenRTI::AttributeHandle const&, OpenRTI::PublicationType)'
/media/FG/git/install/openrti/lib/libRTI-NG.so: undefined reference to `OpenRTI::TurnInteractionsOnMessage::TurnInteractionsOnMessage()'
collect2: error: ld returned 1 exit status
utils/fgai/CMakeFiles/fgai.dir/build.make:551: recipe for target 'utils/fgai/CMakeFiles/CMakeRelink.dir/fgai' failed
make[2]: *** [utils/fgai/CMakeFiles/CMakeRelink.dir/fgai] Error 1
CMakeFiles/Makefile2:536: recipe for target 'utils/fgai/CMakeFiles/fgai.dir/preinstall' failed
make[1]: *** [utils/fgai/CMakeFiles/fgai.dir/preinstall] Error 2
Makefile:143: recipe for target 'preinstall' failed
make: *** [preinstall] Error 2
download_and_compile.sh has finished to work
Any idea what I can do to make this work?
Thanks
chris