View previous topic :: View next topic |
Author |
Message |
WasserDragoon
Joined: 29 Sep 2007 Posts: 23 Location: Germany
|
Posted: Tue Jul 29, 2008 8:00 am Post subject: GtkSourceView? |
|
|
Hello,
Quote: | Please note that this version does not contain the gtksourceview 1.x library anymore (upgraded to gtksourceview 2.x). If you are using sourceview... |
How i can get the gtksourceview-2.x lib to use it with gtkD on windows?
I only know that i need a gsv folder in my dsss/include/d folder...
Thanks,
WasserDragoon.
EDIT: I downloaded the latest stable release 2.2.2 from the gnome ftp server: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.2/
what i have to do now or am I wrong? |
|
Back to top |
|
|
okibi
Joined: 04 Jan 2007 Posts: 170
|
Posted: Tue Jul 29, 2008 1:27 pm Post subject: |
|
|
The official Windows GTK+ installer (which can be found on the sticky here in the forums, the gtkd wiki, or on ddev.info) contains gtksourceview 2.x already. I would recommend you download and use the official installer. |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Tue Jul 29, 2008 1:28 pm Post subject: |
|
|
The dll should be in the download you can get from the GtkD main page - Just noticed the link is missing, i put it back up.
A sourceview 2.x dll from somewere else should also work, if i remember correctly you should place it in: C:/Program files/Common Files/GTK/2.0/lib/, (this depends on the installer you used for gtk). |
|
Back to top |
|
|
okibi
Joined: 04 Jan 2007 Posts: 170
|
|
Back to top |
|
|
WasserDragoon
Joined: 29 Sep 2007 Posts: 23 Location: Germany
|
Posted: Thu Jul 31, 2008 11:17 am Post subject: |
|
|
Quote: | (SVTest.exe:664): GtkSourceView-WARNING **: Failed to load 'C:\Program Files\Com
mon Files\GTK\2.0\share\gtksourceview-2.0\language-specs\d.lang': could not find
the RelaxNG schema file |
Thats what I get, when Im trying to run SVTest.exe (from demos folder)
The snippet works, except for the syntax highlighting... |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
|
Back to top |
|
|
WasserDragoon
Joined: 29 Sep 2007 Posts: 23 Location: Germany
|
Posted: Thu Jul 31, 2008 1:36 pm Post subject: |
|
|
thanks.
was missing:
language-specs/language.rng
language-specs/language2.rng
language-specs/styles.rng |
|
Back to top |
|
|
|