0

I am working on a data distribution service protocol using eProsima FastRTPS in Linux (Ubuntu), but I am not able to make it run because FastRTPS has file "makefile_x64Linux2.6gcc" which i need to compile but i dont know the commands to do it . I have tried make option, too, but still having the same problem. Is there any command for compiling .6cc file?

Teddy 1993
  • 43
  • 7
  • Any error messages or build output that would help answer this? – Spangen Feb 13 '18 at 17:30
  • eProsima : https://github.com/eProsima ... ... ... Please edit your question to include "application name". ( `Fast-Buffers` has a file `makefile_x64Linux2.6gcc` ). – Knud Larsen Feb 13 '18 at 18:06

2 Answers2

0

You must compile using cmake as indicated in the README file from eProsima Fast-RTPS github

In you case:

$ cmake -DTHIRDPARTY=ON ..
$ make
$ sudo make install

You can install in an user's folder setting -DCMAKE_INSTALL_PREFIX=/path on the cmake command.

$ cmake -DTHIRDPARTY=ON -DCMAKE_INSTALL_PREFIX=~/path/Fast-RTPS ..
$ make
$ make install
LuisGP
  • 431
  • 3
  • 13
0

Actually everything is working fine now. The problem was I was only using make command. If I use make -f command it will make an executable file of it.

Stephen Kennedy
  • 20,585
  • 22
  • 95
  • 108
Teddy 1993
  • 43
  • 7