{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Chakra-Samples/issues/81","repository_url":"https://api.github.com/repos/Microsoft/Chakra-Samples","labels_url":"https://api.github.com/repos/Microsoft/Chakra-Samples/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Chakra-Samples/issues/81/comments","events_url":"https://api.github.com/repos/Microsoft/Chakra-Samples/issues/81/events","html_url":"https://github.com/Microsoft/Chakra-Samples/issues/81","id":256239183,"number":81,"title":"Unable to run the sample app in Linux","user":{"login":"DiegoBM","id":1613216,"avatar_url":"https://avatars0.githubusercontent.com/u/1613216?v=4","gravatar_id":"","url":"https://api.github.com/users/DiegoBM","html_url":"https://github.com/DiegoBM","followers_url":"https://api.github.com/users/DiegoBM/followers","following_url":"https://api.github.com/users/DiegoBM/following{/other_user}","gists_url":"https://api.github.com/users/DiegoBM/gists{/gist_id}","starred_url":"https://api.github.com/users/DiegoBM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DiegoBM/subscriptions","organizations_url":"https://api.github.com/users/DiegoBM/orgs","repos_url":"https://api.github.com/users/DiegoBM/repos","events_url":"https://api.github.com/users/DiegoBM/events{/privacy}","received_events_url":"https://api.github.com/users/DiegoBM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-08T12:30:35Z","updated_at":"2017-09-28T21:37:55Z","closed_at":null,"author_association":"NONE","body":"Hi all\r\n\r\nAfter successfully building a release version of ChrakraCore in Ubuntu Linux with ./build.sh and cloning and building the sample app in \"CrossPlatform\" folder I received 2 errors, one of which I could solve, but I'm stuck on the second. The first error seems to be related to the JsCopyString function signature. I was getting this:\r\n\r\nsample.cpp:61:79: error: too many arguments to function ‘JsErrorCode JsCopyString(JsValueRef, char*, size_t, size_t*)’\r\n     FAIL_CHECK(JsCopyString(resultJSString, nullptr, 0, nullptr, &stringLength));\r\n\r\nOnce I fixed the function calls to use only 4 parameters the project built successfully, but now when I try to run with ./sample.o I get the following error:\r\n\r\n./sample.o: error while loading shared libraries: libChakraCore.so: cannot open shared object file: No such file or directory\r\n\r\nI have checked that the library certainly is in ../out/Release/libChakraCore.so, so not really sure why it cannot find the library. Any help would be appreciated.\r\n\r\nThank you in advance\r\n\r\nKind regards\r\n\r\nDiego de Blas\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/Chakra-Samples/issues/comments/332971176","html_url":"https://github.com/Microsoft/Chakra-Samples/issues/81#issuecomment-332971176","issue_url":"https://api.github.com/repos/Microsoft/Chakra-Samples/issues/81","id":332971176,"user":{"login":"liminzhu","id":1158954,"avatar_url":"https://avatars3.githubusercontent.com/u/1158954?v=4","gravatar_id":"","url":"https://api.github.com/users/liminzhu","html_url":"https://github.com/liminzhu","followers_url":"https://api.github.com/users/liminzhu/followers","following_url":"https://api.github.com/users/liminzhu/following{/other_user}","gists_url":"https://api.github.com/users/liminzhu/gists{/gist_id}","starred_url":"https://api.github.com/users/liminzhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liminzhu/subscriptions","organizations_url":"https://api.github.com/users/liminzhu/orgs","repos_url":"https://api.github.com/users/liminzhu/repos","events_url":"https://api.github.com/users/liminzhu/events{/privacy}","received_events_url":"https://api.github.com/users/liminzhu/received_events","type":"User","site_admin":false},"created_at":"2017-09-28T21:37:55Z","updated_at":"2017-09-28T21:37:55Z","author_association":"MEMBER","body":"Thanks for opening the issue and sorry to get to you late @DiegoBM ! \r\n\r\n`JsCopyString` - we changed its signature a week ago. I will change the samples accordingly.\r\nCannot find .so - any chance you build sample.o with `make BUILD_TYPE=Debug` instead of release?\r\n "}}
{"actor":{"display_login":"liminzhu"}}