[DJI-log-discuss] Compiling

Ross Finlayson finlayson at live555.com
Sat Feb 29 06:49:59 PST 2020



> On Mar 1, 2020, at 3:41 AM, Paddy Evans <petermsevans at gmail.com> wrote:
> 
> Hi,
> 
> I have downloaded the file onto an Ubuntu 18 server that seems to have all of the required dependencies but my talents don't include C++ and so I have never compiled source code. I have followed the instructions and extracted it, which yielded a new folder with many files with either no extension, .o, .pp or .hh

The “.cpp” (sic) and “.hh” files were present in the “.tar.gz” file (after you extracted them using “tar -xf”).  The “.o” files were generated - by the compiler - when you ran “make”.


> ,  and then have run make but I don't seem to be any closer to having an executable.

After running “make”, you should have a new file - named “djiparsetxt”.  This should already be executable; just run
	./djiparsetxt example.txt > example.csv
(replace “example.txt” with the name of your “.txt” file).

If, however, you get a “no permission” error when you try to run “./djiparsetxt”, then run
	chmod a+x djiparsetxt
beforehand.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the DJI-log-discuss mailing list