第二十四個夏天後
幸福,不是做自己喜歡的事,而是喜歡自己做的事
顯示具有
cmake
標籤的文章。
顯示所有文章
顯示具有
cmake
標籤的文章。
顯示所有文章
2020年3月21日 星期六
[C] 嵌入式 Web Server + cgi-bin + JSON = thttpd + cgic + cJSON 開發筆記 @ macOS
›
記得七八年前,是在嵌入式平台上寫 C++ 的 CGI 練習,現在則是在試著寫 C 語言。以下幾個套件還滿夠用的,筆記一下: https://github.com/boutell/cgic https://github.com/DaveGamble/cJSON 而 cgi...
1 則留言:
2019年7月24日 星期三
[C] 透過 CMAKE 搜尋 OpenSSL 函式庫產出 MD5 資料
›
最近幫同事 debug embedded linux 問題,恰好需要用 MD5 來做 hash ,隨意找找就用 OpenSSL 函式庫就對了。再加上原先寫的小程式已經靠 CMAKE 維護了,就繼續整合使用 CMakeLists.txt: $ cat CMakeLists...
2018年11月9日 星期五
macOS 開發筆記 - fatal error: 'stdio.h' file not found
›
在 macOS 搭配 CMake 編譯東西時,竟然會缺 stdio.h ,只好: $ sudo xcode-select --install $ open /Library/Developer/CommandLineTools/Packages/macOS_SDK_hea...
2016年4月4日 星期一
透過 Git Submodule 和 CMake 使用 GoogleTest
›
大概兩年前有練習一下 [CPP] Unit Test for C++ Usage via Google Test ,連假來複習一下,著重在 CMakefile 的使用: $ cd /path/project $ git submodule add https://gith...
2014年11月11日 星期二
[Linux] c++: internal compiler error: Killed (program cc1plus) @ Ubuntu 14.04
›
最近 編譯 C++ 的 source code 時,開始會蹦出奇怪的狀態: c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with pr...
›
首頁
查看網路版