のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2015-11-26から1日間の記事一覧

PS C:\gtk-build\git-hub\gtk-win32> Get-Help -Full .\build.ps1

PS C:\gtk-build\git-hub\gtk-win32> Get-Help -Full .\build.ps1 名前 C:\gtk-build\git-hub\gtk-win32\build.ps1 概要 This is a build script to build GTK+ 2 and openssl. 構文 C:\gtk-build\git-hub\gtk-win32\build.ps1 [[-Configuration] <String>] [-Disabl</string>…

Fatal Python error: Py_Initialize: unable to load the file system codec

>python Fatal Python error: Py_Initialize: unable to load the file system codec File "c:\Python27\\lib\encodings\__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntaxPYTHONPATHを消したら動いた。

pacman -Rsc mingw-w64-x86_64-gcc

$ pacman -Rsc mingw-w64-x86_64-gcc 依存関係を確認しています... パッケージ (8) mingw-w64-x86_64-gcc-ada-5.2.0-4 mingw-w64-x86_64-gcc-fortran-5.2.0-4 mingw-w64-x86_64-gcc-objc-5.2.0-4 mingw-w64-x86_64-isl-0.14.1-2 mingw-w64-x86_64-mpc-1.0.3-…

pacman -S mingw-w64-x86_64-glib2

~/layout/oss/pango-1.38.1:$ pacman -S mingw-w64-x86_64-glib2 依存関係を解決しています... 衝突するパッケージがないか確認しています... パッケージ (1) mingw-w64-x86_64-glib2-2.46.2-1 合計ダウンロード容量: 2.86 MiB 合計インストール容量: 19.73 …

chcp

~/layout/oss:$ /c/windows/system32/chcp 65001 Active code page: 65001~/layout/oss:$ lib Microsoft (R) Library Manager Version 12.00.31101.0 Copyright (C) Microsoft Corporation. All rights reserved. &#9618;g&#9618;&#9618;&#9618;&#9618;: LIB…

.lib/*.dllを生成するときは,vcvarsall.bat(Visual Studio コマンド プロンプト)を起動し,その画面のままMSYSのフォルダへ移動する.

msys.batを起動する.ffmpegフォルダへ移動し,./configure ?enable-postproc ?disable-ffserver ?disable-ffplay ?disable-ffprobe ?enable-w32threads ?extra-ldflags=-static ?extra-cflags=”-mtune=core2 -mfpmath=sse -msse3″ ?optflags=”-O2 -finline-…

pkg-config

MINGW64 ~/layout/oss/pango-1.38.1 $ pkg-config --list-all isl isl - isl Library gnurx regex - Regular Expressions library formw formw - ncurses 6.0 add-on library menuw menuw - ncurses 6.0 add-on library python2 Python - Python library pan…

.bashrc

export PS1="\w:$ " alias vi=vim export PYTHONHOME=/mingw64 export PYTHONPATH=/mingw64/lib/python2.7:$PYTHONPATH

pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime

MSYS ~ $ pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime :: パッケージデータベースの同期中... mingw32 224.1 KiB 483K/s 00:00 [#####################] 100% mingw32.sig 96.0 B 0.00B/s 00:00 [#####################] 100% mingw64 22…

minttyのスクロール

以下のキーで端末のスクロールができた。 Shift + Page Up Key Shift + Page Down Key

toolchain

pacman -S mingw-w64-x86_64-toolchain $ pacman -S mingw-w64-x86_64-toolchain :: 16 のパッケージがグループ mingw-w64-x86_64-toolchain にあります: :: リポジトリ mingw64 1) mingw-w64-x86_64-binutils 2) mingw-w64-x86_64-crt-git 3) mingw-w64-x86…

vimのインストール

VIM をインストールするには次のようにする。$ pacman -S vim

gtk prebuild

Microsoft Visual C++ Redistributable Package for Visual Studio 2015 GTK+ bundle 32-bit 64-bit vcredist_x86.exe - 32-bit vcredist_x64.exe - 64-bit

lib

$pexports build_space/bin/liblapacke.dll > build_space/lapacke/liblapacke.def $lib /MACHINE:X64 /DEF:build_space/lapacke/liblapacke.def $move liblapacke.* build_space/lib

gccをインストールしないでconfigureを実行してみた。

gccをインストールしないでconfigureを実行してみた。 ~/layout/oss/pango-1.38.1 $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p..…

エラー: 新しいプロセスをフォークできません

ターミナルを再起動して、もう一度アップデートした。 ~:$ pacman -Syu

pacman -Syu 同期と更新

# pacman -Syu Sは--sync(同期)、yは--refresh(リポジトリデータベースと同期)、uは--upgrades(更新)です。

pacmanの色をつけるには

pacman.conf の中の "Color" という行をアンコメントしてください。

msysでユーザー名を変える方法は?

ユーザー名は、簡単に変えれないみたいです。 HOMEの位置だけ変更することにした。 export HOME=/home/u01