トップページ > 記事閲覧
「DxLib.h: No such file or directory」というエラーが出ます
名前:papiko 日時: 2022/09/28 16:09

初めまして。調べてもどうにも動かず、質問させていただきました。 質問内容としては、こちらの記事とまったく同じです。 (http)dxlib.xsrv.jp/cgi/patiobbs/patio.cgi?mode=view&no=5141 記事タイトル:VScode + gcc でDXライブラリの環境構築 VScodeでgccを使って環境構築を行ってみたのですが、「DxLib.h: No such file or directory」とエラーが出てしまい、どうやらパスがきちんと読み込まれていないようです。 上記記事の質問者様は、パスに「C:」を付けたところ解決したとのことですが、自分はそれでも同様のエラーが出続けてしまいます。 また、ソースコードもこちらの質問者様を真似させて頂いたりもしましたが、動きません。 何か、事前に登録作業が必要なこと等はございますでしょうか。 DxLib.hのファイルパスは以下の通りですが、問題ございますでしょうか。 C:\8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\DxLib.h 他に必要な情報等ございましたら、お声がけいただけますと幸いです。 突然の質問で申し訳ありません。 何卒宜しくお願いいたします。
メンテ

Page: 1 |

Re: 「DxLib.h: No such file or directory」というエラーが出ます ( No.1 )
名前:papiko 日時:2022/09/28 17:16

五月雨式ですみません。 エラー内容は以下の通りで、調べたところ32bitと64bitのアンマッチによるものだそうでした。 使用しているDXライブラリはGCC用の「8_1_0_i686_w64_posix_dwarf_rt_v6_rev0」です。 よろしくお願いいたします。 ========================================== 【エラー内容】 C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libDxLib.a when searching for -lDxLib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libDxLib.a when searching for -lDxLib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libDxLib.a when searching for -lDxLib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lDxLib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libDxUseCLib.a when searching for -lDxUseCLib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libDxUseCLib.a when searching for -lDxUseCLib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libDxUseCLib.a when searching for -lDxUseCLib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lDxUseCLib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libDxDrawFunc.a when searching for -lDxDrawFunc C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libDxDrawFunc.a when searching for -lDxDrawFunc C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libDxDrawFunc.a when searching for -lDxDrawFunc C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lDxDrawFunc C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libjpeg.a when searching for -ljpeg C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libjpeg.a when searching for -ljpeg C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libjpeg.a when searching for -ljpeg C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ljpeg C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libpng.a when searching for -lpng C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libpng.a when searching for -lpng C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libpng.a when searching for -lpng C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpng C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libzlib.a when searching for -lzlib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libzlib.a when searching for -lzlib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libzlib.a when searching for -lzlib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lzlib C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libtiff.a when searching for -ltiff C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libtiff.a when searching for -ltiff C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libtiff.a when searching for -ltiff C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ltiff C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libtheora_static.a when searching for -ltheora_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libtheora_static.a when searching for -ltheora_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libtheora_static.a when searching for -ltheora_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ltheora_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libvorbis_static.a when searching for -lvorbis_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libvorbis_static.a when searching for -lvorbis_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libvorbis_static.a when searching for -lvorbis_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lvorbis_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libvorbisfile_static.a when searching for -lvorbisfile_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libvorbisfile_static.a when searching for -lvorbisfile_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libvorbisfile_static.a when searching for -lvorbisfile_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lvorbisfile_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libogg_static.a when searching for -logg_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libogg_static.a when searching for -logg_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libogg_static.a when searching for -logg_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -logg_static C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libbulletdynamics.a when searching for -lbulletdynamics C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libbulletdynamics.a when searching for -lbulletdynamics C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libbulletdynamics.a when searching for -lbulletdynamics C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbulletdynamics C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libbulletcollision.a when searching for -lbulletcollision C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libbulletcollision.a when searching for -lbulletcollision C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libbulletcollision.a when searching for -lbulletcollision C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbulletcollision C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libbulletmath.a when searching for -lbulletmath C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libbulletmath.a when searching for -lbulletmath C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libbulletmath.a when searching for -lbulletmath C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbulletmath C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libopusfile.a when searching for -lopusfile C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libopusfile.a when searching for -lopusfile C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libopusfile.a when searching for -lopusfile C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopusfile C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libopus.a when searching for -lopus C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libopus.a when searching for -lopus C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libopus.a when searching for -lopus C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopus C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libsilk_common.a when searching for -lsilk_common C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libsilk_common.a when searching for -lsilk_common C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libsilk_common.a when searching for -lsilk_common C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsilk_common C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libcelt.a when searching for -lcelt C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0\libcelt.a when searching for -lcelt C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/8_1_0_i686_w64_posix_dwarf_rt_v6_rev0/libcelt.a when searching for -lcelt C:/Program Files/x86_64-8.1.0-release-posix-sjlj-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcelt collect2.exe: error: ld returned 1 exit status
メンテ
Re: 「DxLib.h: No such file or directory」というエラーが出ます ( No.2 )
名前:管理人 日時:2022/09/28 23:40

8.1.0 に関しては 32bit用のファイルしか無いので、64bit用のファイルを追加しようと思います お使いのMinGWはどちらからダウンロードされたものか教えて頂けますでしょうか? m(_ _)m ( ダウンロードされたウェブサイトのURLなど )
メンテ
Re: 「DxLib.h: No such file or directory」というエラーが出ます ( No.3 )
名前:papiko 日時:2022/09/29 10:12

お返事いただきありがとうございます。 ファイル追加していただけるとのこと、本当に本当にありがとうございます!! bitの問題であればあきらめるしかないのか…。と迷っていたので、本当に嬉しいです!! 利用しているMinGWは以下URLからインストールいたしました。 ■URL  (https)://sourceforge.net/projects/mingw-w64/files/?source=navbar ■バージョン  MinGW-W64 GCC-8.1.0  (具体的なインストールファイル:x86_64-posix-sjlj) ■参考  以下サイトの指示に従いインストールを進めました  (https)://home.hiroshima-u.ac.jp/tjohzaki/rgdl_html/programming/gfortran_install2.htm お忙しいところ、お手数おかけいたしますが、何卒よろしくお願いいたします。
メンテ
Re: 「DxLib.h: No such file or directory」というエラーが出ます ( No.4 )
名前:管理人 日時:2022/09/30 05:08

ご返答いただきありがとうございます 載せていただいたURLからダウンロードした MinGW 8.1.0 64bit版でビルドした ライブラリファイルを含めた MinGW版DXライブラリをこちらにアップしましたので よろしければダウンロードしてください m(_ _)m https://dxlib.xsrv.jp/temp/DxLibGCC_MinGWTest.zip // Windows版 MinGW 用 ↑ こちらの zip ファイルの中には今回新たに 8_1_0_x86_64_posix_sjis_rt_v6_rev0 という名前のフォルダが追加されていまして、こちらが 8.1.0 の 64bit用となりますので よろしければお試しください m(_ _)m
メンテ
Re: 「DxLib.h: No such file or directory」というエラーが出ます ( No.5 )
名前:papiko 日時:2022/09/30 09:51

ご対応頂き、ありがとうございます! 追加頂いたライブラリを使用したところ、無事エラーが解消されゲーム画面が起動しました。 これで、ゲーム作成に取り掛かかることができます。 本当にありがとうございました! ステキなゲームが作れるよう頑張ります。
メンテ

Page: 1 |

題名
名前
コメント
パスワード (記事メンテ時に使用)

   クッキー保存