View previous topic :: View next topic |
Author |
Message |
baxissimo
Joined: 23 Oct 2006 Posts: 241 Location: Tokyo, Japan
|
Posted: Tue Feb 12, 2008 11:48 am Post subject: Undefined utf8 stuff |
|
|
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 |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Tue Feb 12, 2008 2:20 pm Post subject: Re: Undefined utf8 stuff |
|
|
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 |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Tue Feb 12, 2008 3:18 pm Post subject: Re: Undefined utf8 stuff |
|
|
Have to check which Tango version is supported. See snapshot. |
|
Back to top |
|
|
baxissimo
Joined: 23 Oct 2006 Posts: 241 Location: Tokyo, Japan
|
Posted: Tue Feb 12, 2008 5:48 pm Post subject: Re: Undefined utf8 stuff |
|
|
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 |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Mon Feb 18, 2008 2:32 am Post subject: Re: Undefined utf8 stuff |
|
|
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 |
|
|
|