View previous topic :: View next topic |
Author |
Message |
revcompgeek
Joined: 24 Nov 2007 Posts: 27
|
Posted: Sat Dec 01, 2007 9:28 pm Post subject: Problem with Rebuild |
|
|
When I compile my project normally with rebuild in it's original directory, it compiles fine. But I was going to try and debug it with Eclipse, and when I try to compile with Rebuild like it says in the Debugging Programs section of the wiki, I get the following errors:
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../../include/d/4.0.1/tango/text/convert/Layout.d:441: Error: no property 'toUtf8' for type 'object.TypeInfo'
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../../include/d/4.0.1/tango/text/convert/Layout.d:441: function tango.text.convert.Layout.Layout!(char).Layout.fromUtf8 (char[],char[]) does not match parameter types (int,char[])
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../../include/d/4.0.1/tango/text/convert/Layout.d:441: Error: cannot implicitly convert expression (1) of type int to char[]
Error: cannot cast int to char[]
/usr/bin/../include/d/4.0.1/tango/io/Console.d:267: Error: no property 'toUtf8' for type 'object.Object'
/usr/bin/../include/d/4.0.1/tango/io/Console.d:267: function tango.io.Console.Console.Output.append (char[]) does not match parameter types (int)
/usr/bin/../include/d/4.0.1/tango/io/Console.d:267: Error: cannot implicitly convert expression (1) of type int to object.Object
Error: cannot cast int to object.Object
I can't figure out what I am doing wrong! |
|
Back to top |
|
|
fraserofthenight
Joined: 08 Apr 2007 Posts: 33 Location: Seattle, WA
|
Posted: Mon Dec 03, 2007 5:45 pm Post subject: |
|
|
What version of Tango are you using & have you recently upgraded? I believe the new version of Tango changed toUtf8 to toString. Also, if you have multiple versions of Rebuild, GDC, etc., installed, that may be an issue (for example, GDC may be loading object from Phobos, but including Tango files, etc.)
Any information you can provide about versions, the environment, etc. will be helpful.
Remember that all Descent is doing is invoking the builder command, so if worse comes to worst, you can temporarily debug-build your app & copy it into the project folder, then run it with Descent's debugger. |
|
Back to top |
|
|
|
|
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
|