Bonjour,
Merci tout d'abord d'avoir fait une version n'utilisant pas les
librairies X11...
Tout ce passe correctement lors du make et du make install
Cependant d'autres problèmes surgissent.
Voici ma configuration :
* Variables d'environnements
export PATH=$PATH:/usr/local/bin/
export LD_LIBRARY_PATH=$LD_LIBRAIR_PATH:/usr/local/bin/
export CERTI_HOST=debian2
* Répertoire des binaires :
/usr/local/bin
* Voici le résultat de l'exécution du RTIG et d'un fédéré billard
* Terminal RTIG
----------------------------------------------------------------------------------
address@hidden:~$ rtig
CERTI RTIG 3.2.3-testV2 - Copyright 2002-2006 ONERA
This is free software ; see the source for copying conditions. There
is NO
warranty ; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
CERTI RTIG up and running ...
New federation: Test
Looking for FOM file... Test.fed... failed : FED file unknown.
TCP Socket 6 : total = 40b sent
TCP Socket 6 : total = 88b received
UDP Socket 1936289071 : total = 0b sent
UDP Socket 1936289071 : total = 0b received
----------------------------------------------------------------------------------
* Terminal billard 1
commande : billard --name=Billard_numero_1 --federation=Test
--filename=Test.fed -timer=60
Voici l'exécution en tant qu'utilisateur :
----------------------------------------------------------------------------------
CERTI Billard 3.2.3-testV2
SocketUN: bind: Permission denied
RTI exception: RTIinternalError [Cannot connect to RTIA].
----------------------------------------------------------------------------------
Voici celle en root :
----------------------------------------------------------------------------------
CERTI Billard 3.2.3-testV2
Could not open FED.
LibRTI: Receiving unknown exception.
RTI exception: RTIinternalError [].
Exiting.
RTIA: Received signal 2. Exiting peacefully.
RTIA has thrown NetworkError exception.
Reason: Connection closed by client.
UDP Socket 6 : total = 0b sent
UDP Socket 6 : total = 0b received
TCP Socket 5 : total = 88b sent
TCP Socket 5 : total = 40b received
------------------------------------------------------------------------------
Comme vous pouvez le constater...l'exécution d'un fédéré billard pose
des soucis.
1) Could not open FED.
2) LibRTI: Receiving unknown exception.
3) RTI exception: RTIinternalError [].
et du coté du RTIG
1)Looking for FOM file... Test.fed... failed : FED file unknown.
La bonne nouvelle c'est que la fédération est bien créée et que des
données sont échangées...c'est déjà un bon avancement :))
On pourrait penser que le fichier fed n'est pas dans le dossier...
Le fichier Test.fed est bien dans le dossier
/usr/local/share/federations, ainsi que le fichier Test.xml
---------------------------------------------------------------
résultats d'une commande ls -l dans les différents répertoires
---------------------------------------------------------------
address@hidden:~$ ls -l /usr/local/share/federations
-rw-r--r-- 1 root staff 673 May 2 08:59 Test.fed
-rw-r--r-- 1 root staff 760 May 2 08:59 Test.xml
address@hidden:~$ ls -l /usr/local/bin/
total 5740
-rwxr-xr-x 1 root staff 708206 2007-05-02 08:59 billard
-rwxr-xr-x 1 root staff 3322408 2007-05-02 08:59 rtia
-rwxr-xr-x 1 root staff 1829972 2007-05-02 08:59 rtig
address@hidden:~$ ls -l /usr/local/include/
total 72
-rw-r--r-- 1 root staff 1223 2007-05-02 08:59 baseTypes.hh
-rw-r--r-- 1 root staff 6793 2007-05-02 08:59 federateAmbServices.hh
-rw-r--r-- 1 root staff 4111 2007-05-02 08:59 fedtime.hh
-rw-r--r-- 1 root staff 7967 2007-05-02 08:59 NullFederateAmbassador.hh
-rw-r--r-- 1 root staff 25895 2007-05-02 08:59 RTIambServices.hh
-rw-r--r-- 1 root staff 1242 2007-05-02 08:59 RTI.hh
-rw-r--r-- 1 root staff 11544 2007-05-02 08:59 RTItypes.hh
Je vais regarder ce qui cloche avec le fichier Test.fed
_________________________________________________________________
Ten : Messenger en illimité sur votre mobile !
http://mobile.live.fr/messenger/ten/