Forum > macOS / Mac OS X

Unable to lunch lazarus

(1/2) > >>

The first time I have succeded in compilation then ran Lazarus, everythings was fine : WAOU, Delphi under MAC OS X,  great news ....

I begun to configure paths of the fpc source and compiler etc ...
I think I gave a bad path for the ppc (?), and now lazarus give me this error at lunch time with an error form (access violation just after the lazarus logo) :

Gdk-ERROR **: BadIDChoice (invalid resource ID chosen for this connection)
  serial 1763 error_code 14 request_code 1 minor_code 0
Gdk-ERROR **: BadWindow (invalid Window parameter)
  serial 1764 error_code 3 request_code 2 minor_code 0

Is there a configuration file I can change ?

Best regards,

The good news, I don't think this is a problem of the compiler
The bad news, we sometimes see this also on Linux (the X server complaining about async replies).
I don't have a Mac but the types of gtk errors look the same.
Sometimes recompilation or some codechanges triggered it for me and the next time it was gone.
You can try to rebuild

Well, I have another problem: I downloaded and installed fpc and then installed lazarus by using make. I launched lazarus and set the path to fpc (/usr/local/bin). When trying to compile a program, it tells me that the "Free Pascal source directory was not found". I don't know where to download or install that. The installer for fpc for OS X only installs the binary it seems.

Any help would be greatly appreciated.

Carbonide: Though I don't have OS X (Though I want a Powerbook :-) ), this works on GNU/Linux.

First, Download the latest FPC source. Second, extract it. Next, goto "Enviroment Options" in the Enviroment menu, and enter the directory with the unextracted files as the "FPC source directory".

That's it! It should work now.

Sorry if that sounded out of tough, it is pretty late... Please reply if you need anything else.

Thanks :D

Hey, MrBob, that was too easy :)

I'm happy to report that Lazarus works perfectly now (incidentally, on my PowerBook) on Mac OS X.

Go get a Powerbook, OS X + Lazarus = happiness :)

Thanks for your help and a big thank you to everyone involved in the development of Lazarus!


[0] Message Index

[#] Next page

Go to full version