5.Using on Linux

This part is about composition of Linux and how to use sample.

Due to support of C++ 11, you should use a GCC version 4.5 or higher .

For the items used in Linux version, see below.

First of all, after installing ProudNet on windows, use items necessary for Linux version by copying it on Linux machine.

Composition of folder

그림 5-1Composition of folder to immediately build sample without modifying MakeFile.

Build

It is consisted to be able to build sample by make command.

그림 5-2make option

If '/usr/bin/ld: cannot find -lProudNet' error message pops up, check whether libProudNet.a file exists in directory below.

ProudNet/lib/x86_x64_linux/Release/. ProudNet/lib/x86_x64_linux/Debug/

그림 5-3make all build

그림 5-4Build result

Each sample program is as below.

Simple sample program

Simple sample is program which utilizes functions below.

• Client-Server P2P communication

• Create P2P group/Send message

Source is in <Setup folder>/sample/Simple.

Character synchronization on 3D world.

This a example of organizing server part in example of character synchronization on 3D world by Linux version.

This is a sample program which synchronizes character in 3D world while moving but mixes filtering of visible area and multi-casting of character's spot by P2P. This example program shows below.

1. Simple Sample Program

Dead Reckoning

Source is in <Setup folder>/sample/SynchWorld.