プログラミング-エラー
pythonのモジュールを作成する時にgccでエラーが出て止まった. macOS 10.15.2 anaconda3-5.3.1をpyenvで入れている limits.h: No such file or directory error: command 'gcc' failed with exit status 1 のようなエラー. 原因はXcodeのgccとcondaのgccが入…
C++でリンクをした際にでたエラーについて class Hogeを作成した際にでてきたエラー // hoge.h class Hoge{ ... public: Hoge() {}; ... virtual void func(); ... virtual ~Hoge(){}; }; のようなクラス定義をした。hoge.cppもこれに合うように作成した。 …
centosを再起動した後にnvidia-smiをすると以下のエラーが出た。 $ nvidia-smi Failed to initialize NVML: Driver/library version mismatch いくつか対応策はあるが以下が助けになった。 Failed to initialize NVML: Driver/library version mismatch - CU…
macOSでgccをすると、 ...include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directoryこんな感じのエラーに出会うことがあると思います。 パスがうまく通っていないことが原因です。 解決法 こんな感じ(versionは異なる)のファイル…
エラー内容 環境:MacOS Mojave 文字列を出力するだけのC++のコードをコンパイル > g++ -std=gnu++11 sample.cpp とすると、以下のwarningが出る warning: section "__textcoal_nt" is deprecated.section __TEXT,__textcoal_nt,coalesced,pure_instructions …