View previous topic :: View next topic |
Author |
Message |
snotskie
Joined: 22 Nov 2010 Posts: 3 Location: Bowling Green, KY
|
Posted: Mon Nov 22, 2010 7:25 pm Post subject: Ubuntu linker build errors. |
|
|
Hello all,
When trying to build the example "Hello World" on the Linux Build Instructions page, I get the following errors:
qt-test.o.data+0x6ac): undefined reference to `_D2qt3gui12QApplication12__ModuleInfoZ'
qt-test.o.data+0x6b0): undefined reference to `_D2qt3gui11QPushButton12__ModuleInfoZ'
qt-test.o: In function `_Dmain':
qt-test.d.text._Dmain+0x11): undefined reference to `_D2qt3gui12QApplication12QApplication6__initZ'
qt-test.d.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 |
|
|
snotskie
Joined: 22 Nov 2010 Posts: 3 Location: Bowling Green, KY
|
Posted: Mon Nov 22, 2010 7:38 pm Post subject: |
|
|
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 |
|
|
|