-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Embedding ChakraCore into OS X application #1532
Comments
@Kureev Did you see our ChakraCore samples? https://github.com/Microsoft/Chakra-Samples/tree/master/ChakraCore%20Samples/Hello%20World Comparing to that what do you do different? |
@obastemur I'm actually trying to run Hello World example from the OS X application. I'm using ObjectiveC++ to run it. It compiles without errors (in XCode), but after that nothing happens (expected behavior - I see Hello World in the console). I can share my git repo if needed |
Will it help if I share my XCode example? P.S. I suspect it fails when I try to create a JS runtime (if I remove code below this line (inclusive), it works). Will be nice if you can point me to the right direction and I debug it by myself. |
?
Sure |
I mean if I remove everything below Here's my research project: https://github.com/Kureev/GoldenGate P.S. Thanks for the fast feedback, really appreciate it ❤️ |
@Kureev it is all about the order of the libs. See updated project file at https://gist.github.com/obastemur/73bec7c23e02aeba67200f4c1cd2cad9 I was able to see |
Closing for now. Thanks for bringing it up. |
Indeed, reordering libraries helped! Thank you for your time and assistance. |
a - Library X depends on Library Y. [ Y->X ] Failing on (a) may produce a linker error (see below), failing on (b) may produce an undefined runtime behavior. IIRC VS linker does pretty decent job. GCC et. all depends on the order I've just mentioned previously. |
Hi there,
I'm trying to embed ChakraCore into OS X application. I managed to do it without any issues at compile time, but the app doesn't run tho (doesn't even hit breakpoint in
int main
func). Any ideas what can go wrong there?UPD: Maybe related to #1237
The text was updated successfully, but these errors were encountered: