質問するログイン新規登録

質問編集履歴

2

補足説明にバージョン等の追加

2018/03/14 00:53

投稿

teraboo
teraboo

スコア6

title CHANGED
File without changes
body CHANGED
@@ -46,5 +46,4 @@
46
46
  C:\MinGW\include にGxLibの各種ヘッダーファイルをいれ、
47
47
  C:\MinGW\libにGxLibの各種ライブラリーファイルをいれてg++でコンパイルするもエラーがでてtest02.exeファイルができません。バージョンのせいなのでしょうか。先に同様な投稿がありまねしましたが、うまくいきませんでした。
48
48
  ### 補足情報(FW/ツールのバージョンなど)
49
-
50
- ここにより詳細な情報を記載してください。
49
+ MinGwはhttp://sourceforge.net/projects/mingw/files/latest/download からダウンロードしたversion 6.3.0です。DXライブラリはhttp://dxlib.o.oo7.jp/dxdload.html からダウンロードしたDXライブラリ Windows版 Gnu C++( MinGW )用(Ver3.19)をダウンロードする(自己解凍形式(約27.4MB))です。プロジェクトに追加すべきファイル_GCC(MinGW)用\5_2_0_w64\x86_64の中のものを使いました。

1

折り返しの変更

2018/03/14 00:53

投稿

teraboo
teraboo

スコア6

title CHANGED
File without changes
body CHANGED
@@ -6,16 +6,11 @@
6
6
  C:\bin\program>g++ test02.cpp -I"C:\MinGW\include" -L"C:\MinGW\lib" -DDX_GCC_COMPILE -DDX_NON_INLINE_ASM -lDxLib -lDxUseCLib -lDxDrawFunc -ljpeg -lpng -lzlib -ltiff -ltheora_static -lvorbis_static -l
7
7
  vorbisfile_static -logg_static -lbulletdynamics -lbulletcollision -lbulletmath -lopusfile -lopus -ls
8
8
  ilk_common -lcelt -o test02.exe
9
- C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x7): undefined reference to `DxLib::
9
+ C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x7): undefined reference to `DxLib::DxLib_Init()'
10
- DxLib_Init()'
11
- C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x34): undefined reference to `DxLib:
10
+ C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x34): undefined reference to `DxLib::GetColor(int, int, int)'
12
- :GetColor(int, int, int)'
13
- C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x4c): undefined reference to `DxLib:
11
+ C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x4c): undefined reference to `DxLib::DrawPixel(int, int, unsigned int)'
14
- :DrawPixel(int, int, unsigned int)'
15
- C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x51): undefined reference to `DxLib:
12
+ C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x51): undefined reference to `DxLib::WaitKey()'
16
- :WaitKey()'
17
- C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x56): undefined reference to `DxLib:
13
+ C:\Users\teraj\AppData\Local\Temp\cc0p7dvJ.o:test02.cpp:(.text+0x56): undefined reference to `DxLib::DxLib_End()'
18
- :DxLib_End()'
19
14
  collect2.exe: error: ld returned 1 exit status
20
15
  ### 該当のソースコード
21
16
  test02.cpp