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

Ubuntu linker build errors.

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



Joined: 22 Nov 2010
Posts: 3
Location: Bowling Green, KY

PostPosted: Mon Nov 22, 2010 7:25 pm    Post subject: Ubuntu linker build errors. Reply with quote

Hello all,

When trying to build the example "Hello World" on the Linux Build Instructions page, I get the following errors:

qt-test.oSad.data+0x6ac): undefined reference to `_D2qt3gui12QApplication12__ModuleInfoZ'
qt-test.oSad.data+0x6b0): undefined reference to `_D2qt3gui11QPushButton12__ModuleInfoZ'
qt-test.o: In function `_Dmain':
qt-test.dSad.text._Dmain+0x11): undefined reference to `_D2qt3gui12QApplication12QApplication6__initZ'
qt-test.dSad.text._Dmain+0x25): undefined.... (continues on for MANY more pages).

Am I forgetting a compilation flag somewhere? a symlink? something trivial I more-than-likely overlooked?
Back to top
View user's profile Send private message
snotskie



Joined: 22 Nov 2010
Posts: 3
Location: Bowling Green, KY

PostPosted: Mon Nov 22, 2010 7:38 pm    Post subject: Reply with quote

Nevermind, the problem wasn't in QtD, but in SCiTE not sending the flags properly for some reason.
Solved it using a re-"sudo make install", then using just the terminal for a bit with
Code:
dmd main.d -I/usr/local/include/d -L-L/usr/qt/4/lib -L-lqtdgui -L-lqtdcore -L-lcpp_core -L-lcpp_gui -L-lQtGui -L-lQtCore
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