PDA

View Full Version : Problems with Perl510/58 Compile


Kilralpine
08-06-2009, 07:50 PM
Ive tried to compile 874 888 and my results have been the same...

If I build it without adding perl510.lib as a dependancy / library I get this error


5>client.cpp
4>perl_groups.cpp
5>Generating Code...
5>Linking...
4>perl_entity.cpp
5>LINK : fatal error LNK1104: cannot open file 'perl510.lib'
5>Creating browse information file...
4>perl_client.cpp




If I add perl510.lib to the "Projects and Solutions" VC+++ Directories It gives me the following error...


4>bot.cpp
4>bonuses.cpp
4>beacon.cpp
4>attack.cpp
4>aggro.cpp
4>AA.cpp
4>Generating Code...
4>Linking...
4>perl_npc.obj : error LNK2019: unresolved external symbol _Perl_TXpv_ptr referenced in function _XS_NPC_AssignWaypoints
4>perl_PlayerCorpse.obj : error LNK2001: unresolved external symbol _Perl_TXpv_ptr
4>perlparser.obj : error LNK2001: unresolved external symbol _Perl_TXpv_ptr
4>embperl.obj : error LNK2001: unresolved external symbol _Perl_TXpv_ptr
4>perl_client.obj : error LNK2001: unresolved external symbol _Perl_TXpv_ptr
4>perl_entity.obj : error LNK2001: unresolved external symbol _Perl_TXpv_ptr
4>perl_mob.obj : error LNK2001: unresolved external symbol _Perl_TXpv_ptr
4>embperl.obj : error LNK2019: unresolved external symbol _Perl_Tstack_max_ptr referenced in function "public: void __thiscall Embperl::dosub(char const *,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const *,int)" (?dosub@Embperl@@QAEXPBDPBV?$vector@V?$basic_strin g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V? $allocator@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@2@@std@@H@Z)
4>perl_PlayerCorpse.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>perl_questitem.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>perl_raids.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>perlparser.obj : error LNK2019: unresolved external symbol _Perl_Tstack_base_ptr referenced in function _XS__selfcast
4>perl_groups.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>perl_mob.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>perl_npc.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>perl_perlpacket.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>embperl.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>embxs.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>perl_client.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>perl_entity.obj : error LNK2001: unresolved external symbol _Perl_Tstack_base_ptr
4>embperl.obj : error LNK2019: unresolved external symbol _Perl_Tmarkstack_max_ptr referenced in function "public: void __thiscall Embperl::dosub(char const *,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const *,int)" (?dosub@Embperl@@QAEXPBDPBV?$vector@V?$basic_strin g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V? $allocator@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@2@@std@@H@Z)
4>perl_PlayerCorpse.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>perl_questitem.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>perl_raids.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>perlparser.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>perl_groups.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>perl_mob.obj : error LNK2019: unresolved external symbol _Perl_Tmarkstack_ptr_ptr referenced in function _XS_Mob_SetInvisible
4>perl_npc.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>perl_perlpacket.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>embperl.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>embxs.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>perl_client.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>perl_entity.obj : error LNK2001: unresolved external symbol _Perl_Tmarkstack_ptr_ptr
4>embperl.obj : error LNK2019: unresolved external symbol _Perl_Ttmps_ix_ptr referenced in function "public: void __thiscall Embperl::dosub(char const *,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const *,int)" (?dosub@Embperl@@QAEXPBDPBV?$vector@V?$basic_strin g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V? $allocator@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@2@@std@@H@Z)
4>embperl.obj : error LNK2019: unresolved external symbol _Perl_Ttmps_floor_ptr referenced in function "public: void __thiscall Embperl::dosub(char const *,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > const *,int)" (?dosub@Embperl@@QAEXPBDPBV?$vector@V?$basic_strin g@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V? $allocator@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@2@@std@@H@Z)
4>perl_PlayerCorpse.obj : error LNK2019: unresolved external symbol _Perl_Tstack_sp_ptr referenced in function _boot_Corpse
4>perl_questitem.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perl_raids.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perlparser.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perl_groups.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perl_mob.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perl_npc.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perl_perlpacket.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>embperl.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>embxs.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perl_client.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perl_entity.obj : error LNK2001: unresolved external symbol _Perl_Tstack_sp_ptr
4>perl_questitem.obj : error LNK2019: unresolved external symbol _Perl_Tcurpad_ptr referenced in function _XS_QuestItem_GetName
4>perl_raids.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perlparser.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perl_mob.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perl_npc.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perl_perlpacket.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perl_PlayerCorpse.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>embxs.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perl_client.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perl_entity.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perl_groups.obj : error LNK2001: unresolved external symbol _Perl_Tcurpad_ptr
4>perl_questitem.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>perl_raids.obj : error LNK2019: unresolved external symbol _Perl_Top_ptr referenced in function _XS_Raid_CastGroupSpell
4>perlparser.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>perl_mob.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>perl_npc.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>perl_perlpacket.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>perl_PlayerCorpse.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>embxs.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>perl_client.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>perl_entity.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>perl_groups.obj : error LNK2001: unresolved external symbol _Perl_Top_ptr
4>.\../Build/Zone.exe : fatal error LNK1120: 10 unresolved externals
4>Creating browse information file...
4>Microsoft Browse Information Maintenance Utility Version 9.00.30729
4>Copyright (C) Microsoft Corporation. All rights reserved.
4>Build log was saved at "file://c:\Users\Administrator\Desktop\EQEMU Source\r888\trunk\EQEmuServer\zone\ReleaseBots\Bui ldLog.htm"
4>Zone - 70 error(s), 2 warning(s)
========== Build: 5 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========


It seems these are the last 2 or (1) issues in my opinion that I have left from being able to build clean... If anyone knows anything I could try im all ears... Ive tried referencing a whole perl58 and perl510 directory... I still get the same problems; Its almost like the code is built for perl58 but Its defaulting to perl510 if I in any way add it to the library list... Another thing... why is eqemu source even asking for perl510.lib????

BTW it is failing when its building World and Zone

Kilralpine
08-06-2009, 07:52 PM
And another thing, under the Dependencies for both the World and Zone projects there is no reference to a perl510.lib or even perl58.lib for that matter...

Zandig
08-07-2009, 08:10 AM
Follow the steps in the guide exactly and it will work:
http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008

Also make sure to completely remove any older versions of Perl first before installing Perl 5.10. After you uninstall the previous version of Perl do a search for Perl*.dll and remove any you find before installing 5.10.

Kilralpine
08-07-2009, 10:33 PM
The problem seems to be; that every other binary so far ive downloaded asks for the perl that i happen not to be running; its like everytime i update revisions i have to install the opposite version LOL

Ill try compiling on another box so that I dont have to go thru the nightmares of getting my perl working on the world.exe startup; multiple times ive had to use different versions of perl just to get world to launch without throwing errors