On Wed, 29 Oct 2003 08:49:06 -0600 (CST) David Bates <[EMAIL PROTECTED]> wrote:
DB> At least I got farther on.net, I don't have the errors with me, but there DB> were over 2,000 errors with .net, what it was doing was: when it was trying DB> to link at the end of the build, just about every function came up with: DB> Unresolved external link or Unresolved external function Basically the DB> linker couldn't find the function names in the scope.. don't know if y'all DB> have seen this on .net I still didn't have time to build it myself with 7.1 but I don't see why wouldn't it work... Which functiosn didn't the linker find? wxWindows ones or something else? DB> Now with VS6, it's a lot different, I'm still having "BUILD" errors, not DB> linking errors.. here are the errors I'm getting with 6: DB> DB> F:\MyProjects\mahogany\M\src\gui\wxDialogLayout.cpp(229) : error C2039: DB> 'GetStringArray' : is not a member of 'wxArrayString' As Robert wrote, this error shouldn't happen if WXWIN_COMPATIBILITY_2_4 is set to 1 in your wx/setup.h. See include/wx/arrstr.h if you don't believe me :-) So please change it to 1 and rebuild wxWindows and M (this should happen automatically, anyhow). DB> F:\MyProjects\mahogany\M\src\gui\wxFolderTree.cpp(1319) : error C2664: DB> 'SetId' : cannot convert parameter 1 from 'int' to 'const class DB> wxTreeItemId &' Reason: cannot convert from 'int' to 'const class DB> wxTreeItemId' No constructor could take the source type, or DB> constructor overload resolution was ambiguous Same thing here, see include/wx/treebase.h (ctor from "long" is inside #if WXWIN_COMPATIBILITY_2_4). DB> AdbFrame.cpp F:\MyProjects\mahogany\M\src\adb\AdbFrame.cpp(1770) : error DB> C2664: 'Remove' : cannot convert parameter 1 from 'unsigned int' to 'const DB> char *' Conversion from integral type to pointer type requires DB> reinterpret_cast, C-style cast or function-style cast DB> F:\MyProjects\mahogany\M\src\adb\AdbFrame.cpp(1771) : error C2664: 'Remove' DB> : cannot convert parameter 1 from 'unsigned int' to 'const char *' DB> Conversion from integral type to pointer type requires DB> reinterpret_cast, C-style cast or function-style cast Although those 2 wouldn't happen neither if you had WXWIN_COMPATIBILITY_2_4 set, it is probably better to correct them in M sources anyhow, so this is what I did. BTW, I don't have anything against patches allowing compilation without WXWIN_COMPATIBILITY_2_4 set to 1 for the otherp roblems too, it's just that I think that for now it is simpler to set it to 1. DB> F:\MyProjects\mahogany\M\src\adb\AdbFrame.cpp(2464) : error C2039: DB> 'SetItemSelectedImage' : is not a member of 'wxAdbTree' DB> F:\MyProjects\mahogany\M\src\adb\AdbFrame.cpp(521) : see DB> declaration of 'wxAdbTree' Another error due to WXWIN_COMPATIBILITY_2_4 set to 0. DB> Sorry for the long message, but you all said you wanted the errors.. there DB> they are.. With the exact error messages it is trivial to understand what the problem is -- of coruse we want them. It would have been very difficult to realize that all your errors stem from wrong WXWIN_COMPATIBILITY_2_4 value without knowing what they were. Please always provide exact error messages, be they from the compiler or Mahogany. Thanks, VZ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers