|
![]() |
#1 |
Adept
Join Date: Jul 2007
Location: St George Utah, USA
Posts: 244
![]() |
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 ========== |
![]() |
![]() |
![]() |
#2 |
Adept
Join Date: Apr 2011
Posts: 103
![]() |
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.
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |