• Apfeltalk ändert einen Teil seiner Allgemeinen Geschäftsbedingungen (AGB), das Löschen von Useraccounts betreffend.
    Näheres könnt Ihr hier nachlesen: AGB-Änderung
  • Seit Gutenbergs Zeiten haben sich nicht nur Bücher über die ganze Welt verbreitet, sondern Buchstaben und Wörter begleiten uns allumfassend. Selbst moderne Devices mit Sprachsteuerung und Super-KI kommen nicht ohne Buchstaben, Wörter oder Symbole aus. Nicht zuletzt darum ist das Thema das Monats Am Anfang war das Wort ---> Klick

Gtk+

  • Ersteller Sisko86
  • Erstellt am

Sisko86

Gast
Würde gerne mit GTK+ Programmieren. Bekomme immer Linker Fehler. Leider verstehe ich auch die Anleitung nicht richtig, was die von mir wollen:

Building Command Line GTK+ Based Applications Build Note:
Building apps from the command line will require you to create an application package for your executable.

The easiest way to do this is build a dummy carbon application in project builder with the same name as your executable. Then when you run the configure script of your application have the install paths (e.g. --bindir, --sbindir, etc.) point inside the dummy app. Then make, and make install.

For example, make a cinepaint.app Carbon based project in project builder.
So that when you are running the configure script to build cinepaint add --bindir=<folder where cinepaint.app is>/cinepaint.app/Contents/MacOS to the configure input

If you launch your app and it immediately exits, try launching it from the command line e.g. ./MyApp/Contents/MacOS/MyApp, and see if you get different results.


Außerdem hab ich noch config skripts mit denen ich nichts anfangen kann:
glib-config, gtk-config. Die muss ich irgendwie mit linken denk ich mal.

Wäre auch mit X11 zufrieden.

Kann mir jemand eine Anleitung geben, wie man GTK+ für X11/native installiert und wie man ein XCode Projekt anlegt.