Aporia icon indicating copy to clipboard operation
Aporia copied to clipboard

Fails to install on os X 10.10.5

Open gernest opened this issue 8 years ago • 12 comments

Installing with nimble install aporia gives me this error

Error: execution of an external compiler program 'clang -c  -w -pthread -O3  -I/Volumes/gernest/Nim/lib -o /private/tmp/nimble_80149/githubcom_nimlangAporia/nimcache/aporia_aporia.o /private/tmp/nimble_80149/githubcom_nimlangAporia/nimcache/aporia_aporia.c' failed with exit code: 256

/private/tmp/nimble_80149/githubcom_nimlangAporia/nimcache/dialogs_dialogs.m:622:52: error: property 'path' not found on object of type 'id'
        cres0[i] = [dialog0.URLs objectAtIndex: i].path.UTF8String;
                                                   ^
/private/tmp/nimble_80149/githubcom_nimlangAporia/nimcache/dialogs_dialogs.m:688:47: error: property 'path' not found on object of type 'id'
      cres0 = [dialog0.URLs objectAtIndex: 0].path.UTF8String;
                                              ^
2 errors generated.
Build failed for '[email protected]', would you like to try installing 'aporia@#head' (latest unstable)? [y/N]```

gernest avatar Jun 15 '16 17:06 gernest

have you tried the App bundle https://github.com/nim-lang/Aporia/releases/download/v0.4.0/Aporia_0.4.0_MacOSX.zip?

dom96 avatar Jun 15 '16 17:06 dom96

I'm afraid I don't have OS X 10.10.5 to reproduce this. I'm guessing there is a difference in API or similar. Any chance you could investigate?

dom96 avatar Jun 15 '16 17:06 dom96

@dom96 The app bundle works. But it has lots of bugs, so I hoped maybe installing with nimble will help, and on the readme it says using the Quatrz engine requires nimble installation.

gernest avatar Jun 15 '16 17:06 gernest

What bugs are you experiencing?

dom96 avatar Jun 15 '16 17:06 dom96

I think a fix to your compilation problems might be what is described here: http://stackoverflow.com/questions/8302674/property-not-found-on-object-of-type-id

I wonder why it would differ between OS X versions though (it compiles fine for me on 10.11.4).

dom96 avatar Jun 15 '16 17:06 dom96

The close button for files doesnt work. And on the preference the change font button doesnt work too( I had to use the raw configuration file to change)

gernest avatar Jun 15 '16 18:06 gernest

Strange, could be to do with the older version of OS X.

dom96 avatar Jun 16 '16 10:06 dom96

There is something very strange still going on. Perhaps it's to do with a recent update or something. But after I told my MacBook to go to sleep it shut Aporia down, then reopened it causing it to behave strangely. Now Aporia is exhibiting the issue you described (among many others), even if I restart it...

I don't know what the hell is wrong with OS X (perhaps GTK+ or Aporia is to blame though).

dom96 avatar Jun 25 '16 15:06 dom96

Aporia_0.4.1_MacOSX.zip

@gernest Any chance you could try the above? It works on my machine and uses the DLLs built by brew.

dom96 avatar Jun 25 '16 17:06 dom96

@dom96 I tried it just now. It works fine. Thanks.

gernest avatar Jun 25 '16 21:06 gernest

But for the nimble installation, the same issue prevails.

gernest avatar Jun 25 '16 21:06 gernest

@gernest That's likely a separate issue. Glad that this AppBundle works! Thank you for testing :)

dom96 avatar Jun 25 '16 22:06 dom96