Closed surfingtomchen closed 5 years ago
Hey @surfingtomchen ,
You need to install the oatpp
first. In order for oatpp-websocket
to find it.
oatpp:
$ mkdir build
$ cd build/
$ cmake ..
$ make install # - build and install oatpp
Same for every oatpp module that you are planning to use.
Please let me know if you have more questions.
Regards, Leonid
So in order to build a web app which uses oatpp
and oatpp-websocket
you have to do:
build and install oatpp
$ mkdir build
$ cd build/
$ cmake ..
$ make install # - build and install oatpp
build and install oatpp-websocket
$ mkdir build
$ cd build/
$ cmake ..
$ make install # - build and install oatpp-websocket
build your application
$ mkdir build
$ cd build/
$ cmake ..
$ make # - generate executable
On windows:
$ MD build # - create build folder
$ cd build\ # - go to build folder
$ cmake .. # - generate VS project
$ cmake --build . --target INSTALL # - install oatpp module
Regards, Leonid
@lganzzzo really helps. thank you very much.
Sorry I am not familiar with cmake. I try to do following steps in windows
but I get following error:
do I need to revise the cmake file to setup the previous installation dir of oatpp?