Problem with linker

Marcin Gajda <[email protected]> Sun, 20 May 2012 23:45:57 +0200
Newsgroups gmane.comp.lang.lua.bind.user
Message-ID <CABUUdmRQOrDqdBiPnSi5kf3SuC4xF_vgBugA-5Wduz8TezSeBA@mail.gmail.com>
Hi,
I want to use Luabind in my project but I can't compile it. I am using the
last version from git repository and MSVS10. After compilation of my
application I get ~50 errors from the linker: http://i.imgur.com/cJxhy.png .

This is my header of main.cpp:
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
#include <luabind\luabind.hpp>
#include <string>
#include <iostream>

And this are my project settings in Visual Studio:
C/C++ / General / Additional Include Directories :
$(BOOST)boost;$(LUABIND);$(LUA)include
Linker / General / Additonal Library Directories
: $(BOOST)boost;$(LUA);$(LUABIND);%(AdditionalLibraryDirectories)
Linker / Input / Additional Dependiences
: lua52.lib;%(AdditionalDependencies)

My enviroment variables are:
BOOST: C:\boost_1_49_0\
LUA: C:\LuaLibrary\
LUABIND: C:\luabind_git\

I copied lua52.dll to C:/Windows/System32. It still not working. Anyone
know what I am doing wrong?

Thanks for help
Marcin

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
luabind-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luabind-user