#bigwheel #mtakagi #akagi #fairgroundattraction #rollercoaster #華蔵寺公園 の #大観覧車 に乗りました。 #赤城山 は大きすぎてフレームに収まらない😅 #ジェットコースター だって、これでも昔は結構スリリングでしたよね。 ライドは、70円から乗れます。 駐車場はフリーだし、走り回れる公園もあり、お子様連れで賑わっていました。 (at 華蔵寺公園遊園地) https://www.instagram.com/p/CYce1tFPyi6/?utm_medium=tumblr
2 notes
·
View notes
Initial D Stage 8 Mt.Akagi in the Evo 4. No one can beat me on the downhill 😎😂. #initald #arcade #gaming #mtakagi #mitsubishi #evo4 #Thrustmaster #drifting #racing #jdm
https://www.instagram.com/p/BoKI7sRAXnv/?utm_source=ig_tumblr_share&igshid=azesui6b5uy3
1 note
·
View note
赤城山IRORI場でいっぷく。 ロールケーキとコーヒーのセットを。 最近主流のフワフワ生地にクリームたっぷりって感じではなく、昔ながらの生地感とそれを美味しく味わうことができる量のクリーム。甘すぎないケーキがマイルドな酸味のコーヒーを引き立てる。 #iroriba #irori場 #ロールケーキ #コーヒー #苺のロールケーキ #生地とクリームのバランスは大事 #群馬 #前橋 #赤城山 #赤城 #カフェ #gunma #maebashi #mtakagi #cafe #rollcake #coffee #cake #strawberrycake (Maebashi, Gumma) https://www.instagram.com/p/B9LekDsH3XN/?igshid=atn2v4d969l1
0 notes
2020年度版 PhantomJS のビルド(macOS篇)
2020年度版 PhantomJS のビルド
何故か今になって PhontomJS をビルドしていみる。
下��備
Xcode はインストール済みとする
QT5 のインストール
ここは簡単Honebrewを使用してインスールするだけ
brew install qt5
これで全て上手く行く。ここまでは。
QTWebKit のビルド
この GitHub Wiki Building QtWebKit on macOS を参考にビルド
必要なもの
git clone https://github.com/qtwebkit/qtwebkit.git
QTWebKit のリポジトリをクローン
brew install conan
パッケージマネージャのインストール (pip3 install conan でもインストール可能)
ビルド
Tools/qt/build-qtwebkit-conan.py --qt=<path_to_your_qt_installation> [--install]
--install オプションとして渡すと指定した QT のパスにインストールされる
Homebrew でインストールされた QT のパスにインストールする場合は以下のようになる
Tools/qt/build-qtwebkit-conan.py --qt=/usr/local/Cellar/qt/5.15.1 --install
しかし WebKit のビルドなので相当ビルド時間がかかる。詳細は後述するが、生成された QtWebKit.Framework などのリンクパスがおかしかったりした。
PhantomJS のビルド
git clone https://github.com/ariya/phantomjs.git で Git からクローンし phontomjs ディレクトリに移動
CMake の Find_Package が検索するパスに QT の CMake ファイルが含まれるように export CMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.15.1 を設定して ./configure
しかし
CMake エラー
Checking file [/usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5/Qt5Config.cmake] Checking file [/usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5Core/Qt5CoreConfig.cmake] Checking file [/usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5Network/Qt5NetworkConfig.cmake] Checking file [/usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfig.cmake] Checking file [/usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5WebKit/Qt5WebKitConfig.cmake] Checking file [/usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake] CMake Error at /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5WebKit/Qt5WebKitConfig.cmake:100 (get_target_property): get_target_property() called with non-existent target "Qt5::WebKit". Call Stack (most recent call first): /usr/local/Cellar/cmake/3.12.2/share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package) /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfig.cmake:83 (find_dependency) /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package) CMakeLists.txt:6 (find_package) CMake Error at /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5WebKit/Qt5WebKitConfig.cmake:101 (get_target_property): get_target_property() called with non-existent target "Qt5::WebKit". Call Stack (most recent call first): /usr/local/Cellar/cmake/3.12.2/share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package) /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfig.cmake:83 (find_dependency) /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package) CMakeLists.txt:6 (find_package) CMake Error at /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5WebKit/Qt5WebKitConfig.cmake:118 (get_target_property): get_target_property() called with non-existent target "Qt5::WebKit". Call Stack (most recent call first): /usr/local/Cellar/cmake/3.12.2/share/cmake/Modules/CMakeFindDependencyMacro.cmake:48 (find_package) /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfig.cmake:83 (find_dependency) /usr/local/Cellar/qt/5.15.1/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package) CMakeLists.txt:6 (find_package)
とエラーが発生。しかたなく QT5::WebKit となっている箇所を QT5::WebKitLegacy と書き換える事で対応。再度 ./configure && make
export CMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.15.1; ./configure && make
あとはできあがった bin/phnatomjs を実行できれば OK なのだが……
とりあえずの仕上げ
エラーで動作しない!
実行しようとすると
Scanning dependencies of target check FATAL: Version check failed ## dyld: Library not loaded: QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets ## Referenced from: /Users/mtakagi/Downloads/phantomjs/bin/phantomjs ## Reason: image not found
とあえなく表示されエラーで動作せず。
otool -l でリンクされているフレームワークを調べる。
otool -L bin/phantomjs bin/phantomjs: /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.0.0) QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets (compatibility version 5.212.0, current version 5.212.0) /usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets (compatibility version 5.15.0, current version 5.15.1) QtWebKit.framework/Versions/5/QtWebKit (compatibility version 5.212.0, current version 5.212.0) /usr/local/opt/qt/lib/QtNetwork.framework/Versions/5/QtNetwork (compatibility version 5.15.0, current version 5.15.1) /usr/local/opt/qt/lib/QtGui.framework/Versions/5/QtGui (compatibility version 5.15.0, current version 5.15.1) /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore (compatibility version 5.15.0, current version 5.15.1) /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 800.7.0)
QtWebKitWidgets.Frameworks と QtWebKit.framework/Versions/5/QtWebKit のパスがカレントからロードされるようにみえる。 そこで install_name_tool を使用しリンクパスを修正する事にした。
リンクしたフレームワークのパスの変更
install_name_tool を使用しphantomjsのリンクを以下のように修正
install_name_tool -change QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets /usr/local/opt/qt/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets bin/phantomjs install_name_tool -change QtWebKit.framework/Versions/5/QtWebKit /usr/local/opt/qt/lib/QtWebKit.framework/Versions/5/QtWebKit bin/phantomjs
しかし phantomjs を実行しようとすると無情にも
FATAL: Version check failed ## dyld: Library not loaded: QtWebKit.framework/Versions/5/QtWebKit ## Referenced from: /usr/local/Cellar/qt/5.15.1/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets ## Reason: image not found ## exit -6
ビルドした QTWebKtWidgets のロードするフレームワークがパスおかしかったのです。そこで再度QtWebKitWidgets に install_name_tool で以下のように修正したところ
install_name_tool -change QtWebKit.framework/Versions/5/QtWebKit /usr/local/opt/qt/lib/QtWebKit.framework/Versions/5/QtWebKit /usr/local/Cellar/qt/5.15.1/lib/QtWebKitWidgets.framework/Versions/5/QtWebKitWidgets
一通り完了
var sys = require("system") sys.stdout.write("hello, world!"); phantom.exit();
実行成功?
bin/phantomjs hello.js hello, world!%
1 note
·
View note
再度Chromebook にインストールしたもの
インストールしたもの
nasm
make
qemu-system
bocsh
gitkraken
python
VS-Code
ログ https://gist.github.com/mtakagi/da7d7262a2448f38739642365e544d26
0 notes
https://gist.github.com/mtakagi/24368fb8a1592a89849e0d84cc1c3790
やっぱり結構違う。
0 notes
セイレム攻略の合間に実装した Swift 4 の Codable 実験用の MessagePackEncoder の encode 方だけが動くようになりました。。。
0 notes