certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] Problem with RTIAmbassador


From: Waléria Antunes David
Subject: Re: [certi-dev] Problem with RTIAmbassador
Date: Mon, 15 Apr 2013 10:27:31 -0300

Olá Denise,

Estou encaminhando também a resposta enviada pelo suporte Certi.

Atenciosamente,


On Mon, Apr 15, 2013 at 10:16 AM, Eric Noulard <address@hidden> wrote:



2013/4/15 Waléria Antunes David <address@hidden>

Do you Know why am I having link problem when using the following code to create a RTIAmbassador? Which lib do I have to use?

                   std::vector< std::wstring > args;

                   RTIambassadorFactory* rtiAmbFactory = new RTIambassadorFactory();
                   std::auto_ptr < RTIambassador > rtiAmbAP = rtiAmbFactory->createRTIambassador(args);     
                   m_rtiAmbassador = rtiAmbAP.release();
                   delete rtiAmbFactory;

This looks OK.


I´m also no sure about de “args” argument, which  kind of information must be passed to the createRTIambassador method?

The IEEE-1516-2010-1 document says:

"The possible values for the strings in the vector argument are implementation dependent."
CERTI currently does not use this arguments list.
You can check by yourself by diving into the corresponding source in CERTI.

Obs.: The link problem is showed in the .jpg.
Since this is a link problem, you must be missing some library in your link directive.

You should be linking against RTI1516(d) , FedTime1516(d) .
'd' suffix is for "Debug" build.

If you use CMake in order to create your project build you may
use FindRTI.cmake shipped with CERTI. A CERTIConfig.cmake should be available soon too.


--
Erk
Le gouvernement représentatif n'est pas la démocratie -- http://www.le-message.org

--
CERTI-Devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/certi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]