Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] Tech Support → pvpgn stable 1.8.5 compilation

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 28

1

Topic: pvpgn stable 1.8.5 compilation

hiii harpywar,

please tell me can i compile pvpgn 1.8.5 using MAGIC BUILDER ??
why i talk about 1.8.5, cz if i used 1.99 is always crash, i will pvpgn 1.8.5(more stable) then i will mod

or any tutor for compile 1.8.5 ??

thx before..

2

Re: pvpgn stable 1.8.5 compilation

To compile PvPGN 1.8.5 read this tutorial.

Do not ask for support in PM.

3

Re: pvpgn stable 1.8.5 compilation

"Here we consider a version of the console version compile PvPGN with Visual Studio 2005 under win32. "

but can i using with MS VS 2010 ???

4

Re: pvpgn stable 1.8.5 compilation

GanyoyGen wrote:

but can i using with MS VS 2010 ???

Yes you can, there is no difference.

Do not ask for support in PM.

5

Re: pvpgn stable 1.8.5 compilation

i try compile with MS VS 2010
I do based on your tutorial, but there is an error, this report..

  [box]
..\src\win32\resource.rc(12): fatal error RC1015: cannot open include file 'afxres.h'.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
[/box]

6

Re: pvpgn stable 1.8.5 compilation

I think you use VC++ Express. So, download harpywar.com/files/items/pvpgn/v … nclude.zip and add include path to this directory in PvPGN project properties like on the screen.

This method described in this article.

Do not ask for support in PM.

7

Re: pvpgn stable 1.8.5 compilation

ok thx so much Dev HarpyWar ..

i'll try again ...

29 minutes and 52 seconds after:

HarpyWar wrote:

I think you use VC++ Express. So, download harpywar.com/files/items/pvpgn/v … nclude.zip and add include path to this directory in PvPGN project properties like on the screen.

This method described in this article.


FAIL again....

when configure with CMAKE....

this report..
[box]
CMake Error: The source directory "C:/COMPILE/PVPGN" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
[/box]

8

Re: pvpgn stable 1.8.5 compilation

Dude, that tutorial is only for 1.99 SVN version.
To compile a PvPGN 1.8.5 Just open Win32-Projects\PvPGNConsole.sln (or PvPGN.sln), setup include path and click Rebuild project.

Do not ask for support in PM.

9

Re: pvpgn stable 1.8.5 compilation

ok thats i know...

then error again like this ...

[box]
1>connection.obj : error LNK2001: unresolved external symbol _snprintf
1>..\bin\PvPGN.exe : fatal error LNK1120: 1 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
[/box]

10

Re: pvpgn stable 1.8.5 compilation

Yeah, solution is here in comments smile
Simply replace "snprintf" to "_snprintf" in the entire project.

Do not ask for support in PM.

11 (edited by GanyoyGen 15.10.2011 18:30)

Re: pvpgn stable 1.8.5 compilation

very very very sorry sad

where and how to replace "snprintf" to "_snprintf"


all files (*.c) are converted from printf into _snprintf

???

12

Re: pvpgn stable 1.8.5 compilation

In the Visual Studio main menu open "Edit" > "Find and replace".
In new window select "Entire solution" from dropdown box .

1 hour, 51 minute and 21 second after:

I updated the article since version PvPGN 1.8.5 is still relevant.

Do not ask for support in PM.

13

Re: pvpgn stable 1.8.5 compilation

yeaaaaaaaah...

very thank u very much ...

i can compile source 1.8.5 now ...

big_smile  big_smile

14

Re: pvpgn stable 1.8.5 compilation

1>------ Build started: Project: PvPGNConsole, Configuration: Release Win32 ------
1>  sql_mysql.c
1>..\src\bnetd\sql_mysql.c(85): error C2275: 'my_bool' : illegal use of this type as an expression
1>          ../src\mysql/mysql.h(51) : see declaration of 'my_bool'
1>..\src\bnetd\sql_mysql.c(85): error C2146: syntax error : missing ';' before identifier 'my_true'
1>..\src\bnetd\sql_mysql.c(85): error C2065: 'my_true' : undeclared identifier
1>..\src\bnetd\sql_mysql.c(86): error C2065: 'my_true' : undeclared identifier
1>..\src\bnetd\sql_mysql.c(86): warning C4133: 'function' : incompatible types - from 'int *' to 'const char *'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

15

Re: pvpgn stable 1.8.5 compilation

GigA, forums.pvpgn.org/index.php?topic … 50#msg4450
Добавил ошибку в статью.

Do not ask for support in PM.

16 (edited by GigA 16.10.2011 23:51)

Re: pvpgn stable 1.8.5 compilation

HarpyWar wrote:

GigA, forums.pvpgn.org/index.php?topic … 50#msg4450
Добавил ошибку в статью.

Не понимаю.

Ладно, с помощью тыка вроде сделал 

Добавил в 67 строку

    my_bool my_true = (my_bool)1;
    if (name == NULL || user == NULL) {
        eventlog(eventlog_level_error, __FUNCTION__, "got NULL parameter");
        return -1;

Сейчас другие ошибки

1>------ Build started: Project: PvPGNConsole, Configuration: Release Win32 ------
1>  sql_common.c
1>..\..\sql_common.c(60): fatal error C1083: Cannot open include file: 'prefs.h': No such file or directory
1>  storage_sql2.c
1>..\..\storage_sql2.c(57): fatal error C1083: Cannot open include file: 'prefs.h': No such file or directory
1>  sql_mysql.c
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

17

Re: pvpgn stable 1.8.5 compilation

Скорее всего, ты не добавил какие-то файлы в проект, потому как prefs.h существует в исходниках.

Do not ask for support in PM.

18 (edited by GigA 17.10.2011 09:58)

Re: pvpgn stable 1.8.5 compilation

HarpyWar wrote:

Скорее всего, ты не добавил какие-то файлы в проект, потому как prefs.h существует в исходниках.

Добавил
xstr.c
sql_common.c
storage_sql2.c

MySQL файлы

my_alloc.h
my_list.h
mysql.h
mysql_com.h
mysql_time.h
mysql_version.h
typelib.h
libmysql.lib
libmysql.dll

Положил в папку \src\mysql\

Вроде все правильно делаю.

p.s. файл "prefs.h" он есть в папке \src\bnetd\

Добавлено: 17.10.2011 12:01

не судьба собрать pvpgn 1.8.5  sad

19

Re: pvpgn stable 1.8.5 compilation

Заголовочные файлы MySQL (.h)  нужно скопировать в папку src/mysql/, а библиотеку (libmysql.lib) в папку src/win32/.

Если 1.99 у тебя не падает (при обычных настройках, скомпилированный в Release он должен работать стабильно), то используй его.

Do not ask for support in PM.

20

Re: pvpgn stable 1.8.5 compilation

GigA wrote:
1>------ Build started: Project: PvPGNConsole, Configuration: Release Win32 ------
1>  sql_mysql.c
1>..\src\bnetd\sql_mysql.c(85): error C2275: 'my_bool' : illegal use of this type as an expression
1>          ../src\mysql/mysql.h(51) : see declaration of 'my_bool'
1>..\src\bnetd\sql_mysql.c(85): error C2146: syntax error : missing ';' before identifier 'my_true'
1>..\src\bnetd\sql_mysql.c(85): error C2065: 'my_true' : undeclared identifier
1>..\src\bnetd\sql_mysql.c(86): error C2065: 'my_true' : undeclared identifier
1>..\src\bnetd\sql_mysql.c(86): warning C4133: 'function' : incompatible types - from 'int *' to 'const char *'
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

yes, indeed, if we compile PvPGNConsole will get an error like that.

so, i just compile PvPGN.sln & no error ...

21 (edited by GigA 17.10.2011 22:56)

Re: pvpgn stable 1.8.5 compilation

HarpyWar wrote:

Заголовочные файлы MySQL (.h)  нужно скопировать в папку src/mysql/, а библиотеку (libmysql.lib) в папку src/win32/.

Если 1.99 у тебя не падает (при обычных настройках, скомпилированный в Release он должен работать стабильно), то используй его.

Попробуй скомпилируй т.к. я уже не знаю что делать.
p.s. займёт меньше 5 минут это
p.s. 1.99 не хочу ставить т.к. не где нет Changelog

22

Re: pvpgn stable 1.8.5 compilation

По ссылке PvPGN 1.8.5, готовый для компиляции. Единственное, можно изменить MySQL файлы на другую версию.
harpywar.com/files/items/pvpgn/p … -5.0.91.7z

Do not ask for support in PM.
+1 GigA

23

Re: pvpgn stable 1.8.5 compilation

HarpyWar wrote:

По ссылке PvPGN 1.8.5, готовый для компиляции. Единственное, можно изменить MySQL файлы на другую версию.
harpywar.com/files/items/pvpgn/p … -5.0.91.7z

Спасибо. Вопрос, почему в готовом PVPGN файл "PvPGNConsole.exe" весит 2,29мб у меня получилось 712кб. Это нормально ?

24

Re: pvpgn stable 1.8.5 compilation

GigA wrote:

Спасибо. Вопрос, почему в готовом PVPGN файл "PvPGNConsole.exe" весит 2,29мб у меня получилось 712кб. Это нормально ?

Нет! Что то не так.

25

Re: pvpgn stable 1.8.5 compilation

GigA wrote:

Спасибо. Вопрос, почему в готовом PVPGN файл "PvPGNConsole.exe" весит 2,29мб у меня получилось 712кб. Это нормально ?

Кто-то забыл переключить с дебага на релиз smile

Do not ask for support in PM.

26

Re: pvpgn stable 1.8.5 compilation

Лог

1>------ Build started: Project: d2dbs, Configuration: Release Win32 ------
2>------ Build started: Project: d2cs, Configuration: Release Win32 ------
1>  charlock.c
2>  bnetd.c
1>  cmdline.c
3>------ Build started: Project: bnftp, Configuration: Release Win32 ------
1>  d2ladder.c
4>------ Build started: Project: bnchat, Configuration: Release Win32 ------
2>  cmdline.c
1>  dbsdupecheck.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
2>  connection.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
1>  dbserver.c
2>  d2charfile.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
2>  d2charlist.c
1>  dbspacket.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
2>  d2gs.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
3>  bnftp.vcxproj -> D:\pvpgn-1.8.5\Win32-Projects\..\bin\bnftp.exe
4>  bnchat.vcxproj -> D:\pvpgn-1.8.5\Win32-Projects\..\bin\bnchat.exe
1>  handle_signal.c
5>------ Build started: Project: bncdb, Configuration: Release Win32 ------
1>  main.c
1>  prefs.c
1>  addr.c
2>  d2ladder.c
5>  bncdb.vcxproj -> D:\pvpgn-1.8.5\Win32-Projects\..\bin\bncdb.exe
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
6>------ Build started: Project: PvPGN, Configuration: Release Win32 ------
2>  game.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
2>  gamequeue.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
2>  handle_bnetd.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
2>  handle_d2cs.c
6>  account.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
6>  account_wrap.c
1>  bn_type.c
1>  d2char_checksum.c
6>  adbanner.c
1>  eventlog.c
1>  hexdump.c
6>  alias_command.c
1>  list.c
1>  network.c
6>  anongame.c
2>  handle_d2gs.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
1>  packet.c
1>  util.c
6>  anongame_gameresult.c
1>  xalloc.c
1>  xstring.c
6>  anongame_infos.c
2>  handle_init.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
1>  Compiling...
1>  inet_aton.c
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
2>  handle_signal.c
6>  anongame_maplists.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
6>  attrgroup.c
2>  main.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
6>  attrlayer.c
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
2>  net.c
6>  autoupdate.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
6>  channel.c
6>  channel_conv.c
6>  character.c
6>  clan.c
1>  psock.c
6>  cmdline.c
6>  command.c
2>  prefs.c
2>  s2s.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
6>  command_groups.c
6>  connection.c
1>  strerror.c
2>  server.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
1>  strsep.c
1>  d2dbs_winmain.c
1>  service.c
6>  file.c
6>  Compiling...
6>  file_cdb.c
6>  file_plain.c
2>  serverqueue.c
6>  friends.c
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(854): warning C4005: 'max' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(31) : see previous definition of 'max'
2>C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdlib.h(855): warning C4005: 'min' : macro redefinition
2>          d:\pvpgn-1.8.5\src\d2cs\setup.h(28) : see previous definition of 'min'
6>  game.c
2>  Compiling...
2>  addr.c
6>  game_conv.c
6>  handle_anongame.c
6>  handle_bnet.c
2>  bn_type.c
2>  conf.c
2>  d2char_checksum.c
2>  eventlog.c
2>  fdwatch.c
2>  fdwatch_epoll.c
2>  fdwatch_kqueue.c
2>  fdwatch_poll.c
2>  fdwatch_select.c
6>  handle_bot.c
6>  handle_d2cs.c
6>  handle_file.c
2>  hashtable.c
2>  hexdump.c
2>  list.c
2>  network.c
6>  handle_init.c
6>  handle_irc.c
6>  handle_telnet.c
2>  packet.c
6>  handle_udp.c
2>  queue.c
6>  helpfile.c
2>  rlimit.c
2>  trans.c
6>  ipban.c
2>  util.c
2>  xalloc.c
6>  irc.c
2>  Compiling...
2>  xstring.c
2>  difftime.c
6>  ladder.c
2>  gettimeofday.c
6>  ladder_binary.c
6>  ladder_calc.c
6>  Compiling...
6>  mail.c
6>  main.c
2>  inet_aton.c
2>  inet_ntoa.c
2>  pdir.c
6>  message.c
2>  psock.c
2>  strcasecmp.c
2>  strdup.c
2>  strerror.c
6>  news.c
6>  output.c
6>  prefs.c
6>  realm.c
6>  runprog.c
6>  server.c
2>  strftime.c
2>  strncasecmp.c
2>  strsep.c
2>  strtoul.c
2>  uname.c
2>  d2cs_winmain.c
2>  service.c
6>  sql_common.c
6>  sql_dbcreator.c
6>  sql_mysql.c
6>  sql_pgsql.c
6>  storage.c
2>  Generating code
6>  storage_file.c
6>  storage_sql.c
6>  storage_sql2.c
6>  support.c
6>  team.c
6>  tick.c
6>  Compiling...
6>  timer.c
2>  Finished generating code
6>  topic.c
6>  tournament.c
2>  d2cs.vcxproj -> D:\pvpgn-1.8.5\Win32-Projects\..\bin\d2cs.exe
6>  tracker.c
6>  udptest_send.c
6>  versioncheck.c
6>  watch.c
6>  addr.c
6>  bn_type.c
6>  bnethash.c
6>  bnethashconv.c
6>  bnettime.c
6>  conf.c
6>  eventlog.c
6>  fdwatch.c
6>  fdwatch_epoll.c
6>  fdwatch_kqueue.c
6>  fdwatch_poll.c
6>  fdwatch_select.c
6>  give_up_root_privileges.c
6>  Compiling...
6>  hashtable.c
6>  hexdump.c
6>  list.c
6>  network.c
6>  packet.c
6>  proginfo.c
6>  queue.c
6>  rcm.c
6>  rlimit.c
6>  tag.c
6>  token.c
6>  trans.c
6>  util.c
6>  xalloc.c
6>  xstr.c
6>  difftime.c
6>  getopt.c
6>  gettimeofday.c
6>  inet_aton.c
6>  inet_ntoa.c
6>  Compiling...
6>  memcpy.c
6>  memmove.c
6>  memset.c
6>  mmap.c
6>  pdir.c
6>  psock.c
6>  snprintf.c
6>  strcasecmp.c
6>  strdup.c
6>  strerror.c
6>  strftime.c
6>  strncasecmp.c
6>  strsep.c
6>  strtoul.c
6>  uname.c
6>  service.c
6>  winmain.c
6>  cdb_find.c
6>  cdb_findnext.c
6>  cdb_hash.c
6>  Compiling...
6>  cdb_init.c
6>  cdb_make.c
6>  cdb_make_add.c
6>  cdb_make_find.c
6>  cdb_make_put.c
6>  cdb_seek.c
6>  cdb_seq.c
6>  cdb_unpack.c
6>  pvpgn_adler32.c
6>  pvpgn_deflate.c
6>  pvpgn_trees.c
6>  pvpgn_zutil.c
1>  conf.c
6>  Generating code
6>d:\pvpgn-1.8.5\src\bnetd\command.c(4305): warning C4789: destination of memory copy is too small
6>  Finished generating code
1>  Generating code
1>  Finished generating code
6>  PvPGN.vcxproj -> D:\pvpgn-1.8.5\Win32-Projects\..\bin\PvPGN.exe
1>  d2dbs.vcxproj -> D:\pvpgn-1.8.5\Win32-Projects\..\bin\d2dbs.exe
========== Build: 6 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

27

Re: pvpgn stable 1.8.5 compilation

HarpyWar wrote:
GigA wrote:

Спасибо. Вопрос, почему в готовом PVPGN файл "PvPGNConsole.exe" весит 2,29мб у меня получилось 712кб. Это нормально ?

Кто-то забыл переключить с дебага на релиз smile

Хотя нет, сейчас посмотрел, в ехешниках зашит libmysql.dll.

Do not ask for support in PM.

28

Re: pvpgn stable 1.8.5 compilation

Понятно, спасибо за помощь.

Posts: 28

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 0 guests, 0 registered users

forums.pvpgn.pro → [EN] Tech Support → pvpgn stable 1.8.5 compilation