nikhilgupta10 / GridLAB-D

Other
1 stars 0 forks source link

#675 The build dependency in VS2005 is not correct, #2415

Closed nikhilgupta10 closed 7 years ago

nikhilgupta10 commented 7 years ago

When you download trunk fresh the build does not work in VS2005.

The modules need to be built in the following order:

xerces,pthreads -> core -> (cblas -> superlu),glxsolvers,gllinks -> modules

Also, the matlab link, mysql, network, and tape_obdc won't build unless the correct tools are already installed. That should be detected by the build.

,

nikhilgupta10 commented 7 years ago

nikhilgupta10 imported these comments from Sourceforge: "dchassin": * description modified (diff)

Fixed. Also disabled java, mysql, cppunit, gldeditor and plc while I was at it. See r3761.

Validate should verify that it builds in the right order from clean download on all 4 VS builds.

,

"jcfuller":Andy, has this been validated?

,

"dchassin": * priority changed from validate to blocker

I have to unload mysql in order to successfully build trunk. I'm not sure if this is the behavior we want. Is it acceptable to remove modules from projects in order to build when the computer that trunk is being built on does not contain the necessary third party programs for said modules (i.e. MATLAB, mysql, PowerWorld). Can I get some clarification on what is necessary to build.

,

"dchassin": * owner changed from dchassin to andyfisher

See https://sourceforge.net/apps/mediawiki/gridlab-d/index.php?title=Module_functions#Contingent_functionalities for details on how this should be done. In windows, you should either install the libraries needed to validation the module or unload it. In linux/mac this is done automatically by configure depending on whether the needed libraries are installed.

Having the build library is not the same thing as having the application installed. In can have mysql connector installed (which means I can build the mysql module), but if I don't have mysql itself installed I can't validate it. Conversely I may not have mysql connector installed (which means I can't build the mysql module), but if I have mysql installed I can validate it.

In C/C++, the HAVE_XXX flag is used to determine whether to compile using the application's linnk library (it is always defined in Windows). In GLM the flag XXX should be set to indicate that the application is installed and ready to work with GridLAB-D.

,

"andyfisher": * status changed from assigned to closed