Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
coolxv committed Nov 10, 2018
1 parent 17deab5 commit 2d6f75f
Show file tree
Hide file tree
Showing 3 changed files with 175 additions and 85 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cd src
#g++ -g -std=c++11 -DZMQ_STATIC -o main -Wl,-dn -lzmq -lmsgpackc -lmysqlcppconn-static -Wl,-dy -lssl -lcrypto -lpthread -lrt -ldl -lm -L ../lib -I ../include/zmq -I ../include/msgpack -I ../include/mysql/ -Wl,-rpath ../lib main.cpp

g++ -g -std=c++11 -o main -lzmq -lmsgpackc -lmysqlclient -lssl -lcrypto -L ../lib -I ../include/zmq -I ../include/msgpack -I ../include/mysql/mysql -Wl,-rpath ../lib main.cpp
g++ -g -std=c++11 -o gpats -lzmq -lmsgpackc -lmysqlclient -lssl -lcrypto -L ../lib -I ../include/zmq -I ../include/msgpack -I ../include/mysql/mysql -Wl,-rpath ../lib main.cpp
cd ..
mv src/gpats bin
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cd bin
nohup ./gpats >> gpats.log 2>&1 &
cd ..
Loading

0 comments on commit 2d6f75f

Please # to comment.