#include #include #include #include "http_configserver.h" #include "net_config/net_config.h" //#include "../segvCatch.h" using namespace std; using namespace cv; int main(int argc, char **argv) { ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); // unsigned char gateway_addr[15] = {0}; // SetIpAddress("enp1s0", "192.168.1.181"); // SetMaskAddress("enp1s0", "255.255.255.0"); // GetGateWay("enp1s0", gateway_addr); // SetGateWay("enp1s0", (char *)gateway_addr, "192.168.1.1"); appPref.setLongData("gpu.index", 0);//gpu appPref.setLongData("thread.max", 20);//sdk int port = appConfig.getIntProperty("webPort"); devHttpServer_c _devHttpServer("0.0.0.0", port, 20);//webserver thread cout << "Hello World!" << endl; return 0; } //erl -name sub1@192.168.1.164 -setcookie abc -mnesia dir '"/opt/erlang/sub1"' //erl -name sub2@192.168.1.116 -setcookie abc -mnesia dir '"/opt/erlang/sub2"' -detached -noshell