Build fails on linux - lacks objbase.h and initguid.h

414 views
Skip to first unread message

mor...@winkler.dk

unread,
Jan 4, 2010, 9:28:38 AM1/4/10
to qextserialport
Hi all.

Running GCC 4.4.1 and Qt 4.5.2 for X11 on Kubuntu 9.10 i try to build
QExtSerialPort version 1.2

Qt is installed and I can with out problems build my Qt based
application.

However I get this error when trying to build QExtSerialPort:

g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -D_TTY_POSIX_ -
DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/
mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/
QtGui -I/usr/include/qt4 -Ibuild/moc -o build/obj/
qextserialenumerator.o qextserialenumerator.cpp
qextserialenumerator.cpp:9:21: error: objbase.h: No such file or
directory
qextserialenumerator.cpp:10:22: error: initguid.h: No such file or
directory

I can not recall ever having heard about those two files on a
linuxsystem and google only suggests that it is files needed when
doing windowsdevelopment. A single post og a different topic suggests
that I should have mingw installed - I've tried that without any luck.

Does anybody have an idea what I should do or where to look?

Best,
Morten

Liam Staskawicz

unread,
Jan 4, 2010, 10:48:42 AM1/4/10
to qextser...@googlegroups.com
The D_TTY_POSIX_ shows that you're using an old version. Try checking out from hg tip and see how that goes.

Liam

> --
>
> You received this message because you are subscribed to the Google Groups "qextserialport" group.
> To post to this group, send email to qextser...@googlegroups.com.
> To unsubscribe from this group, send email to qextserialpor...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/qextserialport?hl=en.
>
>

Morten Winkler Jørgensen

unread,
Jan 5, 2010, 6:58:50 AM1/5/10
to qextser...@googlegroups.com
Hi Liam

> The D_TTY_POSIX_ shows that you're using an old version. Try checking out
> from hg tip and see how that goes.

Aaah. That sure helped a lot. Thank you for your nice library and friendly
support.

Best,
Morten

Reply all
Reply to author
Forward
0 new messages