のねのBlog

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

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

警告 C28251 'WinMain' に対する整合性のない注釈:

警告 C28251 'WinMain' に対する整合性のない注釈: このインスタンスには 注釈なし が含まれます。 c:\program files (x86)\windows kits\10\include\10.0.17134.0\um\winbase.h(912) を参照してください。int APIENTRY WinMain(HINSTANCE hInstance, HINSTA…

警告 MSB8028

警告 MSB8028 中間ディレクトリ (Debug\) に 別のプロジェクト (vs_old.vcxproj) と共有されているファイルが含まれています。 これにより、クリーンしてリビルド動作が適切に行われない可能性があります。

intermediatestart tuple

This helper function computes the applicability region for variation tuples whose INTERMEDIATE_REGION flag is not set in the TupleVariationHeader structure. Variation tuples apply only to certain regions of the variation space; outside tha…

ハンドルが無効です。

HCBT_SETFOCUS Before HCBT_SETFOCUS Before HCBT_SETFOCUS Before HCBT_SETFOCUS Before 'Viewer.exe' (Win32): 'Viewer.exe' (Win32): 'C:\Windows\SysWOW64\vcruntime140d.dll' が読み込まれました。 PDB ファイルを開けないか、ファイルが見つかりません…

excel2017 エクセルが眩しい

ファイル>オプションをクリックし、Exceオプションを開く 基本設定タブのMicrosoft Officeユーザーの設定で Officeテーマを濃い灰色にする。 セルは、白いままなので、グレイなどにする必要がある。 情報元は、以下のページです。 usagi.hatenablog.jp

note: コンパイル対象の クラス テンプレート インスタンス化 リファレンスを確認してください

MSTESTのassertで16ビットを使おうとすると、以下のようなエラーが出る。NG Assert::AreEqual(0x0000, aaa, _T("aaa")); Assert::AreEqual(0x0000, aaa, _T("aaa"));OK Assert::AreEqual(0x0000, aaa, _T("aaa")); Assert::AreEqual(0x0000, aaa, _T("aaa"))…

jupyter notebook token

jupyter notebook listCurrently running servers: http://0.0.0.0:8888/?token=123456789abcdef :: /home/user01#

nvidia docker run

$nvidia-docker run -v /home/samba:/root/share --name test2 -di abc Unable to find image 'abc:latest' locally docker: Error response from daemon: pull access denied for abc, repository does not exist or may require 'docker login'. See 'dock…

OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \".\": executable file not found in $PATH": unknown

E: Version '1.8.11-5ubuntu7' for 'libhdf5-serial-dev' was not found

$ sudo apt-get install libhdf5-serial-dev=1.8.11-5ubuntu7 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '1.8.11-5ubuntu7' for 'libhdf5-serial-dev' was not found$ sudo apt-get install li…

d-bus error

Failed to get D-Bus connection: No connection to service manager.

ubuntu 16.04 ファイル共有

www.hiroom2.com

Conflict. The container name

$ nvidia-docker run --name test1 -p 1234:1234 -di test/project:ver1.0 docker: Error response from daemon: Conflict. The container name "/test1" is already in use by container "aaaaaa". You have to remove (or rename) that container to be ab…

Message: Failed to set up the execution context to run the test

dllだと、このエラーになるようだ。 libにしてみる。 'testhost.x86.exe' (Win32): 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\TestPlatform\testhost.x86.exe' が読み込まれました。 'testhost.x86.exe' (Wi…

/INCREMENTAL は /LTCG の指定によって無視されます。

LNK4075 /INCREMENTAL は /LTCG の指定によって無視されます。libpngをdllからlibにしたとき、表示された。 プロジェクト>プロパティ>全般 プログラム全体の最適化 ”リンク時のコード生成を使用”から”プログラム全体の最適化なし”へ変更した。 プロジェク…

Failed to set up the execution context to run the test

Failed to set up the execution context to run the testdllをやめて、スタティックに(lib)リンクするようにした。letuscplusplus.blogspot.com

sourcetreeからgithubへpush

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/user01/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" push -v --tags --set-upstream github master:mas…

LGの モニター(43UD79-B)が割れた><

モニターが地震で倒れないように、 接着用のジェルシートをつけようとして、 横に傾けた。横に傾けたとき、液晶の右下が割れてしまった。 横にしたとき、座布団の上においたのだか、マウスもおいてあった。 マウスの部分があたったらしい。デバッグするとき…

VSで、libpngのビルド

解凍したフォルダ位置 zip┳-lpng1635\lpng1635 ┣zlib1211\zlib-1.2.11ビルド用の位置 src┳-lpng1635\lpng1635 ┣zlib-1.2.11 src\lpng1635\lpng1635\projects\vstudio\のフォルダにソリューションファイルと、zlibの設定ファイル(zlib.props)がある vstudio…

ubuntu he chrome remote desktop de tunaidatoki kabegami

webnetforce.net

sudo docker

m_fujii@none11:~$ sudo docker run --runtime=nvidia --rm nvidia/cuda nvidia-smi Unable to find image 'nvidia/cuda:latest' locally latest: Pulling from nvidia/cuda 8ee29e426c26: Pull complete 6e83b260b73b: Pull complete e26b65fd1143: Pull co…

restart go

restart go $ ps ax |grep docker 2174 ? Ssl 0:00 /usr/bin/dockerd -H fd:// 2428 ? Ssl 0:00 docker-containerd --config /var/run/docker/containerd/containerd.toml 4383 pts/1 S+ 0:00 grep --color=auto docker$ sudo docker version Client: Versio…

dpkg docker

m_fujii@none11:~$ dpkg -l '*docker*' dpkg-query: no packages found matching *docker* m_fujii@none11:~$ sudo apt-get install docker-ce=18.06.1~ce~3-0~ubuntu Reading package lists... Done Building dependency tree Reading state information...…

dpkg docker

m_fujii@none11:~$ dpkg -l '*docker*' dpkg-query: no packages found matching *docker* m_fujii@none11:~$ sudo apt-get install docker-ce=18.06.1~ce~3-0~ubuntu Reading package lists... Done Building dependency tree Reading state information...…

dpkg docker

m_fujii@none11:~$ dpkg -l '*docker*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Archi…

apt-cache madison docker-ce

$ apt-cache madison docker-ce docker-ce | 2:18.09.0~ce~0.4.tp4-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test amd64 Packages docker-ce | 2:18.09.0~ce~0.3.tp3-0~ubuntu | https://download.docker.com/linux/ubuntu xenial/test …

nvidia-docker2 : Depends: docker-ce

$ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ > sudo apt-key add - OK$ curl -s -L https://nvidia.github.io/nvidia-docker/ubuntu16.04/amd64/nvidia-docker.list | \ > sudo tee /etc/apt/sources.list.d/nvidia-docker.list deb ht…

nvidia-smi

$ nvidia-smi Mon Aug 27 10:52:20 2018 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 384.130 Driver Version: 384.130 | |-------------------------------+----------------------+------------------…

[dockernvidia-smi: command not found

~$ nvidia-smi nvidia-smi: command not foundqiita.com

ubuntu16.04ni docker install

$ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common Reading package lists... Done Building dependency tree Reading state information... Done apt-transport-https is already the newest version (1.2.27).…