Registered Member
|
Is there anything special I have to do to enable the molecule editor in kalzium? The menu item is grayed out for me.
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
Mentor
|
opengl + avogadro |
Registered Member
|
Thanks, Avagadro is missing. openSUSE isn't packaging it for 11.3 some reason.
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
Registered Member
|
Is avagadro a runtime or buildtime dependency? I installed avagadro but it didn't seem to enable the molecular model viewer.
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
Mentor
|
kalzium/CMakeLists.txt has: if (OPENBABEL2_FOUND AND Avogadro_FOUND AND EIGEN2_FOUND) # avoid compilerwarnings about redefinitions # todo: use check_function_exits() ? message(STATUS "Kalzium molecular editor enabled") if (WIN32) add_definitions(-DHAVE_SNPRINTF -DHAVE_STRCASECMP -DHAVE_STRNCASECMP) endif (WIN32) add_subdirectory(compoundviewer) else (OPENBABEL2_FOUND AND Avogadro_FOUND AND EIGEN2_FOUND) message(STATUS "Kalzium molecular editor disabled") endif (OPENBABEL2_FOUND AND Avogadro_FOUND AND EIGEN2_FOUND) Looks like a build dependency to me. |
Registered Member
|
I checked the build output, it is definitely a build dependency. Thanks for your help.
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
Registered Member
|
Old thread, but it was useful to me.
For those who cannot enable molecular editor, eigen2 is another dependency:
And from the output of cmake:
For ubuntu and derivate users:
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]