MySQL Forums
Forum List  »  MySQL Workbench

Problems building 5.0.29 on Windows XP
Posted by: Jon
Date: February 05, 2009 09:19AM

Hey folks,

So I unpacked the two zipfiles (mysql-workbench-oss-5.0.29.zip, mysql-workbench-externals-1157-win32.zip) alongside each other per the README, opened the solution file in VS2005, selected x86, Debug and rebuilt the solution.

I wind up with about 79 errors, mostly to do with:

Error 2 error C2504: 'Db_plugin' : base class undefined c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.h 10

and various errors related to that. I couldn't find any definition of Db_plugin in the source tree - only references to it.

There are others, such as line 43 in c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp, where a "cout" line is sitting between method definitions, generating a number of errors on its own.

Is the code that's posted for download the very same code that's used to build the releases? Is anything missing that will prevent a build? Are any other packages required to build (even if they might be obvious to some)? What else does one need to do to build?

My Visual Studio:

Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727 SP2

Cheers!
Jon


PS: Full error list:

Error 2 error C2504: 'Db_plugin' : base class undefined c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.h 10
Error 3 error C2143: syntax error : missing ';' before '<<' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 43
Error 4 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 43
Error 5 error C2371: 'std::cout' : redefinition; different basic types c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 43
Error 6 error C2614: 'DbMySQLSync' : illegal member initialization: 'Db_plugin' is not a base or member c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 46
Error 7 error C2039: 'grtm' : is not a member of 'DbMySQLSync' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 47
Error 8 error C2064: term does not evaluate to a function taking 1 arguments c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 47
Error 9 error C2065: '_catalog' : undeclared identifier c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 48
Error 10 error C2065: '_grtm' : undeclared identifier c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 48
Error 11 error C2227: left of '->get_grt' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 48
Error 12 error C2227: left of '->get' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 48
Error 13 error C3861: 'sql_script': identifier not found c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 65
Error 14 error C2653: 'Db_plugin' : is not a class or namespace name c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.cpp 66
Error 15 error C2504: 'Db_plugin' : base class undefined c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\backend\db_mysql_sql_sync.h 10
Error 16 error C2504: 'Db_plugin' : base class undefined c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\windows\wrapper\db_mysql_sql_sync_wrapper.h 28
Error 17 error C2614: 'MySQL::GUI::Workbench::Plugins::DbMySQLSync::DbMySQLSync' : illegal member initialization: 'Db_plugin' is not a base or member c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\windows\wrapper\db_mysql_sql_sync_wrapper.cpp 17
Error 18 error C2614: 'MySQL::GUI::Workbench::Plugins::DbMySQLSync::DbMySQLSync' : illegal member initialization: 'Db_plugin' is not a base or member c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.sync\windows\wrapper\db_mysql_sql_sync_wrapper.cpp 24
Error 20 error C2039: 'Db_plugin' : is not a member of 'MySQL::GUI::Workbench::Plugins::Db' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 22
Error 21 error C2143: syntax error : missing ';' before '^' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 22
Error 22 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 22
Error 23 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 22
Error 24 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 22
Error 25 error C2039: 'Db_plugin' : is not a member of 'MySQL::GUI::Workbench::Plugins::Db' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 48
Error 26 error C2143: syntax error : missing ';' before '^' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 48
Error 27 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 48
Error 28 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 49
Error 30 error C2039: 'Db_plugin' : is not a member of 'MySQL::GUI::Workbench::Plugins::Db' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 51
Error 31 error C2143: syntax error : missing ';' before '^' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 51
Error 32 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 51
Error 33 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 52
Error 35 error C2065: 'left_db' : undeclared identifier c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 29
Error 36 error C2039: 'Db_plugin' : is not a member of 'MySQL::GUI::Workbench::Plugins::Db' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 29
Error 37 error C2061: syntax error : identifier 'Db_plugin' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 29
Error 38 error C2065: 'right_db' : undeclared identifier c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 30
Error 39 error C2039: 'Db_plugin' : is not a member of 'MySQL::GUI::Workbench::Plugins::Db' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 30
Error 40 error C2061: syntax error : identifier 'Db_plugin' c:\work\mwb\mysql-workbench-5.0.29\plugins\db.mysql.diff.reporting\windows\wrapper\db_mysql_diff_reporting_wrapper.h 30
Error 41 fatal error LNK1181: cannot open input file '..\..\..\..\bin\debug\wb.model.reporting.wbp.be.lib' wb.model.reporting.wbp.wr
Error 42 fatal error LNK1104: cannot open file '..\..\..\..\bin\debug\wb.printing.wbp.be.lib' wb.printing.wbp.wr
Error 43 error C2039: 'add_new_role' : is not a member of 'wb::WBComponentPhysical' c:\work\mwb\mysql-workbench-5.0.29\backend\workbench\unit-tests\wb_lowlevel_test.cpp 264
Error 44 error C2039: 'add_new_role' : is not a member of 'wb::WBComponentPhysical' c:\work\mwb\mysql-workbench-5.0.29\backend\workbench\unit-tests\wb_lowlevel_test.cpp 265
Error 45 error C2065: 'Db_rev_eng' : undeclared identifier c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 110
Error 46 error C2146: syntax error : missing ';' before identifier 'db_rev_eng' c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 110
Error 47 error C2065: 'db_rev_eng' : undeclared identifier c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 110
Error 48 error C2228: left of '.grtm' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 111
Error 49 error C2228: left of '.db_conn' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 112
Error 50 error C2227: left of '->init' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 112
Error 51 error C2228: left of '.db_conn' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 113
Error 52 error C2227: left of '->set_active_rdbms' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 113
Error 53 error C2228: left of '.db_conn' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 114
Error 54 error C2227: left of '->set_active_driver' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 114
Error 55 error C3861: 'Void_void_cb': identifier not found c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 114
Error 56 error C3861: 'Create_control_cb': identifier not found c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 114
Error 57 error C2065: 'Db_driver_params' : undeclared identifier c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 116
Error 58 error C2065: 'dp' : undeclared identifier c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 116
Error 59 error C2228: left of '.db_conn' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 116
Error 60 error C2227: left of '->get_db_driver_param_handles' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 116
Error 61 error C2227: left of '->get' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 117
Error 62 error C2227: left of '->set_value' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 117
Error 63 error C2227: left of '->get' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 118
Error 64 error C2227: left of '->set_value' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 118
Error 65 error C2227: left of '->get' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 119
Error 66 error C2227: left of '->set_value' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 119
Error 67 error C2227: left of '->get' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 120
Error 68 error C2227: left of '->set_value' must point to class/struct/union/generic type c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 120
Error 69 error C2228: left of '.load_schemata' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 126
Error 70 error C2228: left of '.schemata_selection' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 140
Error 71 error C2228: left of '.load_db_objects' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 141
Error 72 error C2228: left of '.load_db_objects' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 142
Error 73 error C2228: left of '.load_db_objects' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 143
Error 74 error C2228: left of '.load_db_objects' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 144
Error 75 error C2228: left of '.model_catalog' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 152
Error 76 error C2228: left of '.start_import' must have class/struct/union c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 153
Error 77 error C3861: 'Process_task_msg_cb': identifier not found c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 153
Error 78 error C3861: 'Process_task_finish_cb': identifier not found c:\work\mwb\mysql-workbench-5.0.29\library\grt\unit-tests\diff\grtdiff_alter_test.cpp 153
Error 79 The referenced assembly "c:\work\mwb\mysql-workbench-5.0.29\Bin\Debug\db.mysql.sync.wbp.wr.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. db.mysql.sync.wbp.fe
Error 80 The referenced assembly "c:\work\mwb\mysql-workbench-5.0.29\Bin\Debug\wb.model.reporting.wbp.wr.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. wb.model.reporting.wbp.fe
Error 81 The referenced assembly "c:\work\mwb\mysql-workbench-5.0.29\Bin\Debug\db.mysql.diff.reporting.wbp.wr.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. db.mysql.diff.reporting.wbp.fe
Error 82 The referenced assembly "c:\work\mwb\mysql-workbench-5.0.29\Bin\Debug\db.mysql.sync.wbp.wr.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. db.mysql.diff.reporting.wbp.fe
Error 83 The referenced assembly "c:\work\mwb\mysql-workbench-5.0.29\Bin\Debug\wb.printing.wbp.wr.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. wb.printing.wbp.fe

Options: ReplyQuote


Subject
Views
Written By
Posted
Problems building 5.0.29 on Windows XP
5259
Jon
February 05, 2009 09:19AM
3492
February 13, 2009 12:57PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.