Forum Replies Created
-
AuthorPosts
-
AlexBlockedAlexBlocked
Hey @hugo,
Yes, I did, but it didn’t work either.
I really don’t know what is wrong. Is this “black output” a known issue?
Best,
AlexAlexBlockedHi @jnbrunet
I am using Qt 5.15.2. It still has a black output when I use QglViewer.
When using the QtViewer, I met the following error and Sofa did not run.
[ERROR] [GUIManager] GUI 'qtviewer' creation failed. Available GUIs: {batch qglviewer qt} [WARNING] [SofaSimulationGraph] the library has not been cleaned up (sofa::simulation::graph::cleanup() has never been called, see sofa/helper/init.h) [WARNING] [SofaSimulationCommon] the library has not been cleaned up (sofa::simulation::common::cleanup() has never been called, see sofa/helper/init.h) [WARNING] [SofaSimulationCore] the library has not been cleaned up (sofa::simulation::core::cleanup() has never been called, see sofa/helper/init.h) [WARNING] [SofaCore] the library has not been cleaned up (sofa::core::cleanup() has never been called, see sofa/helper/init.h) [WARNING] [SofaDefaultType] the library has not been cleaned up (sofa::defaulttype::cleanup() has never been called, see sofa/helper/init.h) [WARNING] [SofaHelper] the library has not been cleaned up (sofa::helper::cleanup() has never been called, see sofa/helper/init.h)
Alex
AlexBlockedAlexBlockedAlexBlockedHi @hugo
I am running Sofa from the terminal on MacOS. I am not sure whether I am using python or not. (I am not an IT person.) Could you provide more specific steps to load the CImgPlugin, like what command and when to input in the terminal?
Many thanks!
AlexBlockedHi @jnbrunet
Appreciate your help. I have successfully installed Sofa with your suggestion. However, I only saw a black background in the animation region, instead of the caduceus animation. I opened several other demo scenes and saw the same (black) thing.
Also, the file “runSofa” I got is an “Alias” type, instead of an executable. I guess that doesn’t matter, since I can still open it in the terminal?
Below are the messages when running Safa.
[WARNING] [SofaEigen2Solver] SofaEigen2Solver is deprecated; Eigen classes are now located in Sofa.LinearAlgebra and SVDLinearSolver in SofaDenseSolver.You can remove SofaEigen2Solver from your scene, and if using SVDLinearSolver, please load SofaDenseSolver instead. [INFO] [runSofa] PluginRepository paths = /Users/tongjia/sofa/build/plugins:/Users/tongjia/sofa/build/lib [INFO] [runSofa] DataRepository paths = /Users/tongjia/sofa/src/share:/Users/tongjia/sofa/src/examples:/Users/tongjia/sofa/build:/Users/tongjia/sofa/build [INFO] [runSofa] GuiDataRepository paths = /Users/tongjia/sofa/src/applications/projects/runSofa/resources:/Users/tongjia/sofa/src/modules/SofaGuiQt/src/sofa/gui/qt/resources:/Users/tongjia/sofa/build [INFO] [runSofa] Loading automatically plugin list in /Users/tongjia/sofa/build/lib/plugin_list.conf.default [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaSimpleFem.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaRigid.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaDeformable.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaObjectInteraction.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMeshCollision.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaEngine.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaExplicitOdeSolver.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaImplicitOdeSolver.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaLoader.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralVisual.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGraphComponent.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralMeshCollision.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaBoundaryCondition.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralAnimationLoop.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralDeformable.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralEngine.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralExplicitOdeSolver.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralImplicitOdeSolver.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralLinearSolver.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralRigid.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralObjectInteraction.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralSimpleFem.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralTopology.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaTopologyMapping.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaUserInteraction.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaConstraint.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaGeneralLoader.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaExporter.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaSparseSolver.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaPreconditioner.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaHaptics.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaValidation.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaDenseSolver.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaNonUniformFem.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaOpenglVisual.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMiscTopology.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMiscExtra.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMiscForceField.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMiscEngine.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMiscSolver.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMiscFem.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMiscMapping.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libSofaMiscCollision.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libCImgPlugin.dylib [INFO] [PluginManager] Loaded plugin: /Users/tongjia/sofa/build/lib/libLMConstraint.dylib Warning: Setting a new default format with a different version or profile after the global shared context is created may cause issues with context sharing. The constructor with a QGLFormat is deprecated, use the regular contructor instead. qt.qpa.openglcontext: Could not create NSOpenGLContext with shared context, falling back to unshared context. [INFO] [SceneCheckerVisitor] Validating node "root" with checks: [SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias, SceneCheckDeprecatedComponents] [INFO] [SceneCheckerVisitor] Finished validating node "root". [WARNING] [Simulation] Default Visual Manager Loop will be used. Add DefaultVisualManagerLoop to the root node of scene file to remove this warning
-
AuthorPosts