nuclear fussion
2022年5月17日 星期二
2019年7月16日 星期二
2018年9月16日 星期日
Qt
MariaDB
sudo
cp /opt/lampp/lib/libmysqlclient_r.so.18 libmysqlclient_r.so.16
sudo
apt-get install libqt5sql5-mysql
2018年6月18日 星期一
2018年5月23日 星期三
build OpenCV with OpenGL 在windows10上
1.安裝CMake for windows
2.download OpenCV source
3.建立C:\opencv3
4.建立sources和build資料夾
5.把OpenCV的檔案搬到sources下
6.Configure
7.勾選BUILD_EXAMPLES,WITH_OPENGL'
8.generate
9.用Visual Studio 2017 compile
10.
char files[10];
sprintf(files,"E:\\fire.avi");
cv::VideoCapture cap;
cap.open(files);
11.cmd>opengl-example-opengl_interop.exe
12
2.download OpenCV source
3.建立C:\opencv3
4.建立sources和build資料夾
5.把OpenCV的檔案搬到sources下
6.Configure
7.勾選BUILD_EXAMPLES,WITH_OPENGL'
8.generate
9.用Visual Studio 2017 compile
10.
char files[10];
sprintf(files,"E:\\fire.avi");
cv::VideoCapture cap;
cap.open(files);
11.cmd>opengl-example-opengl_interop.exe
12
OpenGL參考
Windows SDK which includes OpenGL and GLU (OpenGL Utility). The Visual C++ 2010 Express bundles the Microsoft Windows SDK, which would be installed in "
The followings are used from Windows SDK:
C:\Program Files\Microsoft SDKs\Windows\v7.0A
". (Otherwise, you need to download and install the Windows SDK separately).The followings are used from Windows SDK:
gl.h
,glu.h
: header for OpenGL and GLU in directory "C:\Program Files\Microsoft SDKs\Windows\v7.0A\include\gl
".opengl32.lib
,glu32.lib
: libraries for OpenGL and GLU in directory "C:\Program Files\Microsoft SDKs\Windows\v7.0A\lib
".opengl32.dll
,glu32.dll
: dynamic link libraries for OpenGL and GLU in directory "C:\Windows\System32
". This directory is to be included in PATH environment variable.
你可以把它放在與exe檔在一起
2018年2月4日 星期日
2018年1月28日 星期日
WebAssembly
Download
$ git clone https://github.com/juj/emsdk.git
$ cd emsdk
$ ./emsdk install latest
$ ./emsdk activate latest
source
$ source ./emsdk_env.sh --build=Release
compile
emcc hello.c -s WASM=1 -o hello.html
$mv hello.html /var/www/html/.
open it in your browser.
$ git clone https://github.com/juj/emsdk.git
$ cd emsdk
$ ./emsdk install latest
$ ./emsdk activate latest
source
$ source ./emsdk_env.sh --build=Release
compile
emcc hello.c -s WASM=1 -o hello.html
$mv hello.html /var/www/html/.
open it in your browser.
訂閱:
文章 (Atom)