nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

#914 MYSQL module build problems, #2640

Open nikhilgupta10 opened 7 years ago

nikhilgupta10 commented 7 years ago

In Hatwai (Version 3.1) the MySQL module is not compiled in. You can build your own version but there are number of settings that you must manually make in the mysql project in VS2005 to enable the module. 1) Add HAVE_MYSQL to the Preprocessor Settings. 2) Add the path to your MySQL Connector C include to your Include Path. 3) Add libmysql.lib to your linker dependencies. 4) Add the path to your MySQL Connector C library folder to your Library Search Path. 5) Copy libmysql.dll to your GridLAB-D executable/library folder. There is also a typo in configure.bat at line 190. And the mysql_vsprops call doesn't work at all.,

nikhilgupta10 commented 7 years ago

nikhilgupta10 imported these comments from Sourceforge: The user dchassin does not exist anymore. Therefore assigning this to afisher1. "dchassin":Also noticed that source files in MySQL module don't include config_external.h, which is why it does get compiled in even when it find MySQL connector on the build system. ,

"dchassin":- status: new --> accepted