{"action":"created","issue":{"url":"https://api.github.com/repos/DHrpcs3/rpcs3/issues/994","labels_url":"https://api.github.com/repos/DHrpcs3/rpcs3/issues/994/labels{/name}","comments_url":"https://api.github.com/repos/DHrpcs3/rpcs3/issues/994/comments","events_url":"https://api.github.com/repos/DHrpcs3/rpcs3/issues/994/events","html_url":"https://github.com/DHrpcs3/rpcs3/issues/994","id":56945889,"number":994,"title":"\"Unsupported vm::cast() type\"","user":{"login":"devilmac","id":3171657,"avatar_url":"https://avatars.githubusercontent.com/u/3171657?v=3","gravatar_id":"","url":"https://api.github.com/users/devilmac","html_url":"https://github.com/devilmac","followers_url":"https://api.github.com/users/devilmac/followers","following_url":"https://api.github.com/users/devilmac/following{/other_user}","gists_url":"https://api.github.com/users/devilmac/gists{/gist_id}","starred_url":"https://api.github.com/users/devilmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devilmac/subscriptions","organizations_url":"https://api.github.com/users/devilmac/orgs","repos_url":"https://api.github.com/users/devilmac/repos","events_url":"https://api.github.com/users/devilmac/events{/privacy}","received_events_url":"https://api.github.com/users/devilmac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2015-02-08T09:46:30Z","updated_at":"2015-02-22T08:45:20Z","closed_at":null,"body":"Hi all,\r\n\r\nI'm trying to build this project but I get this error:\r\n\r\nIn file included from /Users/federico/Downloads/rpcs3/rpcs3/Emu/ARMv7/ARMv7Thread.cpp:4:\r\nIn file included from /Users/federico/Downloads/rpcs3/rpcs3/Emu/Memory/Memory.h:144:\r\n/Users/federico/Downloads/rpcs3/rpcs3/Emu/Memory/vm.h:79:3: error: static_assert failed \"Unsupported vm::cast() type\"\r\n                static_assert(std::is_same<T, u32>::value, \"Unsupported vm::cast() type\");\r\n                ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n/Users/federico/Downloads/rpcs3/rpcs3/Emu/Memory/vm.h:123:10: note: in instantiation of template class 'vm::cast_ptr<unsigned long>' requested here\r\n                return cast_ptr<T>::cast(addr, func);\r\n                       ^\r\n/Users/federico/Downloads/rpcs3/rpcs3/Emu/ARMv7/ARMv7Thread.cpp:259:28: note: in instantiation of function template specialization\r\n      'vm::cast<unsigned long>' requested here\r\n                const u32 arg_size = vm::cast(arg.size(), \"arg.size()\"); // get arg size\r\n                                         ^\r\n1 error generated.\r\nmake[2]: *** [rpcs3/CMakeFiles/rpcs3.dir/Emu/ARMv7/ARMv7Thread.cpp.o] Error 1\r\nmake[1]: *** [rpcs3/CMakeFiles/rpcs3.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\nCould you help me to resolve it?\r\n\r\nMany thanks guys :D"},"comment":{"url":"https://api.github.com/repos/DHrpcs3/rpcs3/issues/comments/75425980","html_url":"https://github.com/DHrpcs3/rpcs3/issues/994#issuecomment-75425980","issue_url":"https://api.github.com/repos/DHrpcs3/rpcs3/issues/994","id":75425980,"user":{"login":"Syphurith","id":8421531,"avatar_url":"https://avatars.githubusercontent.com/u/8421531?v=3","gravatar_id":"","url":"https://api.github.com/users/Syphurith","html_url":"https://github.com/Syphurith","followers_url":"https://api.github.com/users/Syphurith/followers","following_url":"https://api.github.com/users/Syphurith/following{/other_user}","gists_url":"https://api.github.com/users/Syphurith/gists{/gist_id}","starred_url":"https://api.github.com/users/Syphurith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syphurith/subscriptions","organizations_url":"https://api.github.com/users/Syphurith/orgs","repos_url":"https://api.github.com/users/Syphurith/repos","events_url":"https://api.github.com/users/Syphurith/events{/privacy}","received_events_url":"https://api.github.com/users/Syphurith/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T08:45:20Z","updated_at":"2015-02-22T08:45:20Z","body":"@robxu9 (using email to reply, cool) Ok i understand it, thanks.\r\nMSVC for windows, GCC for linux and Clang for OSX .. ha."}}