Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old May 4, 2011, 04:45   #1
APWhite
Adept
 
APWhite's Avatar
 
Join Date: Jul 2007
Location: St George Utah, USA
Posts: 244
APWhite is on a distinguished road
Anyone got Z+ to compile in VS2008?

I began to work on a solution of VS2008 and I can't seem to see how to include the lua files to compile correctly into the build. Has anyone tried using VS200 to compile Z+?

I can get most of the stuff to compile without too much trouble, but I run into these linker errors at the end
Code:
Linking...
script.obj : error LNK2019: unresolved external symbol _tolua_field_open referenced in function _script_init
script.obj : error LNK2019: unresolved external symbol _tolua_spell_open referenced in function _script_init
script.obj : error LNK2019: unresolved external symbol _tolua_misc_open referenced in function _script_init
script.obj : error LNK2019: unresolved external symbol _tolua_ui_open referenced in function _script_init
script.obj : error LNK2019: unresolved external symbol _tolua_random_open referenced in function _script_init
script.obj : error LNK2019: unresolved external symbol _tolua_monst_open referenced in function _script_init
script.obj : error LNK2019: unresolved external symbol _tolua_object_open referenced in function _script_init
script.obj : error LNK2019: unresolved external symbol _tolua_player_open referenced in function _script_init
Debug\ZPlusAngband.exe : fatal error LNK1120: 8 unresolved externals
Build log was saved at "file://c:\Games\ZPlusAngband\Debug\BuildLog.htm"
ZPlusAngband - 9 error(s), 588 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
APWhite is offline   Reply With Quote
Old May 4, 2011, 05:52   #2
Blue Baron
Adept
 
Join Date: Apr 2011
Posts: 103
Blue Baron is on a distinguished road
I think you need to make the lua bindings. I think you need to run l-make in the src directory, then add the resulting files to your project. The files it makes are l-misc.c, l-field.c, l-monst.c, l-object.c, l-player.c, l-spell.c, l-ui.c and l-random.c.
Blue Baron is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to compile 3.1.2v2 on OS X kLy Development 0 December 2, 2010 16:45
Compile z+angband on linux garu Variants 2 November 5, 2009 15:20
[O] Error Using Dev-C++ to compile BennyG Variants 8 October 2, 2009 16:51
cygwin 1.7 compile error david3x3x3 Development 0 September 13, 2009 00:03
Compile failure for 3.0.9 on Mac OS X 10.4.10 TreeFrog Vanilla 4 November 8, 2007 14:58


All times are GMT +1. The time now is 03:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.