Half-Life и Adrenaline Gamer форум
http://aghl.ru/forum/

Bugfixed and improved HLSDK
http://aghl.ru/forum/viewtopic.php?f=32&t=689
Страница 3 из 9

Автор:  TesterYYY [ 10 июн 2012, 05:26 ]
Заголовок сообщения:  Re: Bugfixed and improved HLSDK

Nice progression!
BTW: Add some cvar to speed up health & armor (set speed of charging) chargers :wink:

Автор:  ujjl [ 11 авг 2012, 04:58 ]
Заголовок сообщения:  Re: Bugfixed and improved HLSDK

Hi! Amazing work you have done here! Can you tell me please, how do you compile it under linux? I could compile it for windows, but on linux I had some problems. What linux you use, what compiler version, etc...

Thx, in advance!
ujjl

Автор:  Lev [ 30 авг 2012, 01:34 ]
Заголовок сообщения:  Re: Bugfixed and improved HLSDK

ujjl
Sorry for the big delay.
Compiling under linux was a tricky part, yes.
Even more: compiling itself is not a vegy big deal. Most of all if you wish to make it binary format compatible with original (Valve's) dll. If you do so then all plugins using dll hooking will work (like ham).
So to compile it you need to use old gcc of version 2.95. I use Debian, so:
Код:
apt-get install gcc-2.95
Makefile in trunk is already fixed to use that compiler, so you have only to:
Код:
cd dlls
make
For other questions you could have to look at mentioned Makefile, I think, I tweaked it a lot (you can use some SVN client to browse log of its changes).

Автор:  TesterYYY [ 03 сен 2012, 15:12 ]
Заголовок сообщения:  Re: Bugfixed and improved HLSDK

It is possible to compile hlsdk and make linux binaries under windows?

Автор:  Lev [ 03 сен 2012, 16:18 ]
Заголовок сообщения:  Re: Bugfixed and improved HLSDK

There is a way. Seen descriptions somewhere in internet.

Автор:  TesterYYY [ 04 сен 2012, 19:51 ]
Заголовок сообщения:  Re: Bugfixed and improved HLSDK

I have installe Ubuntu 12.04 but I couldnt install gcc 2.95, if I type command sudo apt-get install gcc-2.95 I get error that It doesnt exist in repositares. Its possible to get gcc 2.95 under ubuntu 12.04?
//Or what Debian version are you using?

Автор:  Lev [ 05 сен 2012, 01:41 ]
Заголовок сообщения:  Re: Bugfixed and improved HLSDK

Google
Second link in results: http://askubuntu.com/questions/153816/gcc-2-95-3-or-3-0-2-on-lucid
Hope its helps.
I use some old Debian of 2009 may be. Plan to install fresh version soon.

Автор:  TesterYYY [ 09 окт 2012, 02:34 ]
Заголовок сообщения:  Compiling under Linux

Hi,
I tried a lot of ways to get working gcc compiler v2.95 but with no success. I think it's almost impossible to install this old compiler or compile it on latest Ubuntu versions. Can you give me link to download system on which you are running gcc 2.95? You said Debian but I am not sure which version and I think in latest version it may not works because this is really one of the first versions of gcc and it's not fun to get it working.
Can somebody help me with compiling aghl under linux?

Автор:  Lev [ 09 окт 2012, 03:51 ]
Заголовок сообщения:  Re: Compiling under Linux

I am running some old Debian which I installed in 2008.
But it's debian_version file contains 6.0.5. May be I did "apt-get upgrade", don't remember.
Код:
Debian:~# uname -a
Linux Debian 2.6.18-6-vserver-686 #1 SMP Mon Oct 13 18:51:15 UTC 2008 i686 GNU/Linux
If I am not wrong it was "etch" distributive.

Planning to install current version.

I have these packages installed:
Цитата:
gcc-2.95
libstdc++2.10-dev
libstdc++2.10-glibc2.2

Автор:  TesterYYY [ 09 окт 2012, 19:18 ]
Заголовок сообщения:  Re: Bugfixed and improved HLSDK

Next problem is that when I compile client.dll, it's compiled (tried debug and release mode) but It's doesn't work with half life, I am getting error "could not load ... client.dll". I have compiled this in VS2012 maybe that's the problem?
I have headache of compiling HLSDK ! :(

Страница 3 из 9 Часовой пояс: UTC + 5 часов [ Летнее время ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/