miyako / 4d-plugin-zip

4D plugin to zip and unzip.
MIT License
4 stars 4 forks source link

64bit MacOS compilation #3

Closed olivierfaure closed 5 years ago

olivierfaure commented 5 years ago

It seems that the plugin is not 64bits on MacOS, calls make "error privileges"... is it possible for you to make it ?

miyako commented 5 years ago

if you don't need to compile the plugin yourself,

you can always grab a binary from releases

for example,

https://github.com/miyako/4d-plugin-zip/releases/download/2.4/Zip.bundle.zip

to check if the plugin is 64-bit or not,

file /Users/miyako/Downloads/Zip.bundle/Contents/MacOS/Zip 

you should see

/Users/miyako/Downloads/Zip.bundle/Contents/MacOS/Zip: Mach-O 64-bit bundle x86_64

which means it is 64-bit.

if you think a library might be missing,

otool -L /Users/miyako/Downloads/Zip.bundle/Contents/MacOS/Zip 

and you see something like

/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.5)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1671.10.106)
/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1247.4.1)
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 23.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.4)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.200.5)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1560.12.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 934.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1560.12.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

check these before you jump to the conclusion that "it is not 64-bit"

miyako commented 5 years ago

also, you might want to include your platform, version, architecture when you report an issue. do not assume that the same problem is reproducible everywhere.

miyako commented 5 years ago

just tested, no problems with 17R5 64-bit on Mac.