gregorycox / ostinato

Automatically exported from code.google.com/p/ostinato
GNU General Public License v3.0
0 stars 0 forks source link

Project does not build in Qt-creator #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I’m trying to build using Qt-creator and I’m having problems.  Although I 
first encountered these issues in Windows, I’ve since installed Qt-creator on 
my Linux box (CentOS 5.5 with the same Qt versions installed) and I see 
*exactly* same issues there as well.  I hope that you can help.

I have installed:
Qt 4.7.0, 
Qt-creator 2.0.1, 
protobuf 2.3.0 (also tried 2.4.0)
Winpcap/pcap

When I try to build ost.pro with this configuration I see a number of problems. 
 The first is that when Qt-creator calls protoc it does not provide the correct 
paths for –cpp_out and –proto_path (it appears that it is looking in 
../../<path> instead of ../<path>).  I’ve worked around this issue by 
manually running protoc on the .proto files.

However, now I’m getting a message that states that there is “No rule to 
make target ‘drone_main.cpp, needed by ‘version.cpp’.  And, I have no 
idea how to fix this.

I have tried this with both the source tarball from the project page, and the 
tip of the Mercurial archive with the same result.

I am able to build using qmake/make in Linux.  But, to date, have not been able 
to build this in Windows.

Original issue reported on code.google.com by pjyoung...@gmail.com on 15 Apr 2011 at 12:27

GoogleCodeExporter commented 9 years ago
I just tried to build Ostinato 0.3 source package using QtCreator and was able 
to do so successfully on my Windows box. I just had to setup the environment 
variables CPLUS_INCLUDE_PATH and LIBRARY_PATH to the locations of winPcap and 
protobuf.

Can you please issue a Build|Rebuild All and copy-paste the *entire* output 
here?

Original comment by pstav...@gmail.com on 25 Apr 2011 at 4:52

GoogleCodeExporter commented 9 years ago
It happens to me also with latest (0.4) version of software. I have attached 
build log. Main reason for source code modification is to add forced CRC mode.

Original comment by jyripol...@gmail.com on 13 Aug 2011 at 1:35

Attachments:

GoogleCodeExporter commented 9 years ago
Are you using the source package or a cloned hg repository? Do you have a 
server/version.cpp file in your workspace? This is actually a generated file 
during the build process - I suspect one is not being generated in your case.

Original comment by pstav...@gmail.com on 14 Aug 2011 at 5:03