Regards,
Mikl�s M�rton
Ardillakilla �rta:
C:\Qt\QextSerialPort\examples\qespta>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Qt/QextSerialPort/examples/
qespta'
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..
\2010.01\qt\includ
e\QtCore" -I"..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt
\include"
-I"..\..\src" -I"..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..
\..\..\2010
.01\qt\mkspecs\default" -o .obj\main.o main.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..
\2010.01\qt\includ
e\QtCore" -I"..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt
\include"
-I"..\..\src" -I"..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..
\..\..\2010
.01\qt\mkspecs\default" -o .obj\MainWindow.o MainWindow.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..
\2010.01\qt\includ
e\QtCore" -I"..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt
\include"
-I"..\..\src" -I"..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..
\..\..\2010
.01\qt\mkspecs\default" -o .obj\MessageWindow.o MessageWindow.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..
\2010.01\qt\includ
e\QtCore" -I"..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt
\include"
-I"..\..\src" -I"..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..
\..\..\2010
.01\qt\mkspecs\default" -o .obj\QespTest.o QespTest.cpp
C:/Qt/2010.01/qt/bin\moc.exe -D_TTY_WIN_ -DQT_THREAD_SUPPORT -DQT_DLL -
DQT_GUI_L
IB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\2010.01\qt\include
\QtCore" -I"..\.
.\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt\include" -I"..\..
\src" -I"
..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..\..\..\2010.01\qt
\mkspecs\de
fault" -D__GNUC__ -DWIN32 MainWindow.h -o .moc\moc_MainWindow.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..
\2010.01\qt\includ
e\QtCore" -I"..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt
\include"
-I"..\..\src" -I"..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..
\..\..\2010
.01\qt\mkspecs\default" -o .obj\moc_MainWindow.o .moc
\moc_MainWindow.cpp
C:/Qt/2010.01/qt/bin\moc.exe -D_TTY_WIN_ -DQT_THREAD_SUPPORT -DQT_DLL -
DQT_GUI_L
IB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\2010.01\qt\include
\QtCore" -I"..\.
.\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt\include" -I"..\..
\src" -I"
..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..\..\..\2010.01\qt
\mkspecs\de
fault" -D__GNUC__ -DWIN32 MessageWindow.h -o .moc
\moc_MessageWindow.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..
\2010.01\qt\includ
e\QtCore" -I"..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt
\include"
-I"..\..\src" -I"..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..
\..\..\2010
.01\qt\mkspecs\default" -o .obj\moc_MessageWindow.o .moc
\moc_MessageWindow.cpp
C:/Qt/2010.01/qt/bin\moc.exe -D_TTY_WIN_ -DQT_THREAD_SUPPORT -DQT_DLL -
DQT_GUI_L
IB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\2010.01\qt\include
\QtCore" -I"..\.
.\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt\include" -I"..\..
\src" -I"
..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..\..\..\2010.01\qt
\mkspecs\de
fault" -D__GNUC__ -DWIN32 QespTest.h -o .moc\moc_QespTest.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..
\2010.01\qt\includ
e\QtCore" -I"..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\2010.01\qt
\include"
-I"..\..\src" -I"..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..
\..\..\2010
.01\qt\mkspecs\default" -o .obj\moc_QespTest.o .moc\moc_QespTest.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-
pseudo-rel
oc -mthreads -Wl -Wl,-subsystem,windows -o debug\qespta.exe .obj/
main.o .obj/Mai
nWindow.o .obj/MessageWindow.o .obj/QespTest.o .obj/
moc_MainWindow.o .obj/moc_Me
ssageWindow.o .obj/moc_QespTest.o -L"..\..\build" -L"c:\Qt\2010.01\qt
\lib" -lmi
ngw32 -lqtmaind -lqextserialportd1 -lQtGuid4 -lQtCored4
c:/qt/2010.01/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/
bin/ld.exe:
cannot find -lqextserialportd1
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\qespta.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/QextSerialPort/examples/
qespta'
mingw32-make: *** [debug] Error 2
Any ideas? Thank you
On Mar 3, 1:18 pm, Márton Miklós <martonmiklosq...@gmail.com> wrote:
> > When executing build step 'Make'- Hide quoted text -
>
> - Show quoted text -
--
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.
Please advise where I can find the latest. Thank you
On Mar 10, 4:10 pm, Liam Staskawicz <lst...@gmail.com> wrote:
> Doesn't look like you're running the latest code - D_TTY_WIN_ has been
> removed for some time. Which source are you building from?
>
> Liam
>
> ...
>
> read more »
--
Thanks for your time on this.
I downloaded and installed TortiseHG, created a local repository on my
computer, and downloaded the source from https://qextserialport.googlecode.com/hg/
into my repository.
I then ran qmake and ming32w-make on src.pro. This generated a
qextserialportd1.dll in the src/build folder.
I then went into examples/qespta and changed the -lqextserialportd to -
lqextserialportd1 in qespta.pro as well as changed INCLUDEPATH
+= ../../ to INCLUDEPATH += ../../src, ran qmake on qespta.pro and
ming32w-make .
Found I had to include #include <stdio.h> in MessageWindow.cpp for
fprintf and stderr .
Removed make files and associated folders in qespta and reran qmake
and ming32w-make and I get the following:
C:\Qt\QextSerialPort\hg\examples\qespta>mingw32-make
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory `C:/Qt/QextSerialPort/hg/examples/
qespta'
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..
\2010.01\qt\inc
lude\QtCore" -I"..\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..
\2010.01\qt\
include" -I"..\..\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -
I".moc" -I".
.\..\..\..\2010.01\qt\mkspecs\default" -o .obj\main.o main.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..
\2010.01\qt\inc
lude\QtCore" -I"..\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..
\2010.01\qt\
include" -I"..\..\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -
I".moc" -I".
.\..\..\..\2010.01\qt\mkspecs\default" -o .obj\MainWindow.o
MainWindow.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..
\2010.01\qt\inc
lude\QtCore" -I"..\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..
\2010.01\qt\
include" -I"..\..\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -
I".moc" -I".
.\..\..\..\2010.01\qt\mkspecs\default" -o .obj\MessageWindow.o
MessageWindow.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..
\2010.01\qt\inc
lude\QtCore" -I"..\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..
\2010.01\qt\
include" -I"..\..\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -
I".moc" -I".
.\..\..\..\2010.01\qt\mkspecs\default" -o .obj\QespTest.o QespTest.cpp
C:/Qt/2010.01/qt/bin\moc.exe -D_TTY_WIN_ -DQT_THREAD_SUPPORT -DQT_DLL -
DQT_GUI_L
IB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..\2010.01\qt\include
\QtCore" -I".
.\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..\2010.01\qt
\include" -I"..\..
\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..\..\..
\..\2010.0
1\qt\mkspecs\default" -D__GNUC__ -DWIN32 MainWindow.h -o .moc
\moc_MainWindow.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..
\2010.01\qt\inc
lude\QtCore" -I"..\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..
\2010.01\qt\
include" -I"..\..\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -
I".moc" -I".
.\..\..\..\2010.01\qt\mkspecs\default" -o .obj\moc_MainWindow.o .moc
\moc_MainWin
dow.cpp
C:/Qt/2010.01/qt/bin\moc.exe -D_TTY_WIN_ -DQT_THREAD_SUPPORT -DQT_DLL -
DQT_GUI_L
IB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..\2010.01\qt\include
\QtCore" -I".
.\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..\2010.01\qt
\include" -I"..\..
\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..\..\..
\..\2010.0
1\qt\mkspecs\default" -D__GNUC__ -DWIN32 MessageWindow.h -o .moc
\moc_MessageWind
ow.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..
\2010.01\qt\inc
lude\QtCore" -I"..\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..
\2010.01\qt\
include" -I"..\..\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -
I".moc" -I".
.\..\..\..\2010.01\qt\mkspecs\default" -o .obj\moc_MessageWindow.o .moc
\moc_Mess
ageWindow.cpp
C:/Qt/2010.01/qt/bin\moc.exe -D_TTY_WIN_ -DQT_THREAD_SUPPORT -DQT_DLL -
DQT_GUI_L
IB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..\2010.01\qt\include
\QtCore" -I".
.\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..\2010.01\qt
\include" -I"..\..
\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -I".moc" -I"..\..\..
\..\2010.0
1\qt\mkspecs\default" -D__GNUC__ -DWIN32 QespTest.h -o .moc
\moc_QespTest.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -D_TTY_WIN_ -
DQT_THREAD_SUPPORT -D
QT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I"..\..\..\..
\2010.01\qt\inc
lude\QtCore" -I"..\..\..\..\2010.01\qt\include\QtGui" -I"..\..\..\..
\2010.01\qt\
include" -I"..\..\src" -I"..\..\..\..\2010.01\qt\include\ActiveQt" -
I".moc" -I".
.\..\..\..\2010.01\qt\mkspecs\default" -o .obj\moc_QespTest.o .moc
\moc_QespTest.
cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-
pseudo-rel
oc -mthreads -Wl -Wl,-subsystem,windows -o debug\qespta.exe .obj/
main.o .obj/Mai
nWindow.o .obj/MessageWindow.o .obj/QespTest.o .obj/
moc_MainWindow.o .obj/moc_Me
ssageWindow.o .obj/moc_QespTest.o -L"..\..\build" -L"c:\Qt\2010.01\qt
\lib" -lmi
ngw32 -lqtmaind -lqextserialportd1 -lQtGuid4 -lQtCored4
c:/qt/2010.01/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/
bin/ld.exe:
cannot find -lqextserialportd1
collect2: ld returned 1 exit status
mingw32-make[1]: *** [debug\qespta.exe] Error 1
mingw32-make[1]: Leaving directory `C:/Qt/QextSerialPort/hg/examples/
qespta'
mingw32-make: *** [debug] Error 2
On Mar 10, 6:10 pm, Liam Staskawicz <lst...@gmail.com> wrote
> I'm not sure I understand how you downloaded the code from there...
>
> In any event, the best thing to do is install TortoiseHG (http://bitbucket.org/tortoisehg/stable/downloads) and then clone the repo as
> described athttp://code.google.com/p/qextserialport/source/checkout
>
> <http://code.google.com/p/qextserialport/source/checkout>Liam
>
> ...
>
> read more »
Regards,
Mikl�s M�rton
jimmydean101 �rta:
Yup! That popped in my head when I first awoke this morning! Good
call.
Make ran successfully. Now when I run qespta.exe from the debug
folder I get the following message:
This application has failed to start becaue qextserialportd1.dll was
not found. Re-installing the application may fix this problem.
When I went back to the src/build folder, there was now
qextserialportd1.dll and qextserialportd11.dll .
I'm going to try deleting all the qmake files and folders in src and
qespta and try again.
On Mar 11, 12:28 am, Márton Miklós <martonmiklosq...@gmail.com> wrote:
> Imho the QMAKE_LIBDIR should bechanged to += ../../src/build in the
> Qespta.pro,
> because currently I see the ..\..\build dir in the -L flags, which is
> pointing to the Qextserialport src dir.
> Or you can add it with other way: LIBS += -L../../src/build
>
> Regards,
> Mikl s M rton
>
> jimmydean101 rta:
>
>
>
> > Hey Liam,
>
> > Thanks for your time on this.
> > I downloaded and installed TortiseHG, created a local repository on my
> > computer, and downloaded the source fromhttps://qextserialport.googlecode.com/hg/
This application has failed to start becaue qextserialportd1.dll was
not found. Re-installing the application may fix this problem.
Any ideas? Thanks!
> > > mingw32-make: *** [debug] Error 2- Hide quoted text -
Regards,
Mik�s M�rton
jimmydean101 �rta:
> I clean up src and examples, ran qmake and mingw32-make on both
> src.pro and qespta.exe and I'm still getting this error message when
> running qespta.exe -
>
> This application has failed to start becaue qextserialportd1.dll was
> not found. Re-installing the application may fix this problem.
>
> Any ideas? Thanks!
>
> On Mar 11, 8:15 am, jimmydean101 <jimmydean...@gmail.com> wrote:
>
>> Hey Marton,
>>
>> Yup! That popped in my head when I first awoke this morning! Good
>> call.
>>
>> Make ran successfully. Now when I run qespta.exe from the debug
>> folder I get the following message:
>>
>> This application has failed to start becaue qextserialportd1.dll was
>> not found. Re-installing the application may fix this problem.
>>
>> When I went back to the src/build folder, there was now
>> qextserialportd1.dll and qextserialportd11.dll .
>>
>> I'm going to try deleting all the qmake files and folders in src and
>> qespta and try again.
>>
I'm just getting my feet wet with Qt and C++ programming and I really
appreciate all of the help and patience . Thanks!
> >> - Show quoted text -- Hide quoted text -