Trying to get Swig to work with CivetServer. Not working

This commit is contained in:
Caleb Herpin 2021-07-06 12:38:14 -05:00
parent 0725d28914
commit 8042806f48
5 changed files with 6 additions and 3 deletions

View File

@ -103,5 +103,6 @@
#include "trick/WebServer.hh" #include "trick/WebServer.hh"
#include "trick/WebSocketSession.hh" #include "trick/WebSocketSession.hh"
#endif #endif
#include "trick/CivetServer.hh"
#endif #endif

View File

@ -3,7 +3,7 @@ PURPOSE:
(Trick HTTP Server) (Trick HTTP Server)
LIBRARY DEPENDENCIES: LIBRARY DEPENDENCIES:
( (
(/home/cherpin/git/trick/trick_source/web/HttpServer/src/CivetServer.cpp) (/home/cherpin/git/trick_fork/trick_source/web/CivetServer/src/CivetServer.cpp)
) )
*************************************************************/ *************************************************************/

View File

@ -7,5 +7,5 @@ trick.itimer_enable()
trick.exec_set_enable_freeze(True) trick.exec_set_enable_freeze(True)
trick.exec_set_freeze_command(True) trick.exec_set_freeze_command(True)
simControlPanel = trick.SimControlPanel() #simControlPanel = trick.SimControlPanel()
trick.add_external_application(simControlPanel) #trick.add_external_application(simControlPanel)

View File

@ -1,3 +1,4 @@
TRICK_CFLAGS += -I../models TRICK_CFLAGS += -I../models
TRICK_CXXFLAGS += -I../models TRICK_CXXFLAGS += -I../models
TRICK_USER_LINK_LIBS += ${TRICK_HOME}/lib/libtrickCivet.a ${TRICK_HOME}/lib/libcivetweb.a TRICK_USER_LINK_LIBS += ${TRICK_HOME}/lib/libtrickCivet.a ${TRICK_HOME}/lib/libcivetweb.a

View File

@ -145,6 +145,7 @@
#include "trick/Flag.h" #include "trick/Flag.h"
#include "trick/UdUnits.hh" #include "trick/UdUnits.hh"
#include "trick/WebServer.hh" #include "trick/WebServer.hh"
#include "trick/CivetServer.hh"
#ifdef USE_ER7_UTILS_INTEGRATORS #ifdef USE_ER7_UTILS_INTEGRATORS
#include "er7_utils/integration/core/include/integrator_constructor_factory.hh" #include "er7_utils/integration/core/include/integrator_constructor_factory.hh"