Ignore:
Timestamp:
Aug 21, 2014, 6:43:46 AM (10 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/Shapes/unittests/Makefile.am

    rd93b4b3 r748fc7  
    3030SHAPELIBS = \
    3131        libUnitTest.la \
    32         ../libMolecuilderShapes.la \
     32        ../libMolecuilder.la \
     33        ../libMolecuilderUI.la \
    3334        $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    3435        ${CodePatterns_LIBS}
     
    4041        ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
    4142        ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
    42 nodist_BaseShapesUnitTest_SOURCES = \
    43         ../Helpers/defs.hpp \
    44         ../Helpers/defs.cpp
    45 BaseShapesUnitTest_LDADD = $(SHAPELIBS)
     43BaseShapesUnitTest_LDADD = \
     44        ../libMolecuilderShapes.la \
     45        $(SHAPELIBS)
    4646
    4747ShapeFactoryUnitTest_SOURCES = \
     
    5252        ../Shapes/unittests/stubs/moleculeStub.cpp \
    5353        ../Shapes/unittests/stubs/WorldSelectedMoleculesStub.cpp
    54 nodist_ShapeFactoryUnitTest_SOURCES = \
    55         ../Helpers/defs.hpp \
    56         ../Helpers/defs.cpp \
    57         ../Shapes/ShapeFactory.cpp \
    58         ../Shapes/ShapeFactory.hpp
    5954ShapeFactoryUnitTest_LDADD = \
    60         ../libMolecuilderElement.la \
     55        ../libMolecuilderShapes.la \
    6156        $(SHAPELIBS)
    6257
     
    6661        ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
    6762        ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
    68 nodist_ShapeOpsUnitTest_SOURCES = \
    69         ../Helpers/defs.hpp \
    70         ../Helpers/defs.cpp
    71 ShapeOpsUnitTest_LDADD = $(SHAPELIBS)
     63ShapeOpsUnitTest_LDADD = \
     64        ../libMolecuilderShapes.la \
     65        $(SHAPELIBS)
    7266
    7367ShapeRegistryUnitTest_SOURCES = \
     
    7670        ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
    7771        ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
    78 nodist_ShapeRegistryUnitTest_SOURCES = \
    79         ../Helpers/defs.hpp \
    80         ../Helpers/defs.cpp
    81 ShapeRegistryUnitTest_LDADD = $(SHAPELIBS)
     72ShapeRegistryUnitTest_LDADD = \
     73        ../libMolecuilderShapes.la \
     74        $(SHAPELIBS)
    8275
    8376Shape_HomogeneousPointsUnitTest_SOURCES = \
     
    8679        ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
    8780        ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
    88 nodist_Shape_HomogeneousPointsUnitTest_SOURCES = \
    89         ../Helpers/defs.hpp \
    90         ../Helpers/defs.cpp
    91 Shape_HomogeneousPointsUnitTest_LDADD = $(SHAPELIBS)
     81Shape_HomogeneousPointsUnitTest_LDADD = \
     82        ../libMolecuilderShapes.la \
     83        $(SHAPELIBS)
    9284
    9385
Note: See TracChangeset for help on using the changeset viewer.