Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualfalconmick

Posted 06 April 2012 - 03:36 AM

turns out error is hear:
luabind::module(L)
[
luabind::class_<CompCompiler>("CompCompiler")
				.def(luabind::constructor<lua_State>())
   .def("setSomeData",&CompCompiler::setSomeData)
				.def("setMoreData", &CompCompiler::setMoreData)
.def("getSomeData", &CompCompiler::getSomeData)
.def("getMoreData", &CompCompiler::getMoreData)
		 ];

.def(luabind::constructor<lua_State>())

originally the constructor TRIED to accept a lua_state in the constructor, I changed. sigh... the error message didn't help me at all

edit:
lol one problem fixed, another pop's its head up

#1falconmick

Posted 06 April 2012 - 03:23 AM

turns out error is hear:
luabind::module(L)
[
luabind::class_<CompCompiler>("CompCompiler")
			    .def(luabind::constructor<lua_State>())
   .def("setSomeData",&CompCompiler::setSomeData)
			    .def("setMoreData", &CompCompiler::setMoreData)
.def("getSomeData", &CompCompiler::getSomeData)
.def("getMoreData", &CompCompiler::getMoreData)
		 ];

.def(luabind::constructor<lua_State>())

originally the constructor TRIED to accept a lua_state in the constructor, I changed. sigh... the error message didn't help me at all

PARTNERS