のねのBlog

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

2015-11-01から1ヶ月間の記事一覧

get_glyph

pango-view Default [C/C++ Application] pango-view [55554] [cores: 0] Thread #1 [pango-view] 55554 [core: 0] (Suspended : Step) pango_fc_hb_font_get_glyph() at basic-fc.c:128 0x7ffff39b7b21 get_glyph() at hb-font-private.hh:159 0x7ffff5d519…

hb_shape

basic_engine_shape() at basic-fc.c:340 0x7ffff39b7bbf pango_shape_full() at shape.c:116 0x7ffff7bb8f7b shape_run() at pango-layout.c:3,293 0x7ffff7b9c39c process_item() at pango-layout.c:3,406 0x7ffff7b9c68d process_line() at pango-layout.…

Thai Font

Arial Unicode MS Leelawadee Leelawadee UI Microsoft Sans Serif Tahoma

build.ps1

./build.ps1 -Configuration x64 -OnlyBuild win-iconv

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

glib-2.46.2 ImportError: No module named pyexpat

Making all in gio make[2]: ディレクトリ '/home/u01/layout/oss/glib-2.46.2/gio' に入ります GEN gconstructor_as_data.h GEN gdbus-daemon-generated.c Traceback (most recent call last): File "./gdbus-2.0/codegen/gdbus-codegen.in", line 37, in <module> </module>…

glib-2.46.2 ./configure --prefix=$HOME/usr

~/layout/oss/glib-2.46.2:$ ./configure --prefix=$HOME/usr

glib-2.46.2 ./configure --help

~/layout/oss/glib-2.46.2:$ ./configure --help

make -n install

~/layout/oss/glib-2.46.2:$ make -n installconfigureのときに、pythonがうまく動いていない。 configure:7329: checking for a Python interpreter with version >= 2.5 configure:7346: python -c import sys # split strings by '.' and convert to nume…

intl.lib

libintl.h, intl.lib は gettext-0.14.tar.gz に同梱されたソースコードを使ってメイクする

".la"ファイルってなんだろう?

Under windows mingw:/lib/libfoo.dll.a # import library /lib/libfoo.a # static library /lib/libfoo.la # libtool library /bin/foo_1.dll # dll