Ignore:
Timestamp:
Aug 21, 2014, 6:43:46 AM (11 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
07ecc5
Parents:
d93b4b3
git-author:
Frederik Heber <heber@…> (08/19/14 11:17:27)
git-committer:
Frederik Heber <heber@…> (08/21/14 06:43:46)
Message:

libMolecuilder is now a shared library.

  • linking error Vector::IsZero(double) with molecuilder(gui), related to libMolecuilderShapes was the root cause for this change. Again, it was not deducible why this error occured:
  • probably (me tired of these obfuscated linker errors ...) faulted because libMolecuilder is convenience lib while libMolecuilderUI and ..QtUI are shared and deps did not get passed along properly (by libtool) (e.g. ldd showed libMolecuilderShapes prior to libLinearAlgebra, containing said function Vector::IsZero(double), but I cannot influence this ordering and it should not even matter (dynamic linking).)
  • some cleanup in builder_init.cpp (no more loading of BondGraph from file named "\n".
  • TESTFIX: libMolecuilder.so added to all unittests, required for e.g. World::purgeInstance() ... and sometimes added libMolecuilderUI.so because libMolecuilder pulled them in due to static entities ... sigh.
  • removed all src object files from unittest .._SOURCES. This caused distclean faults "thanks" to new subdir-objects (automake).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/Parameters/unittests/Makefile.am

    rd93b4b3 r748fc7  
    2121PARSERPARAMETERSLIBS = \
    2222        libUnitTest.la \
     23        ../libMolecuilder.la \
    2324        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    2425        ${CodePatterns_LIBS} \
     
    2829ParameterStorageUnitTest_SOURCES = \
    2930        ../Parser/Parameters/unittests/ParameterStorageUnitTest.cpp \
    30         ../Parser/Parameters/unittests/ParameterStorageUnitTest.hpp \
    31         ../Parser/Parameters/ParameterStorage.cpp \
    32         ../Parser/Parameters/ParameterStorage.hpp \
    33         ../Parameters/Parameter.hpp \
    34         ../Parameters/Validators/DummyValidator.hpp \
    35         ../Parameters/Validators/RangeValidator.hpp \
    36         ../Parameters/Validators/RangeValidator_impl.hpp \
    37         ../Parameters/Validators/Validator.hpp \
    38         ../Parameters/Value.hpp \
    39         ../Parameters/Value_impl.hpp \
    40         ../Parameters/ValueInterface.hpp
     31        ../Parser/Parameters/unittests/ParameterStorageUnitTest.hpp
    4132ParameterStorageUnitTest_LDADD = \
    42         $(PARSERPARAMETERSLIBS)
     33        ../libMolecuilderParser.la \
     34        $(PARSERPARAMETERSLIBS)
    4335
    4436StringParameterUnitTest_SOURCES = \
    4537        ../Parser/Parameters/unittests/StringParameterUnitTest.cpp \
    46         ../Parser/Parameters/unittests/StringParameterUnitTest.hpp \
    47         ../Parameters/StreamOperators.hpp \
    48         ../Parameters/Validators/DiscreteValidator.hpp \
    49         ../Parameters/Validators/DiscreteValidator_impl.hpp \
    50         ../Parameters/Validators/DummyValidator.hpp \
    51         ../Parameters/Validators/RangeValidator.hpp \
    52         ../Parameters/Validators/RangeValidator_impl.hpp \
    53         ../Parameters/Validators/Validator.hpp \
    54         ../Parameters/Value.hpp \
    55         ../Parameters/Value_impl.hpp \
    56         ../Parameters/Value_string.hpp \
    57         ../Parameters/ValueInterface.hpp
     38        ../Parser/Parameters/unittests/StringParameterUnitTest.hpp
    5839StringParameterUnitTest_LDADD = \
    5940        ../libMolecuilderParameters.la \
Note: See TracChangeset for help on using the changeset viewer.