Compiling:Linux under Windows:
Download and install VirtualBox.
Download CD#1 from http://www.debian.org/CD/http-ftp/#stable.
Use that CD to install Debian under VirualBox. I used DVD#1 to install Debian and selected WebServer when installer asked which packages to install. You can select Developer there.
Install developer packages (some of them I installed to compile OpenWRT, so may be they are not needed for HLSDK, but I will wrote all I did):
Код:
apt-get update
apt-get upgrade
apt-get install subversion build-essential libncurses5-dev zlib1g-dev
Install gcc 2.95 (we will add archive to package sources list to install old compiler from there):
Код:
echo "" >> /etc/apt/sources.lst
echo "deb http://archive.debian.org/debian etch main" >> /etc/apt/sources.lst
apt-get update
apt-get install gcc-2.95
apt-get install g++-2.95
Create directory and checkout sources there (on first checkout you will have to accept certificate):
Код:
mkdir ~/hlsdk
cd ~/hlsdk
svn checkout https://svn.aghl.ru:8443/svn/HLSDK/trunk
Then you can compile it:
Код:
cd ~/hlsdk/dlls
make
In case of trunk gets updated you can update your copy:
Код:
cd ~/hlsdk
svn update
cd ~/hlsdk/dlls
make