Skip to content

Commit 9c51a7c

Browse files
Update README.md
1 parent 3bccd18 commit 9c51a7c

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,7 @@
6161
* Via OF Project Generator
6262
1. Add ofxLibwebsockets to your addons
6363
2. Open your new project
64-
3. Set a Preprocessor definition for libwebsockets
65-
* right click on your project in the solution explorer, click "Properties"
66-
* go to C/C++ > Preprocessor in the list on the right
67-
* Make sure you're editing "All Configurations", not just Debug or Release (drop down at the top left)
68-
* Click the drop down next to "Preprocessor Definitions" and select <Edit>
69-
* In the text box that pops up, paste
70-
```
71-
_WIN32_WINNT=0x501
72-
```
64+
7365
* Adding to new/existing project:
7466
1. Add the ofxLibwebsockets source files to the C++ Linker
7567
* right click on project in the solution explorer, click "Properties", Go down to C++ > General
@@ -106,21 +98,13 @@
10698

10799
3. Now go down to Linker > Input; open the editor "Additional dependencies" the same way
108100
* Add websockets_static.lib and ZLIB.lib
109-
* If you need to use OpenSSL, add libeay32.lib and ssleay32.lib
110-
4. Finally, go to C/C++ > Preprocessor
111-
* Make sure you're editing "All Configurations", not just Debug or Release (drop down at the top left)
112-
* Click the drop down next to "Preprocessor Definitions" and select *Edit*
113-
* In the text box that pops up, paste
114-
```
115-
_WIN32_WINNT=0x501
116-
```
117101
118102
* Linux
119103
* Use openFramework's projectgenerator and voilà!
120104

121105
## Building libwebockets
122106

123-
ofxLibwebsockets uses [libwebsockets 1.3](http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/tag/?id=v1.3-chrome37-firefox30)
107+
ofxLibwebsockets uses [libwebsockets 1.5](https://github.com/warmcat/libwebsockets/releases/tag/v1.5-chrome47-firefox41)
124108

125109
### OS X
126110

@@ -202,4 +186,4 @@ cp lib/Relase/libwebsockets.a /PATH/TO/OF/addons/ofxLibwebsockets/libs/libwebsoc
202186
* Click Generate
203187
* Open `build\libwebsockets.sln` from your source folder
204188
* Compile the `ALL_BUILD` project in Debug and Release modes
205-
* Copy `websockets_static.lib` and `ZLIB.lib` from `build\lib\[Debug|Release\]` into the proper locations in ofxLibwebsockets. You don't need `websockets.lib` or `websockets.exp`
189+
* Copy `websockets_static.lib` and `ZLIB.lib` from `build\lib\[Debug|Release\]` into the proper locations in ofxLibwebsockets. You don't need `websockets.lib` or `websockets.exp`

0 commit comments

Comments
 (0)