Rebuilding Moduels

BlitzMax Forums/BlitzMax Programming/Rebuilding Moduels

Sarge(Posted 2005) [#1]
"Rebuilding Modules"

Why do i get this error when i rebuild the module, i need a fix so i can rebuild my modules.

Compiling:win32htmlview.cpp
C:/Program Files/BlitzMax/mod/brl.mod/win32maxgui.mod/win32gui/win32htmlview.cpp:39: error: redefinition of `struct IHTMLFramesCollection2'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mshtml.h:461: error: previous definition of `struct IHTMLFramesCollection2'
C:/Program Files/BlitzMax/mod/brl.mod/win32maxgui.mod/win32gui/win32htmlview.cpp:57: error: redefinition of `struct IHTMLWindow2'
c:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/mshtml.h:478: error: previous definition of `struct IHTMLWindow2'
Build Error: failed to compile C:/Program Files/BlitzMax/mod/brl.mod/win32maxgui.mod/win32gui/win32htmlview.cpp



ziggy(Posted 2005) [#2]
I have the same error


tonyg(Posted 2005) [#3]
You're not the only one


Yan(Posted 2005) [#4]
Dunno if it makes any difference, but are you all using GCC-3.4.2?

I'm having no problems with GCC-3.2.3 (standard MinGW-3.1.0 install)


WendellM(Posted 2005) [#5]
^ MinGW 3.1.0 works fine here as well. Using it seems to be the answer (for now).