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
LGM crashes on startup (on Mac) trying to communicate with the library seems partially successful #1733
Comments
The Java version may be too new. LGM's minimum Java version is 1.7. It is also possible that you need to increase the maximum JVM heap size using the command line parameter. Other than that, this might not even be a LateralGM issue since I see JDI crapping out a bunch. |
@RobertBColton i updated the issue with more details |
You can alias make in the compiler eys: |
ok its giving me less stuff in the errors now but it still crashes |
how do i set the default platform to sdl? right now its trying to use cocoa which might be the issue idk |
Make Cocoa represents "None" I think or just delete the "Info" folder altogether.
|
ok after setting the default to SDL im getting this, still crashing: |
You didn't increase the heap size. Again, the Java version may be too new. Otherwise look at any other tweaks fundies had in #1294. |
ill try downgrading next, but the max and min heap size no longer appears to be located in settings.ey anymore i have no idea where you guys have moved it to |
The min and max heap parameters are a command line parameter to Java. |
anyways that used to be in the settings.ey and i think it should still be for convenience tbh |
No, it was in |
ah. yeah well what min and max would you recommend? nothing seems to be working, only crash is getting slightly delayed. Is openjdk or oracle the one we need on mac? |
i can't figure out how to downgrade without an oracle account and openjdk doesn't seem to have a downgrade option so ill just have to try that a different day |
Oracle JDK is always recommended on every platform. |
whatever nonsense shell your using is missing a bunch of bash commands like which and mkdir. It's not going to work unless you're in a proper bash shell |
@fundies I'm using the default Mac terminal, the same thing I used when you helped me get it working last year. mkdir seems to work for me last I tried it, or perhaps i remember wrong, Also, more people have complained about me on discord than you from what I can tell, YellowAfterlife even asked if he could block me recently because I was so annoying to him. I think I might go back to using just hangouts soon, if this continues, I think Josh really shouldn't have booted you out, even if it was meant to temporary afaik, I don't believe in god anymore so you don't have to worry about me getting offended by your humor now, at least when it comes to anything religious and i generally am learning to be less touchy. I won't say more on this. |
@RobertBColton fucking apple replaced instances I typed gmake with make so anyway now that's corrected the original post on this issue now makes proper sense. We already fixed it when you told me how to alias in that file you mentioned. I'm just getting pissed by apple's autocorrect. It makes my macbook feel like a mobile device which i hate. |
anyway I'm ready to work on this again. I'll do what robert suggested and look at that specific commit he mentioned to me on discord. |
you need to solve that first |
@fundies fixed it. I forgot to use gmake instead of make. Now I'm getting this: OptionsParser.cpp:215:28: error: out-of-line definition of 'APIyaml' does not While I'm waiting for a response from you or robert I'm in the process of doing a gmake clean and then gmake all to see if cleaning will fix that issue. Edit: Nope, that didn't fix it. |
im guessing you messed up that source file somehow. Or theres more to that error you're omitting |
@fundies normally i would say your first statement is probably correct, but I've uninstalled enigma and started over several times now and this is one of multiple times i was stopped by this same error at this point in time, at least twice in a row now. All I'm doing is installing enigma and adding some of the most recent changes from your branch. I'll check to see what else is mentioned in the terminal later and pastebin the results to you. |
std::string OptionsParser::APIyaml() takes an argument in the latest sources so either its edited or theres something more to that error that you arent showing |
Yeah, that's what I'm saying. I don't really know for sure, but I think the issue lies somewhere else in the other contents printed to the terminal. In any case, I just ran gmake clean and gmake all again. I'll post the contents of the terminal once it reaches that error again along with the current contents of my copy of std::string OptionsParser::APIyaml() as separate pastebin's, and hopefully we'll get to the bottom of it. |
Here's what the terminal printed for gmake all: https://pastebin.com/EG84BhSk |
and as i said https://github.com/enigma-dev/enigma-dev/blob/master/CommandLine/emake/OptionsParser.cpp#L216 your line 215 doesnt match at all. youre clearly on edited source |
Thanks for that. I didn't realize i edited anything, or maybe i copied from a wrong commit. However it happened, that part should be fixed now. Thanks for the help! |
Ok, so emake built it appears even though building the Cocoa test harness failed but i don't think that makes a difference because i don't think we ever got that working iirc. now trying to build with emake gives me this:
|
looks like libprotocols or protobuf is being linked twice and google dont like it |
what do you mean linked twice? As in the libProtocols.dylib? Do you have any idea how to correct this, or what file is most likely in need of changing? Is there any particular file you need a pastebin of? |
you need to ensure the dylibs your building and linking are shared and not static |
anyways, I'm done giving hints. I'll sell you my top secret mac formula for $200usd |
@fundies thanks for the help you already provided though, I never would've made it this far without you. You're very appreciated by me, and I feel you aren't given enough credit by Josh. He said "fundies served as a good motivator for me and Robert, but other than that, he mostly just a pain in the ass". I find Josh's attitude towards you unrealistic, inaccurate, and absurd. You have always been one of the most helpful members we've ever had, and other than Robert, probably the biggest contributor to the project as well. I'm sorry Josh let go of you like this, and I wish you the best on finding another project to work on that will be just as if not much more fulfilling for you, in a community that will be a lot more appreciative of you. It's been a rollercoaster working with you fundies, but it has been an honor all the same. Thank you for your years of dedication and putting up with us. |
@time-killer-games If this has been resolved, please close it. You've been using ENIGMA on Mac so I suspect it's solved. |
@RobertBColton I haven't been using enigma on Mac. My ENIGMA extensions were tested in Xcode projects with all unrelated code to the extension in enigma taken out. Mac is still broken. |
terminal contents after crash:
https://pastebin.com/UNVUCZab
btw i successfully built emake and all the dylibs and everything including my java/jdk is 64-bit
The problem is that lateralgm is trying to communicate with make, not gmake. make on mac is deprecated and only supports 32-bit which since i am building for x64 that won't work. we need lgm on mac to communicate with 64-bit gmake
The text was updated successfully, but these errors were encountered: