yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00164
.pro related error
Hi,
I have created a new "preprocessor" program in the PackageDem called
SpheresPlane, on the same way that the existing SDECSpheresPlane in
order to insert capillary cohesion into it. So, the 2 are very similar,
but when I try to build the new one (make CXXFLAGS='-pthread'), there is
an error related to the "SpheresPlane.pro" file that I don't understand
because I have just add 1 "libs" in the "SDECSpheresplane.pro" file,
moreover, it is linked to a line that I haven't change.
The message is (sorry, this is in french!?):
/Édition des liens libSpheresPlane2.so.1.0.0 (g++)
/usr/bin/ld: ne peut trouver -lyade-lib-serialization
collect2: ld a retourné 1 code d'état d'exécution
make: *** [../../../bin/libSpheresPlane2.so.1.0.0] Erreur 1
make: La cible « first » n'a pas pu être refabriquée à cause d'erreurs.
*** Sortie avec l'état : 2 ***
/
I join the 2 concerned files.
If you have any suggestion, so long.
isEmpty ( YADE_QMAKE_PATH ){
error( "YADE_QMAKE_PATH internal qmake variable is not set, you should run for example qmake YADE_QMAKE_PATH=/usr/local, this will not work from inside kdevelop (when they will fix it?)" )
}
LIBS += -lSDECLinkGeometry \
-lElasticContactLaw \
-lCapillaryCohesiveLaw \
-lMacroMicroElasticRelationships \
-lElasticCriterionTimeStepper \
-lPositionOrientationRecorder \
-lPhysicalActionVectorVector \
-lInteractionVecSet \
-lBodyRedirectionVector \
-lInteractingSphere \
-lInteractingBox \
-lCundallNonViscousMomentumDamping \
-lCundallNonViscousForceDamping \
-lMetaInteractingGeometry \
-lGravityEngine \
-lyade-lib-serialization \
-lyade-lib-wm3-math \
-lPhysicalActionContainerInitializer \
-lPhysicalActionContainerReseter \
-lInteractionGeometryMetaEngine \
-lInteractionPhysicsMetaEngine \
-lPhysicalActionApplier \
-lPhysicalParametersMetaEngine \
-lBoundingVolumeMetaEngine \
-lBox \
-lSphere \
-lAABB \
-lPersistentSAPCollider \
-lParticleParameters \
-lSAPCollider \
-lMetaInteractingGeometry2AABB \
-lyade-lib-multimethods \
-rdynamic
INCLUDEPATH += $${YADE_QMAKE_PATH}/include/ \
../../Engine/StandAloneEngine/PositionOrientationRecorder \
../../Engine/StandAloneEngine/ElasticCriterionTimeStepper \
../../Engine/StandAloneEngine/ElasticContactLaw \
../../Engine/StandAloneEngine/CapillaryCohesiveLaw \
../../Engine/EngineUnit/MacroMicroElasticRelationships \
../../DataClass/InteractionGeometry/SDECLinkGeometry \
../../DataClass/PhysicalParameters/BodyMacroParameters \
QMAKE_LIBDIR = ../../../bin \
../../../bin \
../../../bin \
../../../bin \
../../../bin \
../../../bin \
$${YADE_QMAKE_PATH}/lib/yade/yade-package-common/ \
$${YADE_QMAKE_PATH} /lib/yade/yade-libs/
QMAKE_CXXFLAGS_RELEASE += -lpthread \
-pthread
QMAKE_CXXFLAGS_DEBUG += -lpthread \
-pthread
DESTDIR = ../../../bin
CONFIG += debug \
thread \
warn_on \
dll
TEMPLATE = lib
HEADERS += SpheresPlane2.hpp
SOURCES += SpheresPlane2.cpp
isEmpty ( YADE_QMAKE_PATH ){error( "YADE_QMAKE_PATH internal qmake variable is not set, you should run for example qmake YADE_QMAKE_PATH=/usr/local, this will not work from inside kdevelop (when they will fix it?)" )}
LIBS += -lSDECLinkGeometry \
-lElasticContactLaw \
-lMacroMicroElasticRelationships \
-lElasticCriterionTimeStepper \
-lPositionOrientationRecorder \
-lPhysicalActionVectorVector \
-lInteractionVecSet \
-lBodyRedirectionVector \
-lInteractingSphere \
-lInteractingBox \
-lCundallNonViscousMomentumDamping \
-lCundallNonViscousForceDamping \
-lMetaInteractingGeometry \
-lGravityEngine \
-lyade-lib-serialization \
-lyade-lib-wm3-math \
-lPhysicalActionContainerInitializer \
-lPhysicalActionContainerReseter \
-lInteractionGeometryMetaEngine \
-lInteractionPhysicsMetaEngine \
-lPhysicalActionApplier \
-lPhysicalParametersMetaEngine \
-lBoundingVolumeMetaEngine \
-lBox \
-lSphere \
-lAABB \
-lPersistentSAPCollider \
-lParticleParameters \
-lSAPCollider \
-lMetaInteractingGeometry2AABB \
-lyade-lib-multimethods \
-rdynamic
NCLUDEPATH += $${YADE_QMAKE_PATH}/include/ \
../../Engine/StandAloneEngine/PositionOrientationRecorder \
../../Engine/StandAloneEngine/ElasticCriterionTimeStepper \
../../Engine/StandAloneEngine/ElasticContactLaw \
../../Engine/EngineUnit/MacroMicroElasticRelationships \
../../DataClass/InteractionGeometry/SDECLinkGeometry \
../../DataClass/PhysicalParameters/BodyMacroParameters \
QMAKE_LIBDIR = ../../../bin \
../../../bin \
../../../bin \
../../../bin \
../../../bin \
../../../bin \
$${YADE_QMAKE_PATH}/lib/yade/yade-package-common/ \
$${YADE_QMAKE_PATH}/lib/yade/yade-libs/
QMAKE_CXXFLAGS_RELEASE += -lpthread \
-pthread
QMAKE_CXXFLAGS_DEBUG += -lpthread \
-pthread
DESTDIR = ../../../bin
CONFIG += debug \
thread \
warn_on \
dll
TEMPLATE = lib
HEADERS += SDECSpheresPlane.hpp
SOURCES += SDECSpheresPlane.cpp
Follow ups