将棋プログラミング

(将棋に関する)ソフトウェア開発のノウハウ等。

2018-01-01から1年間の記事一覧

AlphaZero の棋譜をデータベースで解析する

AlphaZero の棋譜が公開されました。 この棋譜を柿木将棋IXに付属している棋譜データベースで解析する方法を説明します。 1.AlphaZero の棋譜の入手 次のサイトの "100 AlphaZero-Elmo games (.zip file)." をダウンロードし、展開します。拡張子が .csa …

error: Invalid bitcode signature

iOS

Xcode 9.2 でビルドしたとき、次のエラーが表示された。 error: Invalid bitcode signatureProduct / Clean で解決した。qiita.com

コンピューターに mfc140.dll がないため、プログラムを開始できません。

ScanSnap iX1500 のセットアップ中に起きた問題を記録しておく。scansnap/d/ からセットアップするように表示されたが、これは、次の URL にアクセスする。スキャナーScanSnap ドライバダウンロード : 富士通ScanSnap と接続する際に、次のエラーが表示され…

iOS版 Twitter Kit: Attempt made to Log in or Like a Tweet without a valid Twitter Kit URL Scheme set up in the app settings.

iOS

iOS版アプリに Twitter Kit を組み込んだ。 インストール方法は、次に説明がある。 github.comまず、次のエラーが表示され、動作対象を iOS 9.0 以降にしないといけなかった。 error: "TwitterKit doesn't support iOS 8.x and lower. Please, change your m…

Twitter apps dashboard: Error You must add your mobile phone to your Twitter profile before creating an application.

Twitter を使うアプリを開発する際、Twitter apps dashboard にアプリを登録する。 今回、新しいアプリを登録しようとすると、次のエラーになった。 Error You must add your mobile phone to your Twitter profile before creating an application. Please …

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application

Androidアプリ開発中に、次のコードを書き、 AlertDialog.Builder ad = new AlertDialog.Builder(getApplicationContext()); 次のエラーが発生した。 android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an appl…

java.lang.NumberFormatException: Invalid int:

最近、Androidアプリ開発中に、サーバから受信したデータを数値化するため、次のコードを書いた。 String str; // サーバから受信したデータ int int_value = Integer.parseInt(str); 実行すると、次の例外が発生した。 java.lang.NumberFormatException: In…