일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- C#
- POST
- wss 파싱
- 정보처리기사 실기
- C# sprintf
- MariaDB
- UI
- Telerik
- create
- url파싱
- IndexOutOfRangeException
- 프로토타입
- System.IndexOutOfRangeException
- Git
- restapi
- 정보처리기사
- drop
- HeidiSQL
- VisualStudio2019
- MFC
- show
- 정처기 실기
- c# 클로저
- c# for
- multipart/form-data
- url 파싱
- git commit vi
- postgresql
- WinForms
- 정처기
- Today
- Total
달짱달짱
[libwebsockets] libwebsockets 설치 및 CMAKE build 본문
Download | CMake
Current development distribution Each night binaries are created as part of the testing process. Other than passing all of the tests in CMake, this version of CMake should not be expected to work in a production environment. It is being produced so that us
cmake.org
wnsgml972.github.io/c/2018/05/07/c_windows_pthread/
Windows에서 pthread 사용하기
wnsgml972.github.io
▶ openssl 설치
https://slproweb.com/products/Win32OpenSSL.html
Win32/Win64 OpenSSL Installer for Windows - Shining Light Productions
Minimum system requirements: Windows XP or later 32MB RAM 200MHz CPU 30MB hard drive space Recommended system requirements: Windows XP or later 128MB RAM 500MHz CPU 300MB hard drive space March 14, 2023 - OpenSSL 3.1 is available. Also, Happy Pi Day. Users
slproweb.com
1. 위의 네가지를 모두 다운로드. (libwebsockets, CMake, OpenSSL, pthread)
2. CMake 실행
3. Where is the source code: (libwebsocket 경로)
4. Where to build the binaries: (build 파일을 저장할 경로)
- ex) libwebsocket경로 > 'build' 폴더 생성 > 해당 경로 지정
5. Configure > Visual Studio 버전 선택 > 64비트 선택 > Finish
6. 설정 확인 후 Generate >> 완료
7. build 폴더에서 libwebsockets.sln 을 확인
8. 솔루션 빌드 후 솔루션의 각 프로젝트 실행
* websocket_static.lib 이 없을 경우 websocket 프로젝트를 먼저 빌드
* 빌드 시, 다음 오류를 경고로 처리 와 같은 오류 메시지 뜨면 프로젝트 - 속성 - C/C++ - 경고를 오류로 처리 : 아니요 로 변경
* 원하는 프로젝트 한개만 시작프로젝트로 설정 후 빌드실행