terminal contents after crash:
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
@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
settings.iniwhere it was added by me to the Portable ZIP.
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.
make: which: Command not found
make: uname: Command not found
make: which: Command not found
make: mkdir: No such file or directory
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
match any declaration in 'OptionsParser'
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
Here's the contents of my current copy of OptionsParser::APIyaml(): https://pastebin.com/9v92Br0Y
(I pasted the entire OptionsParser.cpp just in case)
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:
Last login: Wed May 29 17:01:32 on ttys000 Owners-MacBook-Pro:~ owner$ cd /Users/owner/enigma-dev Owners-MacBook-Pro:enigma-dev owner$ ./emake "/Users/owner/Desktop/Key to Success.gmk" -x gcc -p SDL -c Precise -g OpenGL1 -a OpenAL -w None -e "Paths,Alarms" -o "/Users/owner/Desktop/Key to Success" -r [libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in database: options.proto [libprotobuf FATAL google/protobuf/descriptor.cc:1370] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): Abort trap: 6 Owners-MacBook-Pro:enigma-dev owner$
looks like libprotocols or protobuf is being linked twice and google dont like it