Log in

View Full Version : LNK1019 error with new files...


Aramid
09-08-2006, 05:15 AM
hmm... I never noticed that r++ bug fix until today, and I checked it in. Also, I tried to update the zone vc.net project to only build perl binaries now, somebody try it tomorrow and let me know.

I got these new files from CVS and when I try to compile it, I get this error:
embperl.obj : error LNK2019: unresolved external symbol _boot_PerlPacket referenced in function _xs_init
.\../Build/Zone.exe : fatal error LNK1120: 1 unresolved externals

I added in PerlPacket.cpp and PerlPacket.h under Header Files and Source Files, but still get the error. Remove the EMBPERl and EMBPERL_PLUGIN and it compiles but of course, no quests work. This is using VS 5 Express. Am I still missing something?

fathernitwit
09-10-2006, 04:18 PM
the file to add is perl_perlpacket.cpp, I will get those added to the project.

LostZaphod
09-12-2006, 03:43 AM
Visual studio 2003 (v1.1) will not open the Zone.vcproj file.

Here are the issues I found,

#1 These lines need to be removed
<FileConfiguration
Name="Raid Addicts|Win32"
ExcludedFromBuild="TRUE">
<Tool
Name="VCCLCompilerTool"/>
</FileConfiguration>


#2 There must be a a debug section or the project properties screen does not open. Replacing "DebugPerl|Win32" with "Debug|Win32" resolves the issue.

LostZaphod
09-12-2006, 04:52 AM
Please ignore #2, if all projects have the same configuration names, one can be lazy on selecting the compile mode, if the names are different, you must go into the configuration manager and select the mode you want by project.