- Msys2
- とりあえず更新しておく
pacman -Syuuをアップデートがなくなるまで何度か繰り返す
- Gtk3
pacman -S mingw-w64-x86_64-gtk3で導入pacman -S mingw-w64-i686-gtk3で導入(32bit版を使う場合)
- とりあえず更新しておく
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package jp.seraphyware.example.ByteBuddyExample; | |
| import java.lang.reflect.InvocationHandler; | |
| import java.lang.reflect.Method; | |
| import java.lang.reflect.Proxy; | |
| import net.bytebuddy.ByteBuddy; | |
| import net.bytebuddy.description.modifier.Visibility; | |
| import net.bytebuddy.dynamic.DynamicType.Builder; | |
| import net.bytebuddy.implementation.FixedValue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package jp.seraphyware.example.lava8learn.jfx; | |
| import javafx.application.Application; | |
| import javafx.collections.FXCollections; | |
| import javafx.collections.ObservableList; | |
| import javafx.scene.Scene; | |
| import javafx.scene.control.ComboBox; | |
| import javafx.scene.layout.VBox; | |
| import javafx.stage.Stage; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rem VBSからショートカットをデスクトップに作成する方法 | |
| rem https://support.microsoft.com/ja-jp/help/244677/how-to-create-a-desktop-shortcut-with-the-windows-script-host | |
| dim WshShell, strDesktop, oMyShortCut | |
| set WshShell = CreateObject("WScript.Shell") | |
| strDesktop = WshShell.SpecialFolders("Desktop") | |
| set oMyShortCut = WshShell.CreateShortcut(strDesktop + "\edit setenv.cmd.lnk") |
MSys2のpython3をあらかじめ入れておく。
以下で GTK3とGladeを導入する。
pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-glade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| # pip install opencv-python | |
| # でopenvcを入れて、imshowで画像を表示できるが、 | |
| # 1. Windowのcloseボタンを押すとウィンドウは閉じるがハングする。 | |
| # 2. destroyAllWindowsで閉じたあとハングする可能性がある | |
| # ... という問題がある。 | |
| # 解決策がいくつか提示されている。 | |
| # http://louis-needless.hatenablog.com/entry/how_to_close_opencv_window_by_mouse | |
| # https://stackoverflow.com/questions/6116564/destroywindow-does-not-close-window-on-mac-using-python-and-opencv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * text=auto | |
| *.sh text eol=lf |