-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kaguya on Linux ? #53
Comments
Tested on Linux by travis-ci |
Look like require GameObject and 4 strings, but arguments is GameObject and 3 strings. |
You were right, the problem is that the last string is supposed to be facultative in C++ It works on Windows (cause Lua seems to send default nil as parameter). On Linux it doesn't work :( |
It will error if the argument is not enough. Even Windows(MSVC 2008~2015). |
Okay, you were right, it doesn't work on the current version of Kaguya, it worked on Windows because I had an older version of Kaguya which passed null arguments when not provided (empty strings, zeros, empty lists etc...). |
It works now on Linux using an older version of Kaguya. Another strange thing on Linux is the type of custom Objects : Is it cause of Lua or Kaguya ? |
Well, thanks a lot, now everything is working under both Windows AND Linux :) |
Has your lib been tested on Linux :) ?
It works perfectly on Windows but I want to pass a string as parameter on Linux is says :
maybe...Argument mismatch:GameObject,string,string,string candidate is: GameObject,std::__cxx11::basic_string<char, std::char_traits<char> std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>n std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>n std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>n std::allocator<char> >,
But basically, a
std::__cxx11::basic_string<char, std::char_traits<char> std::allocator<char> >
IS a string.Is it cause of Lua or Kaguya ?
The text was updated successfully, but these errors were encountered: