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

Undefined utf8 stuff

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
baxissimo



Joined: 23 Oct 2006
Posts: 241
Location: Tokyo, Japan

PostPosted: Tue Feb 12, 2008 11:48 am    Post subject: Undefined utf8 stuff Reply with quote

Trying to build using tango for the first time and I'm getting all kinds of errors:

Code:

F:\usr\pkg\d\dmd\import\dfl>f:\usr\pkg\d\dmd\bin\dmd -c -debug -g   -I.. base.d
application.d internal/dlib.d internal/clib.d internal/utf.d internal/com.d control.d form.d registry.d drawing.d menu.d notifyicon.d commondialog.d filedialog.d folderdialog.d panel.d textbox.d richtextbox.d picturebox.d listbox.d groupbox.d splitter.d usercontrol.d button.d label.d collections.d internal/winapi.d internal/wincom.d event.d socket.d timer.d environment.d messagebox.d tooltip.d combobox.d treeview.d tabcontrol.d colordialog.d listview.d data.d clipboard.d fontdialog.d progressbar.d resources.d statusbar.d internal/_stdcwindows.d
internal\dlib.d(121): Error: identifier 'fromUtf8z' of 'tango.stdc.stringz.fromUtf8z' is not defined
internal\dlib.d(123): Error: identifier 'toUtf8z' of 'tango.stdc.stringz.toUtf8z' is not defined
internal\dlib.d(172): Error: identifier 'toUtf8' of 'tango.text.convert.Utf.toUtf8' is not defined
internal\dlib.d(174): Error: identifier 'toUtf16' of 'tango.text.convert.Utf.toUtf16' is not defined
internal\dlib.d(184): Error: identifier 'toUtf8' of 'tango.text.convert.Utf.toUtf8' is not defined
internal\dlib.d(186): Error: identifier 'toUtf32' of 'tango.text.convert.Utf.toUtf32' is not defined


Any idea what all these are about?
Back to top
View user's profile Send private message
jcc7



Joined: 22 Feb 2004
Posts: 657
Location: Muskogee, OK, USA

PostPosted: Tue Feb 12, 2008 2:20 pm    Post subject: Re: Undefined utf8 stuff Reply with quote

baxissimo wrote:
Trying to build using tango for the first time and I'm getting all kinds of errors:
...
Code:
internal\dlib.d(121): Error: identifier 'fromUtf8z' of 'tango.stdc.stringz.fromUtf8z' is not defined
...
I only follow Tango and DFL news as an outsider, but it looks like the DFL code you're trying to compile with Tango is for pre-0.99.4 and your Tango code is 0.99.4 (or later). See Changes in 0.99.4.
Back to top
View user's profile Send private message AIM Address
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Tue Feb 12, 2008 3:18 pm    Post subject: Re: Undefined utf8 stuff Reply with quote

Have to check which Tango version is supported. See snapshot.
Back to top
View user's profile Send private message
baxissimo



Joined: 23 Oct 2006
Posts: 241
Location: Tokyo, Japan

PostPosted: Tue Feb 12, 2008 5:48 pm    Post subject: Re: Undefined utf8 stuff Reply with quote

Chris Miller wrote:
Have to check which Tango version is supported. See snapshot.


Great. Didn't know there was a new snapshot. Is there any sort of announce mailing list or rss feed to get notifications about new versions of DFL?

[edit] It looks like there was another breaking change added after .99.4 was released. tango.stdc.fromUtf8z is now fromStringz.

But after changing that in dfl/internal/dlib.d then things compile ok with Tango SVN.
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Mon Feb 18, 2008 2:32 am    Post subject: Re: Undefined utf8 stuff Reply with quote

baxissimo wrote:
Great. Didn't know there was a new snapshot. Is there any sort of announce mailing list or rss feed to get notifications about new versions of DFL?
The DFL wiki pages has an RSS feed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL 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