Home | News | Products | Support | Download | Sales | library | Guests | Contact | WebCam | Links
CDS Logo LanBox-Talk mail archive
 

By date: Prev | Next | Index By thread: Prev | Next | Index

SubjectRe: [LCtalk] C example for LC-UDP transmit
FromMatthijs van Duin
DateTue, 28 Mar 2006 18:41:11 +0300


On Tue, Mar 28, 2006 at 06:05:40PM +0200, Gilles Domenget wrote:
I download the lcudptx-example.zip
I get two files, lcudptx-c and Makefile
How using this files ?

Eh, I don't want to sound rude, but if you're a C programmer then you should know what to do with a .c file and a Makefile, and if you're not a C programmer than this example isn't really of any use to you...


But anyway, on Linux or Mac OS X, you would just open up a terminal, go to the directory where the .c and Makefile are located, and type "make". It'll produce an executable named "lcudptx". Alternatively, you could make a project in some IDE like Xcode, but I have no experience with it so I can't tell you the details.

On other unix-ish platforms (like BSD) this may work too, or it's possible some changes need to be made. (On a FreeBSD system I tried inttypes.h needed to be included instead of stdint.h). On Windows you'd either have to use cygwin, or serious changes would need to be made.

Hope this clarifies things,

--
Matthijs van Duin  --  May the Forth be with you!


By date: Prev | Next | Index By thread: Prev | Next | Index