MCPPPP icon indicating copy to clipboard operation
MCPPPP copied to clipboard

Crashing on mac/Not working

Open ultra-black opened this issue 3 years ago • 48 comments

Describe the bug A crash happens when I open the file inside of bin > GNUSpraseFile.0 > MCPPPP-mac Im not really good at code :( I couldn't open the app once, this is my first time using it.

Screenshots Look at logs

Important stuff

  • OS: macOS Mojave
  • Version/Commit Number: 10.14.6

Resourcepack I couldn't even open the application, and upload one.

Logs

*computer name*:~ *name*$ /Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac ; exit;
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 1: 3: command not found
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 2: 0: command not found
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 3: 4096: command not found
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 4: 8192: command not found
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 5: 1097728: command not found
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 6: 1114112: command not found
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 7: 427896: command not found
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 86: syntax error near unexpected token `('
/Users/*account*/Desktop/bin-3/GNUSparseFile.0/MCPPPP-mac: line 86: `M???A?G~I???[A\A^A_]?*

Additional context Nothing.

ultra-black avatar Jan 12 '22 07:01 ultra-black

Also I'm using MCPPPP-mac tar.gz

ultra-black avatar Jan 12 '22 07:01 ultra-black

Are there any mcpppp logs? they should be named MCPPPP-log.txt
also, what version of mcpppp was this?

supsm avatar Jan 12 '22 07:01 supsm

No there isnt any logs, i followed the instructions. Also it is 0.5.7

ultra-black avatar Jan 12 '22 07:01 ultra-black

Are you on M1 mac or intel?

supsm avatar Jan 12 '22 07:01 supsm

Intel i5.

ultra-black avatar Jan 12 '22 07:01 ultra-black

Thanks for reporting, it may take a while to find out what the issue is and how to fix it

supsm avatar Jan 12 '22 07:01 supsm

I will be patient, thanks!

ultra-black avatar Jan 12 '22 07:01 ultra-black

I am unable to replicate on M1 chip with MacOS Monterey (version 12.1)

I think it might be because your OS is too old to run the application properly. The mac version is compiled on MacOS Big Sur (version 11), which has several changes over the version 10 MacOS such as Mojave and Catalina. Thus it is likely that MacOS versions before Big Sur will not work with the compiled releases.

The source code may still be viable on any MacOS version. You will have to compile it yourself on your Mac to test this, however.

FwuffyPetsOwO avatar Jan 12 '22 15:01 FwuffyPetsOwO

Wait, so you mean I need to get the CLI version? Im sorry for not knowing, as I said I'm not good at understanding code.

ultra-black avatar Jan 12 '22 17:01 ultra-black

No, you would need to compile it from source. Don’t worry though, it isn’t super hard as this has cmake now. You’d need to download cmake (you’ll want macos 10.13 or later) then follow the instructions here

supsm avatar Jan 12 '22 17:01 supsm

Bit confused here, so I downloaded the source code... Now what do I do??? I didn't really understand because the build readme was confusing for me.

ultra-black avatar Jan 12 '22 17:01 ultra-black

After downloading cmake and the source code,

  1. open cmake-gui and set the source directory to the location of mcpppp source
  2. Set the build directory to the same, but add /build at the end
  3. Press configure, then generate
  4. Open a terminal in the mcpppp folder and run cmake —build build
  5. The built binaries should be in build/bin

I’ll probably make a tutorial or something in the future so it’s more clear

supsm avatar Jan 12 '22 17:01 supsm

For the 2nd step it says.

Build directory does not exist, should I create it?

Directory: /Users/account/Desktop/MCPPPP-0.5-1.7/build

ultra-black avatar Jan 12 '22 18:01 ultra-black

Yes create it

supsm avatar Jan 12 '22 18:01 supsm

When I try to Configure this happens cmake1

This is what It said: CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as

project(ProjectName)

near the top of the file, but after cmake_minimum_required().

CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.

Configuring done When I try to Generate This happens cmake2 cmake 3

This is what it says Configuring done CMake Error at CMakeLists.txt:1 (add_executable): No SOURCES given to target: Source.cpp

ultra-black avatar Jan 12 '22 18:01 ultra-black

Are you sure you downloaded mcpppp source code? Also it should be the latest commit not the release

supsm avatar Jan 12 '22 18:01 supsm

Oh, im gonna try that tommrow. I have to go for now. Thanks for the help

ultra-black avatar Jan 12 '22 18:01 ultra-black

Are you sure you downloaded mcpppp source code? Also it should be the latest commit not the release

Wait, how do you do that again? I forgot

ultra-black avatar Jan 13 '22 06:01 ultra-black

Go to the main project page, press the green Code button, and Download ZIP

supsm avatar Jan 13 '22 06:01 supsm

Yes, it works. but what do i do with the cmake —build build?

ultra-black avatar Jan 13 '22 06:01 ultra-black

You open a terminal in the mcpppp directory and run that

supsm avatar Jan 13 '22 06:01 supsm

So I drag it into the terminal??? Sorry if im wasting you time.

ultra-black avatar Jan 13 '22 06:01 ultra-black

You have to open a terminal then cd to the mcpppp directory

supsm avatar Jan 13 '22 06:01 supsm

quick tip: if you go into finder and find the directory that contains the mcpppp folder, you can right-click on the mcpppp folder and then select "copy" and then you can paste into your terminal cd command to get there

FwuffyPetsOwO avatar Jan 13 '22 06:01 FwuffyPetsOwO

Everything worked, however. It says it was built for macOS 11.6+ And It didnt let me open it.

ultra-black avatar Jan 13 '22 06:01 ultra-black

w h a t

supsm avatar Jan 13 '22 06:01 supsm

/Users/accountname/Desktop/MCPPPP-mac ; exit; account:~ name$ /Users/account/Desktop/MCPPPP-mac ; exit; dyld: Symbol not found: ___darwin_check_fd_set_overflow Referenced from: /Users/account/Desktop/MCPPPP-mac (which was built for Mac OS X 11.6) Expected in: /usr/lib/libSystem.B.dylib in /Users/account/Desktop/MCPPPP-mac Abort trap: 6 logout Saving session... ...copying shared history... ...saving history...tr

ultra-black avatar Jan 13 '22 06:01 ultra-black

damn

ultra-black avatar Jan 13 '22 06:01 ultra-black

Honestly I don't think I can help you anymore at this point... I'm completely clueless too

supsm avatar Jan 13 '22 06:01 supsm

Well, i just need a texture pack converted. Thats all I need.. Im gonna send it later.

ultra-black avatar Jan 13 '22 06:01 ultra-black