World.vcproj - needs LUA include dir

Support forum for questions about compiling and running EQ2Emulator on a Microsoft Windows OS.

Moderator: Team Members

Post Reply
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

World.vcproj - needs LUA include dir

Post by John Adams » Sat May 31, 2008 11:30 am

I had to add an additional linker include dir to the VS2005 project to get passed the linker error. Can you get that in the SVN on the next pass?
Here's a diff:

Code: Select all

Index: World.vcproj
===================================================================
--- World.vcproj	(revision 99)
+++ World.vcproj	(working copy)
@@ -77,6 +77,7 @@
 				OutputFile="../build/EQ2WorldDebug.exe"
 				LinkIncremental="2"
 				SuppressStartupBanner="true"
+				AdditionalLibraryDirectories="..\LUA"
 				IgnoreDefaultLibraryNames="LIBCMT,LIBC"
 				GenerateDebugInformation="true"
 				ProgramDatabaseFile=".\../build/WorldDebug.pdb"
@@ -136,6 +137,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				InlineFunctionExpansion="0"
+				AdditionalIncludeDirectories=""
 				PreprocessorDefinitions="_WIN32_WINNT=0x0400,WIN32,NDEBUG,_CONSOLE,WORLD, EQ2"
 				StringPooling="true"
 				RuntimeLibrary="0"
@@ -168,6 +170,7 @@
 				OutputFile="..\..\Compiled Win32\EQ2World.exe"
 				LinkIncremental="1"
 				SuppressStartupBanner="true"
+				AdditionalLibraryDirectories="..\LUA"
 				IgnoreDefaultLibraryNames="libc,msvcrt,libcmtd"
 				GenerateDebugInformation="false"
 				ProgramDatabaseFile=".\../build/World.pdb"
This is for debug and release.

link2009
Retired
Posts: 390
Joined: Fri Aug 10, 2007 5:59 pm
Location: POrTal
Contact:

Post by link2009 » Sat May 31, 2008 5:00 pm

Yes John, you need to include the LUA dir for include files and the libraries. I guess Lethla was going to add it to VCProj soon.
Image
-Vecinu de la Patru

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sun Jun 01, 2008 8:23 am

Added.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests