unanswered Problem compiling vmd with the tng plugin

  • Dom
  • Dom's Avatar Topic Author
  • Offline
  • Fresh Boarder
More
3 years 2 months ago - 3 years 2 months ago #8813 by Dom
Hello,

I'm having a bit of an issue compiling VMD with the tng plugin. I can compile all of the vmd plugins I need except for "tngplugin", which always throws up a load of "undefined reference" errors. The environment variables I'm using are:

TNGLIB="-L/usr/local/lib" # folder containing libtng_io.so
TNGINC="-I/usr/local/include" # folder containing tng/tng_io.h
TNGLDFLAGS="-shared"

Am I missing something obvious? Thanks in advance!

Dom


Edit: After some pointers from the friendly folk on the vmd mailing list, I can answer my own question. The TNGLDFLAGS variable was incorrect and should have been set to "-ltng_io". Compilation of the static library still failed for me but including TNGDYNAMIC=1 did eventually get the plugin working.
Last edit: 3 years 2 months ago by Dom. Reason: Answering own question

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds