[SAMMELTHREAD] Metin2 Source Compile Tips/Tuts

01/31/2014 14:07 adi97ida#331
Put this lib into Extern/lib:
[Only registered and activated users can see links. Click Here To Register...]
01/31/2014 14:16 .Captor#332
Quote:
Originally Posted by adi97ida View Post
Put this lib into Extern/lib:
[Only registered and activated users can see links. Click Here To Register...]
Thanks!


Edit: Ok now all works! :)
01/31/2014 16:36 kicskarii#333
Quote:
item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':
item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function
compile main.cpp
In file included from main.cpp:14:
shop_manager.h:40:7: warning: no newline at end of file
In file included from main.cpp:93:
check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24: warning: comparison between signed and unsigned integer expressions
main.cpp: In function 'int main(int, char**)':
main.cpp:481: error: 'CCheckServer' was not declared in this scope
main.cpp:481: error: expected `;' before 'checkServer'
main.cpp:517: error: 'CCheckServer' is not a class or namespace
main.cpp:522: error: '__P4_VERSION__' was not declared in this scope
main.cpp:524: error: 'class LogManager' has no member named 'InvalidServerLog'
gmake: *** [OBJDIR/main.o] Error 1
Anybody can help me, how to fix it?
01/31/2014 17:05 .Captor#334
Quote:
Originally Posted by kicskarii View Post
Anybody can help me, how to fix it?
Kann mir jemand zeigen wie man die SG bin erfolgreich compilen kann? Bekomme nur die novaline komplett Compiled....



PS: Habe nur diesen Fehler bei der SG bin:
Code:
fatal error LNK1257: Fehler bei Codegenerierung.	UserInterface	UserInterface
01/31/2014 19:14 DargonMT2#335
[Only registered and activated users can see links. Click Here To Register...]

Someone has an error like this?
01/31/2014 19:47 Evor™#336
If u compile game as a debug version, error is normal, just click ignore as many as needed.
01/31/2014 20:49 DargonMT2#337
Quote:
Originally Posted by Evor™ View Post
If u compile game as a debug version, error is normal, just click ignore as many as needed.
It doesn't help
02/01/2014 00:35 IchVerabschiedeMich#338
Quote:
Originally Posted by .Captor View Post
Kann mir jemand zeigen wie man die SG bin erfolgreich compilen kann? Bekomme nur die novaline komplett Compiled....



PS: Habe nur diesen Fehler bei der SG bin:
Code:
fatal error LNK1257: Fehler bei Codegenerierung.	UserInterface	UserInterface
Service Pack für Visual Studio laden.
02/01/2014 00:55 .Captor#339
Quote:
Originally Posted by Padrio View Post
Service Pack für Visual Studio laden.
Habe Visual Studio schon von Anfang an auf dem neusten Stand (Alles vorhanden). :P
02/01/2014 01:08 IchVerabschiedeMich#340
Quote:
Originally Posted by .Captor View Post
Habe Visual Studio schon von Anfang an auf dem neusten Stand (Alles vorhanden). :P
Das Service Pack muss man nach installieren.
Hatte genau den selben Fehler, und auch wenn du in Google schaust, findest du die Antwort das du das Service Pack installieren musst.
02/01/2014 01:13 .Captor#341
Quote:
Originally Posted by Padrio View Post
Das Service Pack muss man nach installieren.
Hatte genau den selben Fehler, und auch wenn du in Google schaust, findest du die Antwort das du das Service Pack installieren musst.
Ich habe vor langer Zeit bereits Alles installiert was ich Gefunden habe. Auch den Service Pack.

1. Visual Studio runtergeladen und Aktiviert
2. Updates und alles andere Geladen
3. Versucht die Bin zu Kompilieren :)


Aber, Ich installiere gerade nochmals die Updates und den Service Pack neu, vielleicht geht es ja dann (Hoffe ich). :P



Edit: So habe alles neu gemacht, jetzt bekomme ich einen neuen Fehler.

Und als Text-Fehler:
Code:
fatal error LNK1000: Internal error during IncrBuildImage	UserInterface	UserInterface
02/01/2014 03:05 adi97ida#342
Microsoft released a HotFix for the Linker crash...
Here's the link:
[Only registered and activated users can see links. Click Here To Register...]
02/01/2014 10:09 lukeido#343
Should I try to fix all these warnings?
(/novaline/Srcs/Server/game/src)

Warning list:
02/01/2014 10:26 .Captor#344
Quote:
Originally Posted by adi97ida View Post
Microsoft released a HotFix for the Linker crash...
Here's the link:
[Only registered and activated users can see links. Click Here To Register...]
Not Work. I have Visual Studio 2010 the Fix is for the 2008 Version. :D I go and search it for VS2010 (But it will be nice if you can give me the link(Private) to the Fix for 2010 ver.). :)

Edit: O wait, i have 2008(xD) but it wont work. :O
02/01/2014 11:37 atag#345
My linker error was caused by the python-2.2 includes.
Delete it from Extern/include and Client/SrciptLib then copy the working version from dev/*/worldeditor solved my problem :)

Now i can compile it in distribute mode with v120(!) toolset (new boost includes and crypto++ lib needed).