Actually, I have two c++ programs(code), the first is C igraph code and the second one is c++ server socket code. And I want to call or run that igraph code using the c++ (server) socket program. When the client sends a request to the server to run that igraph code.
My individual command in Linux for compiling those codes-
For C igraph -
clang++ igraph.cpp `pkg-config --libs --cflags igraph` -o igraph
For c++ Server Socket -
G++ -o server server.cpp
./server ..port number..