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

Trying to build using LDC (QtD1?)

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



Joined: 29 Sep 2007
Posts: 23
Location: Germany

PostPosted: Sat Jan 23, 2010 6:56 am    Post subject: Trying to build using LDC (QtD1?) Reply with quote

Hi,

im using LDC + Tango trunk and it's working very well.
Now i tried to build QtD, following these instructions: http://dsource.org/projects/qtd/wiki/BuildLinux
And after running make and 44% of process i got strange errors:

Quote:
[ 44%] Building CMakeFiles/qtdgui.dir/qt/gui/QAbstractScrollArea.d.o
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(58): Error: forward reference of enum QFrame_StyleMask.Shadow_Mask
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(58): Error: alias qt.gui.QFrame.QFrame.Shadow_Mask cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(59): Error: forward reference of enum QFrame_StyleMask.Shape_Mask
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(59): Error: alias qt.gui.QFrame.QFrame.Shape_Mask cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(63): Error: forward reference of enum QFrame_Shape.NoFrame
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(63): Error: alias qt.gui.QFrame.QFrame.NoFrame cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(64): Error: forward reference of enum QFrame_Shape.Box
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(64): Error: alias qt.gui.QFrame.QFrame.Box cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(65): Error: forward reference of enum QFrame_Shape.Panel
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(65): Error: alias qt.gui.QFrame.QFrame.Panel cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(66): Error: forward reference of enum QFrame_Shape.WinPanel
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(66): Error: alias qt.gui.QFrame.QFrame.WinPanel cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(67): Error: forward reference of enum QFrame_Shape.HLine
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(67): Error: alias qt.gui.QFrame.QFrame.HLine cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(68): Error: forward reference of enum QFrame_Shape.VLine
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(68): Error: alias qt.gui.QFrame.QFrame.VLine cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(69): Error: forward reference of enum QFrame_Shape.StyledPanel
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(69): Error: alias qt.gui.QFrame.QFrame.StyledPanel cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(73): Error: forward reference of enum QFrame_Shadow.Plain
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(73): Error: alias qt.gui.QFrame.QFrame.Plain cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(74): Error: forward reference of enum QFrame_Shadow.Raised
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(74): Error: alias qt.gui.QFrame.QFrame.Raised cannot alias an expression 0
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(75): Error: forward reference of enum QFrame_Shadow.Sunken
/home/danny/qtd/build_dir/build/qt/gui/QFrame.d(75): Error: alias qt.gui.QFrame.QFrame.Sunken cannot alias an expression 0
make[5]: *** [CMakeFiles/qtdgui.dir/qt/gui/QAbstractScrollArea.d.o] Fehler 1
make[4]: *** [CMakeFiles/qtdgui.dir/all] Fehler 2
make[3]: *** [all] Fehler 2
make[2]: *** [main] Fehler 2
make[1]: *** [CMakeFiles/main.dir/all] Fehler 2
make: *** [all] Fehler 2


I can't find a seperate folder or something where I can see QtD1 and QtD2 are separate paths? What I did wrong?

Best regards,
Danny.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
eldar



Joined: 14 Jun 2008
Posts: 101
Location: Ufa, Russia

PostPosted: Sat Jan 23, 2010 5:21 pm    Post subject: Reply with quote

That's a bug in ldc, forward references are a known problem. For some reason it works in dmd1 but does not in ldc, although they share the same front-end. But even dmd1 is not supported anymore. I updated the wiki.
All new development for QtD is done for D2, thus dmd only. I am sorry. The old D1 version of QtD is very limited and buggy anyway, I wouldn't use it myself if I were you.
Back to top
View user's profile Send private message
WasserDragoon



Joined: 29 Sep 2007
Posts: 23
Location: Germany

PostPosted: Sun Jan 24, 2010 6:59 am    Post subject: Reply with quote

Hi,
thanks for you reply.

I think it's best to use QtD1 this time, till D2 is stable. I used it before and i was happy with it Wink

So i have to know how to get QtD1 (which revision?) or do i have to use an older ldc revision, too?

Because I tried QtD rev 200 and there i got "reference forward" errors, too.

Best regards,
Danny.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
eldar



Joined: 14 Jun 2008
Posts: 101
Location: Ufa, Russia

PostPosted: Sun Jan 24, 2010 12:53 pm    Post subject: Reply with quote

As I said there is no problem with QtD. It is a bug in LDC. DMD1 works fine with QtD. You should use QtD from svn trunk.
Back to top
View user's profile Send private message
WasserDragoon



Joined: 29 Sep 2007
Posts: 23
Location: Germany

PostPosted: Sun Jan 24, 2010 2:09 pm    Post subject: Reply with quote

So, i need to use an older LDC revision?
Because LDC trunk isn't working...

I checked out svn trunk of qtd and tried to do 'make' but same errors Sad i will try another ldc rev tomorrow...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
eldar



Joined: 14 Jun 2008
Posts: 101
Location: Ufa, Russia

PostPosted: Tue Jan 26, 2010 5:57 am    Post subject: Reply with quote

Yes you can try. It may work or may not.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> QtD 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