Comments (6)
telen0222,
You need to first build the protobuf source seperately from Ostinato and then
ensure
that protobuf SDK's exported header files and libraries are available to
Ostinato
via the environment variables CPLUS_INCLUDE_PATH and LIBRARY_PATH respectively.
See the following discussion for some expanded build instructions - <http://
groups.google.com/group/ostinato/browse_thread/thread/354b9368754724d1?pli=1>
Ignore the following line in pbrpc.pro. It is not required/used and something I
seem
to have forgotten to remove.
INCLUDEPATH += "c:\msys\1.0\local\include
Let me know if you need further help either by updating this issue or posting
to the
ostinato mailing list - ostinato at googlegroups dot com
Srivats P.
Original comment by [email protected]
on 8 May 2010 at 3:42
- Added labels: ****
- Removed labels: ****
from ostinato.
Srivats
Thanks for your kind help.
Following your instructions,I managed to compile protobuf successfully, and i
modified the "pbrpc.pro" file a bit to to include the protobuf header and lib
files,as follows:
---build out put begin:
INCLUDEPATH += "D:\projects\Qt\workspace\ostinato\protobuf-2.3.0\src\"
LIBS += -L"D:\projects\Qt\workspace\ostinato\protobuf-2.3.0\src\.libs"
-llibprotobuf.a
LIBS += -L"D:\projects\Qt\workspace\ostinato\protobuf-2.3.0\src\.libs"
-llibprotobuf-lite.a
LIBS += -L"D:\projects\Qt\workspace\ostinato\protobuf-2.3.0\src\.libs"
-llibprotoc.a
And after this, the "pbrpc" part of the build process went well, but a new
problem
pops up(while building the "common" part),as follows:
mingw32-make[2]: Entering directory `D:/projects/Qt/workspace/ostinato/ostinato.
src.ok/common'
d:\test\Qt\2010.02.1\qt\bin\uic.exe mac.ui -o ui_mac.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe payload.ui -o ui_payload.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe eth2.ui -o ui_eth2.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe dot3.ui -o ui_dot3.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe llc.ui -o ui_llc.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe snap.ui -o ui_snap.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe vlan.ui -o ui_vlan.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe arp.ui -o ui_arp.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe ip4.ui -o ui_ip4.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe icmp.ui -o ui_icmp.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe tcp.ui -o ui_tcp.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe udp.ui -o ui_udp.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe userscript.ui -o ui_userscript.h
d:\test\Qt\2010.02.1\qt\bin\uic.exe sample.ui -o ui_sample.h
protoc --cpp_out=. protocol.proto
process_begin: CreateProcess(NULL, protoc --cpp_out=. protocol.proto, ...) faile
d.
make (e=2): 系统找不到指定的文件。
mingw32-make[2]: *** [protocol.pb.h] Error 2
mingw32-make[2]: Leaving directory `D:/projects/Qt/workspace/ostinato/ostinato.s
rc.ok/common'
mingw32-make[1]: *** [debug] Error 2
mingw32-make[1]: Leaving directory `D:/projects/Qt/workspace/ostinato/ostinato.s
rc.ok/common'
mingw32-make: *** [all] Error 2
D:\projects\Qt\workspace\ostinato\ostinato.src.ok>
---build out put end.
Expecting your kind reply, thanks in advance:)
By the way, i am in China, and i could not open the link you gave in IE:
http://groups.google.com/group/ostinato/browse_thread/thread/354b9368754724d1?pl
i=1
Original comment by [email protected]
on 8 May 2010 at 1:59
- Added labels: ****
- Removed labels: ****
from ostinato.
In case your os can not decode Chinese characters:
"make (e=2): 系统找不到指定的文件。"
means in english: "make (e=2): system can not find the designated file."
Original comment by [email protected]
on 8 May 2010 at 2:04
- Added labels: ****
- Removed labels: ****
from ostinato.
telen0222,
When you built the protobuf library, you would also have built the protobuf
compiler -
protoc.exe - check if it is in your PATH - if not add it to a location which is
in
your PATH
Srivats
Original comment by [email protected]
on 8 May 2010 at 3:00
- Added labels: ****
- Removed labels: ****
from ostinato.
telen0222,
Do you need any more help?
Srivats
Original comment by [email protected]
on 12 May 2010 at 1:47
- Added labels: ****
- Removed labels: ****
from ostinato.
@telen0222: I'm closing this defect. Please leave a comment if you need help or
send a
mail to the mailing list - ostinato at googlegroups dot com
Original comment by [email protected]
on 19 May 2010 at 1:25
- Changed state: Invalid
- Added labels: ****
- Removed labels: ****
from ostinato.
Related Issues (20)
- Transmit State is not changed after sending stream with min count of packets HOT 1
- VLAN field doesn't have validation (Vlan, SVlan and SVlan/Vlan) HOT 1
- Ethernet Type field view is not stable (Ethernet II) HOT 6
- Failed to open saved in PDML format stream HOT 6
- Ostinato crashes after try to configure full long IPv6 address HOT 3
- Ostinato crashes after configuring invalid packet content HOT 1
- Unable to find /boot/linux.vmx HOT 3
- ostinato/drone crash when conencting from remote machine HOT 3
- Ostinato crashes after closing drone HOT 1
- Ostinato crashes after adding renamed protocol. HOT 5
- Ostinato does not check on start that drone is running HOT 6
- Scroll per item in Packet View cuts off protocol content HOT 3
- No transmit packet counters on client GUI with PF_RING DNA HOT 3
- drone.exe will be crashed after initial connection via python script. HOT 2
- Code review request: STP protocol patch. PLvision company HOT 3
- Enhancement: Need Port reservation support for DRONE(Linux) Ports HOT 2
- Ostinato in mininet HOT 4
- Endless Loop in drone, when compiled with disabled qDebug HOT 3
- Option to configure per-port capture filters HOT 3
- Discrepencies between tcpdumped packet and ostinato received packet HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ostinato.