Example Trema App: Routing_Switch
1. Install ZeroMQ
- Please follow the instruction from the offical web site: http://www.zeromq.org/intro:get-the-software
- add the include folder location of ZeroMQ :
- CFLAGS = $(shell $(TREMA)/trema-config --cflags) -I/home/liudanny/SourceCode/zeromq2-1/include -I../topology -g -std=gnu99 -D_GNU_SOURCE -fno-strict-aliasing -Werror -Wall -Wextra -Wformat=2 -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wfloat-equal -Wpointer-arith
- add library name of zeroMQ and link it:
- LDFLAGS = $(shell $(TREMA)/trema-config --libs) -lzmq -L../topology -ltopology
No comments:
Post a Comment