PEASE!!!I have spent months and have tried hundreds of different methods of attempting to build Ostinato and have never once come close to it building successfully! All documentation I have found assumes too much or is absolutely wrong or out of date. Assume that the audience is ONLY Windows literate, Meaning someone like me who is NOT overly familiar with UNIX or any other OS and has no clue how MinGW, Protobuf, or QT works, could someone, for goodness sake, PLEASE create an UPDATED document stating exactly step by step the process required to build Ostinato using QT Creator on Windows XP or 7 so that people, like me, can begin to modify it to meet our needs?
13:49:26: Running steps for project ost...
13:49:26: Configuration unchanged, skipping qmake step.
13:49:26: Starting: "C:\MinGW\MinGW-gcc440_1\mingw\bin\mingw32-make.exe"
cd extra/ && C:/MinGW/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/extra'
cd qhexedit2/ && c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/extra/qhexedit2'
c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[3]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/extra/qhexedit2'
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../../Qt/4.7.0/include/QtCore' -I'../../../Qt/4.7.0/include/QtGui' -I'../../../Qt/4.7.0/include' -I'../../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../../Ostinato/extra/qhexedit2' -I'.' -I'../../../Qt/4.7.0/mkspecs/win32-g++' -o debug/commands.o ../../../Ostinato/extra/qhexedit2/src/commands.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../../Qt/4.7.0/include/QtCore' -I'../../../Qt/4.7.0/include/QtGui' -I'../../../Qt/4.7.0/include' -I'../../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../../Ostinato/extra/qhexedit2' -I'.' -I'../../../Qt/4.7.0/mkspecs/win32-g++' -o debug/qhexedit.o ../../../Ostinato/extra/qhexedit2/src/qhexedit.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../../Qt/4.7.0/include/QtCore' -I'../../../Qt/4.7.0/include/QtGui' -I'../../../Qt/4.7.0/include' -I'../../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../../Ostinato/extra/qhexedit2' -I'.' -I'../../../Qt/4.7.0/mkspecs/win32-g++' -o debug/qhexedit_p.o ../../../Ostinato/extra/qhexedit2/src/qhexedit_p.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../../Qt/4.7.0/include/QtCore' -I'../../../Qt/4.7.0/include/QtGui' -I'../../../Qt/4.7.0/include' -I'../../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../../Ostinato/extra/qhexedit2' -I'.' -I'../../../Qt/4.7.0/mkspecs/win32-g++' -o debug/xbytearray.o ../../../Ostinato/extra/qhexedit2/src/xbytearray.cpp
C:/Qt/4.7.0/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../../Qt/4.7.0/include/QtCore' -I'../../../Qt/4.7.0/include/QtGui' -I'../../../Qt/4.7.0/include' -I'../../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../../Ostinato/extra/qhexedit2' -I'.' -I'../../../Qt/4.7.0/mkspecs/win32-g++' -D__GNUC__ -DWIN32 ../../../Ostinato/extra/qhexedit2/src/qhexedit.h -o debug/moc_qhexedit.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../../Qt/4.7.0/include/QtCore' -I'../../../Qt/4.7.0/include/QtGui' -I'../../../Qt/4.7.0/include' -I'../../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../../Ostinato/extra/qhexedit2' -I'.' -I'../../../Qt/4.7.0/mkspecs/win32-g++' -o debug/moc_qhexedit.o debug/moc_qhexedit.cpp
C:/Qt/4.7.0/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../../Qt/4.7.0/include/QtCore' -I'../../../Qt/4.7.0/include/QtGui' -I'../../../Qt/4.7.0/include' -I'../../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../../Ostinato/extra/qhexedit2' -I'.' -I'../../../Qt/4.7.0/mkspecs/win32-g++' -D__GNUC__ -DWIN32 ../../../Ostinato/extra/qhexedit2/src/qhexedit_p.h -o debug/moc_qhexedit_p.cpp
g++ -c -g -Wall -frtti -fexceptions -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../../Qt/4.7.0/include/QtCore' -I'../../../Qt/4.7.0/include/QtGui' -I'../../../Qt/4.7.0/include' -I'../../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../../Ostinato/extra/qhexedit2' -I'.' -I'../../../Qt/4.7.0/mkspecs/win32-g++' -o debug/moc_qhexedit_p.o debug/moc_qhexedit_p.cpp
ar -ru debug/libqhexedit2.a debug/commands.o debug/qhexedit.o debug/qhexedit_p.o debug/xbytearray.o debug/moc_qhexedit.o debug/moc_qhexedit_p.o
mingw32-make[3]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/extra/qhexedit2'
mingw32-make[2]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/extra/qhexedit2'
mingw32-make[1]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/extra'
ar: creating debug/libqhexedit2.a
cd rpc/ && C:/MinGW/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.pbrpc
mingw32-make[1]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/rpc'
c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.pbrpc.Debug
mingw32-make[2]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/rpc'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_REMOTE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../Qt/4.7.0/include/QtCore' -I'../../Qt/4.7.0/include/QtNetwork' -I'../../Qt/4.7.0/include/QtGui' -I'../../Qt/4.7.0/include' -I'../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../Ostinato/rpc' -I'.' -I'../../Qt/4.7.0/mkspecs/win32-g++' -o debug/rpcserver.o ../../Ostinato/rpc/rpcserver.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_REMOTE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../Qt/4.7.0/include/QtCore' -I'../../Qt/4.7.0/include/QtNetwork' -I'../../Qt/4.7.0/include/QtGui' -I'../../Qt/4.7.0/include' -I'../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../Ostinato/rpc' -I'.' -I'../../Qt/4.7.0/mkspecs/win32-g++' -o debug/pbrpcchannel.o ../../Ostinato/rpc/pbrpcchannel.cpp
C:/Qt/4.7.0/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_REMOTE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../Qt/4.7.0/include/QtCore' -I'../../Qt/4.7.0/include/QtNetwork' -I'../../Qt/4.7.0/include/QtGui' -I'../../Qt/4.7.0/include' -I'../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../Ostinato/rpc' -I'.' -I'../../Qt/4.7.0/mkspecs/win32-g++' -D__GNUC__ -DWIN32 ../../Ostinato/rpc/rpcserver.h -o debug/moc_rpcserver.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_REMOTE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../Qt/4.7.0/include/QtCore' -I'../../Qt/4.7.0/include/QtNetwork' -I'../../Qt/4.7.0/include/QtGui' -I'../../Qt/4.7.0/include' -I'../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../Ostinato/rpc' -I'.' -I'../../Qt/4.7.0/mkspecs/win32-g++' -o debug/moc_rpcserver.o debug/moc_rpcserver.cpp
C:/Qt/4.7.0/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_REMOTE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../Qt/4.7.0/include/QtCore' -I'../../Qt/4.7.0/include/QtNetwork' -I'../../Qt/4.7.0/include/QtGui' -I'../../Qt/4.7.0/include' -I'../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../Ostinato/rpc' -I'.' -I'../../Qt/4.7.0/mkspecs/win32-g++' -D__GNUC__ -DWIN32 ../../Ostinato/rpc/pbrpcchannel.h -o debug/moc_pbrpcchannel.cpp
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_REMOTE -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../Qt/4.7.0/include/QtCore' -I'../../Qt/4.7.0/include/QtNetwork' -I'../../Qt/4.7.0/include/QtGui' -I'../../Qt/4.7.0/include' -I'../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'../../Ostinato/rpc' -I'.' -I'../../Qt/4.7.0/mkspecs/win32-g++' -o debug/moc_pbrpcchannel.o debug/moc_pbrpcchannel.cpp
ar -ru debug/libpbrpc.a debug/rpcserver.o debug/pbrpcchannel.o debug/moc_rpcserver.o debug/moc_pbrpcchannel.o
mingw32-make[2]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/rpc'
mingw32-make[1]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/rpc'
ar: creating debug/libpbrpc.a
cd common/ && C:/MinGW/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.ostproto
mingw32-make[1]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/common'
c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.ostproto.Debug
mingw32-make[2]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/common'
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/pcapfileimport.ui -o ui_pcapfileimport.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/mac.ui -o ui_mac.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/payload.ui -o ui_payload.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/eth2.ui -o ui_eth2.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/dot3.ui -o ui_dot3.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/llc.ui -o ui_llc.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/snap.ui -o ui_snap.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/vlan.ui -o ui_vlan.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/arp.ui -o ui_arp.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/ip4.ui -o ui_ip4.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/ip6.ui -o ui_ip6.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/icmp.ui -o ui_icmp.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/gmp.ui -o ui_gmp.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/tcp.ui -o ui_tcp.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/udp.ui -o ui_udp.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/textproto.ui -o ui_textproto.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/userscript.ui -o ui_userscript.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/hexdump.ui -o ui_hexdump.h
c:/Qt/4.7.0/bin/uic.exe ../../Ostinato/common/sample.ui -o ui_sample.h
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I'../../Qt/4.7.0/include/QtCore' -I'../../Qt/4.7.0/include/QtNetwork' -I'../../Qt/4.7.0/include/QtGui' -I'../../Qt/4.7.0/include/QtXml' -I'../../Qt/4.7.0/include/QtScript' -I'../../Qt/4.7.0/include' -I'../../Ostinato/extra/qhexedit2/src' -I'../../Qt/4.7.0/include/ActiveQt' -I'debug' -I'.' -I'../../Ostinato/common' -I'.' -I'../../Qt/4.7.0/mkspecs/win32-g++' -o debug/ostprotolib.o ../../Ostinato/common/ostprotolib.cpp
protoc --cpp_out=. --proto_path=. ../../Ostinato/common/protocol.proto
mingw32-make[2]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/common'
mingw32-make[1]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/common'
process_begin: CreateProcess(NULL, protoc --cpp_out=. --proto_path=. ../../Ostinato/common/protocol.proto, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make[2]: *** [protocol.pb.h] Error 2
mingw32-make[1]: *** [debug] Error 2
mingw32-make: *** [sub-common-ostproto-pro-make_default-ordered] Error 2
13:50:44: The process "C:\MinGW\MinGW-gcc440_1\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project ost (kit: MINgwoldgcc)
When executing step 'Make'
14:01:41: Running steps for project ost...
14:01:41: Configuration unchanged, skipping qmake step.
14:01:41: Starting: "C:\MinGW\MinGW-gcc440_1\mingw\bin\mingw32-make.exe"
cd extra/ && C:/MinGW/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/extra'
cd qhexedit2/ && c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/extra/qhexedit2'
c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.Debug
mingw32-make[3]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/extra/qhexedit2'
mingw32-make[3]: Nothing to be done for `first'.
mingw32-make[3]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/extra/qhexedit2'
mingw32-make[2]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/extra/qhexedit2'
mingw32-make[1]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/extra'
cd rpc/ && C:/MinGW/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.pbrpc
mingw32-make[1]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/rpc'
c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.pbrpc.Debug
mingw32-make[2]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/rpc'
mingw32-make[2]: Nothing to be done for `first'.
mingw32-make[2]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/rpc'
mingw32-make[1]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/rpc'
cd common/ && C:/MinGW/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.ostproto
mingw32-make[1]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/common'
c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.ostproto.Debug
mingw32-make[2]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/common'
mingw32-make[2]: Nothing to be done for `first'.
mingw32-make[2]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/common'
mingw32-make[1]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/common'
cd server/ && C:/MinGW/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.drone
mingw32-make[1]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/server'
c:/mingw/MinGW-gcc440_1/mingw/bin/mingw32-make -f Makefile.drone.Debug
mingw32-make[2]: Entering directory `c:/build-ost-MINgwoldgcc-Debug/server'
mingw32-make[2]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/server'
mingw32-make[1]: Leaving directory `c:/build-ost-MINgwoldgcc-Debug/server'
mingw32-make[2]: *** No rule to make target `drone_main.cpp', needed by `version.cpp'. Stop.
mingw32-make[1]: *** [debug] Error 2
mingw32-make: *** [sub-server-drone-pro-make_default-ordered] Error 2
14:02:05: The process "C:\MinGW\MinGW-gcc440_1\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project ost (kit: MINgwoldgcc)
When executing step 'Make'
14:02:05: Elapsed time: 00:24.
Chris,
Some suggestions -
1. Try using the debugger to see where it crashes
2. If it crashes very early on even before main(), maybe it can't find
the DLLs it depends upon
3. Are you able to compile and run any of the sample Qt projects?
4. Are you using the release or debug configuration for your build -
try with both
5. There could also be a problem of binary compatibility between the
various libraries - did you install the mingw or ViStudio versions of
Qt? Are you using the compiler that was installed by Qt or did you
download/install mingw separately. You need to use the same compiler
as what was included in the Qt distribution (assuming you are using
the pre-built DLLs in the download and did not compile Qt yourself) to
compile Ostinato and all its dependencies.
6. Do a google search for the error and see if any pointers there help.