Log in

View Full Version : Compiling l2extend errors


seanet
29.05.2009, 01:57
ok i setted up mssql 2005 express server and visual cpp 2005 express i downloaded source of l2extender from source svn with TortoiseSVN i opened the project in C++ was easy till here

i lookd a little into code trying to understand whats happening and after that i tryed to build the project


i have the 3 projects in CPP i selected the CachedExt and pointed to Build but i get errors about missing files


2>CachedExt.cpp

1>c:\documents and settings\administrator\desktop\l2extend\cachedext\ CSocket.h(2) : fatal error C1083: Cannot open include file: 'Winsock2.h': No such file or directory


2>c:\documents and settings\administrator\desktop\l2extend\cachedext\ MemoryTools.h(28) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory

2>Utils.cpp


basicly i dont have 2 files i seeked on internet google search for these 2 files and nothing found, what should i do is a extra software needed to compile l2extend


the missing files are the headers of the project as i read on internet


windows.h and Winsock2.h


please point me to some directions thanks.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 01:57 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

Transe
29.05.2009, 03:39
There is no way to don't have them these are in the main SDK package which come with the visual studio 2005. Propably you have the express edition (65~ MB). Try to buy the real one or download it from any torrent (2,5GB i think).


Btw, when you will install it make sure that you have enable the x64 tools and compiler at customs menu (before the install at C++ tab).

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 03:39 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

seanet
29.05.2009, 04:03
Visual Studio 2005 Express.iso

Size 2.376.660 KB thats 2 giga +


provide me a download link for a good VS2005

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 04:03 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

seanet
29.05.2009, 06:26
Visual Studio 2005 Express.iso

Size 2.376.660 KB thats 2 giga +


provide me a download link for a good VS2005


dooh i purchased visual studio 2005 proffesional from micropupu website i think that will be perfect to start? (I guess :rolleyes:)

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 06:26 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

Transe
29.05.2009, 06:35
dooh i purchased visual studio 2005 proffesional from micropupu website i think that will be perfect to start? (I guess :rolleyes:)


then unistall and reinstall it with x64 tools and compilers option. maybe this will cause the troubles...

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 06:35 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

seanet
29.05.2009, 07:09
1>MemoryTools.cpp

1>.\MemoryTools.cpp(197) : warning C4244: 'argument' : conversion from 'LONG_PTR' to 'INT32', possible loss of data

1>.\MemoryTools.cpp(198) : warning C4244: 'return' : conversion from 'LONG_PTR' to 'INT32', possible loss of data

1>IniFile.cpp

1>Generating Code...

1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\L2Extend\L2Extend\x 64\Debug\BuildLog.htm"

1>L2Extend - 1 error(s), 4 warning(s)

2>------ Build started: Project: NPCExt, Configuration: Debug x64 ------

2>Deleting intermediate and output files for project 'NPCExt', configuration 'Debug|x64'

2>Assembling X86-64 Code...

2> Assembling: c:\Documents and Settings\Administrator\Desktop\L2Extend\NPCExt\CLo gAsm.asm

2>Microsoft (R) Macro Assembler (x64) Version 8.00.50727.42

2>Copyright (C) Microsoft Corporation. All rights reserved.

2>Compiling...

2>NPCExt.cpp

2>MemoryTools.cpp

2>CSharedFactory.cpp

2>CLog.cpp

2>Generating Code...

2>Linking...

2>LINK : fatal error LNK1104: cannot open file '..\x64\debug\l2extend.lib'

2>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\L2Extend\NPCExt\x64 \Debug\BuildLog.htm

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 07:09 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

seanet
29.05.2009, 07:38
does anyone have augumentation code for l2extend i seeked and nothing found google cache does not help me in this matter :-s

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 07:38 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

Sdw
29.05.2009, 07:52
You've to compiled it in release mode, and you won't have any more failed build.


For augementation, there is no ready code to use. You'll have to do it by yourself.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 07:52 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

darkmenx
29.05.2009, 08:00
Visual Studio 2005 Express.iso

Size 2.376.660 KB thats 2 giga +


provide me a download link for a good VS2005


download. (http://thepiratebay.org/torrent/3404699/Microsoft.Visual.Studio.2005.Pro.Final.DVD)

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 08:00 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).

seanet
29.05.2009, 08:38
well in order to made myself i need an ideea as i sayd in other topic im newbie in this does anyone have any old C6 augument system i will work to implement and reshare asap thx in advance.


thx for the link to visual studio mine is just 1.7Gigs i download now the new one and yes i managed to compile new l2extender for a beginer i finished pretty fast i figured out how to compile etc in time i'll learn about the steps that needs to be made in order to compile corectly the extenders.


1 step to knowlege made i sill share all i modofy in l2extender from now on.

Версия форума 2009–2010. Восстановлено из публичного снимка Wayback Machine. Тема могла сохраниться частично. Время показано по часам снимка; часовой пояс не установлен. Дата в снимке: 05-29-2009, 08:38 AM. Открыть источник (https://web.archive.org/web/20100324123156id_/http://www.postpacific.com:80/archive/index.php/t-138.html).