- D言語 Part34©2ch.net
135 :デフォルトの名無しさん[]:2015/03/30(月) 23:00:53.68 ID:QPp3Flh2 - wxDを使えている人に質問です。windows上でmingwからwxDをコンパイルしようとすると、wxWidgetsのコンパイルまでは成功したのですが
、wxDのコンパイルで以下のようなエラーがでます。 export PATH=/e/D/dmd2/windows/bin:/e/D/dm/bin:$PATH export WXDIR=/e/D/wxWidgets-2.8.12 make dmc -D__DMD__ -mn -g -o+none -D____ -D__WXDEBUG__ -Ie:/D/wxWidgets-2.8.12\inclu de -Ie:/D/wxWidgets-2.8.12\lib\dmc_lib\mswd -w- -I. -WA -DNOPCH -HP90 -Ar -Ae -HP99 -c -oaccel.obj accel.cpp virtual ~name() \ ^ local_events.h(49) : Error: storage class is illegal in this context { \ ^ local_events.h(50) : Error: illegal constructor or destructor or invariant decla ration ProcessEvent(e); \ ^ local_events.h(52) : Error: undefined identifier 'ProcessEvent' } ^ local_events.h(53) : Warning 18: implied return of name at closing '}' does not return value void RegisterDispose(Virtual_Dispose onDispose) { m_onDispose = onDispose; } \ ^ local_events.h(67) : Error: undefined identifier 'm_onDispose', did you mean 'on Dispose'? virtual ~name() { m_onDispose(this); } \ ^ local_events.h(68) : Error: storage class is illegal in this context Fatal error: too many errors --- errorlevel 1 --- errorlevel 1 --- errorlevel 1
| - D言語 Part34©2ch.net
136 :デフォルトの名無しさん[]:2015/03/30(月) 23:02:22.58 ID:QPp3Flh2 - dmd 2.067.0, dmd 2.054
wxWidgets-2.8.12 wxd 0.16 dmd 2.067.0, 2.054どちらでもエラー内容は同じでした。何が問題なのでしょうか?
|
|