Closed GoogleCodeExporter closed 9 years ago
[ 99%] Building CXX object Samples/LuaRuntime/CMakeFiles/AppLuaRuntime.dir/Lua.cpp.o /media/sda1/Libraries/gamekit-svn/Samples/LuaRuntime/Lua.cpp: In function ‘int main(int, char**)’: /media/sda1/Libraries/gamekit-svn/Samples/LuaRuntime/Lua.cpp:116:19: error: cannot convert ‘std::string {aka std::basic_string<char>}’ to ‘const char*’ for argument ‘1’ to ‘int chdir(const char*)’ make[2]: *** [Samples/LuaRuntime/CMakeFiles/AppLuaRuntime.dir/Lua.cpp.o] Error 1 make[1]: *** [Samples/LuaRuntime/CMakeFiles/AppLuaRuntime.dir/all] Error 2 make: *** [all] Error 2 =================================================================== --- Samples/LuaRuntime/Lua.cpp (revision 1288) +++ Samples/LuaRuntime/Lua.cpp (working copy) @@ -113,7 +113,7 @@ #ifdef WIN32 _chdir(workingDir.c_str()); #else - chdir(workingDir); + chdir(workingDir.c_str()); #endif }
Original issue reported on code.google.com by dermontg...@gmail.com on 10 May 2013 at 9:42
dermontg...@gmail.com
Updated to latest revision. Thanks.
Original comment by harkon...@gmail.com on 12 May 2013 at 11:57
harkon...@gmail.com
Original issue reported on code.google.com by
dermontg...@gmail.com
on 10 May 2013 at 9:42