Unable to build MaxGUI.Win32MaxGUI in Windows 7
BlitzMax Forums/MaxGUI Module/Unable to build MaxGUI.Win32MaxGUI in Windows 7
| ||
Hey. I've come across an error when trying to build the non-XP/Vista driver on Windows 7. |
| ||
You don't have the latest source. |
| ||
That was right out of SVN today. |
| ||
That is indeed the latest, i just pulled it a few minutes ago. Im guessing it should have been CreateWindowExW instead ;) |
| ||
Hmm... unfortunately the version on the SVN seems broken. I have Windows XP SP2 and the mod won't install. The error is in the same file mentioned (win32button.cpp) but the message is differently: hwnd is not defined in this scope, or something like it. I installed the official maxgui130 and it's working fine. Could someone take a look if there's something wrong please? |
| ||
Are you using the SVN version of BlitzMax too? If not, you may have to checkout that too in order to build the latest MaxGUI SVN code. |
| ||
I'm not sure. It's been a while since I don't update anything. I'll reinstall everything from the SVN just to be sure. Thanks. |
| ||
I have copied the SVN folder of blitzmax and after trying to build modules, I have the same error of the first thread:"C:/Arquivos de programas/BlitzMax/mod/maxgui.mod/win32maxgui.mod/win32gui/win32button.cpp: In constructor `Win32Button::Win32Button(BBGroup*, int)': C:/Arquivos de programas/BlitzMax/mod/maxgui.mod/win32maxgui.mod/win32gui/win32button.cpp:21: error: cannot convert `const wchar_t*' to `const CHAR*' for argument `2' to `HWND__* CreateWindowExA(DWORD, const CHAR*, const CHAR*, DWORD, int, int, int, int, HWND__*, HMENU__*, HINSTANCE__*, void*)' Build Error: failed to compile C:/Arquivos de programas/BlitzMax/mod/maxgui.mod/win32maxgui.mod/win32gui/win32button.cpp" |
| ||
I've got my problem solved. I manually deleted all my installation folders and then copied all again from the SVN. Sorry for any trouble. :) |