FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GtkSourceView?

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
WasserDragoon



Joined: 29 Sep 2007
Posts: 23
Location: Germany

PostPosted: Tue Jul 29, 2008 8:00 am    Post subject: GtkSourceView? Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
okibi



Joined: 04 Jan 2007
Posts: 170

PostPosted: Tue Jul 29, 2008 1:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Jul 29, 2008 1:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
okibi



Joined: 04 Jan 2007
Posts: 170

PostPosted: Tue Jul 29, 2008 1:30 pm    Post subject: Reply with quote

I didn't notice that the url was mmissing, thanks Mike!

Also, the installer includes the dll from http://ftp.gnome.org/pub/GNOME/binaries/win32/gtksourceview/2.2/.
Back to top
View user's profile Send private message
WasserDragoon



Joined: 29 Sep 2007
Posts: 23
Location: Germany

PostPosted: Thu Jul 31, 2008 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Thu Jul 31, 2008 12:17 pm    Post subject: Reply with quote

We had this problem before, this error is because of a missing file in the Gtk installation, The download available on the GtkD main page should have these files.

EDIT: reference to the old topic: http://dsource.org/forums/viewtopic.php?t=3734&postdays=0&postorder=asc&start=24
Back to top
View user's profile Send private message
WasserDragoon



Joined: 29 Sep 2007
Posts: 23
Location: Germany

PostPosted: Thu Jul 31, 2008 1:36 pm    Post subject: Reply with quote

thanks.
was missing:
language-specs/language.rng
language-specs/language2.rng
language-specs/styles.rng
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group