VMD-L Mailing List
From: vmd_chcwaaa (vmd_chcwaaa_at_yahoo.com.cn)
Date: Sun Nov 01 2009 - 01:32:42 CDT
- Next message: Liang, Linus H.: "movie rendering"
- Previous message: Axel Kohlmeyer: "Re: RBCG bead diameter"
- Next in thread: John Stone: "Re: dll by c++ cannot be recognized by VMD tk console ?"
- Reply: John Stone: "Re: dll by c++ cannot be recognized by VMD tk console ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear all,
I convert a c++ class (with a name CIce) to tcl .dll using SWIG. It works well on ActiveTcl using tclsh8.5.exe on a windows XP platform. However, when I use the dll in VMD, it returns erroes that command CIce doesn't exist. The script is like this:
catch { load ./icelattice[info sharedlibextension] icelattice} ;#icelattice is the name of dll file
puts "Creating some objects:" ;#It goes well until the next command and it seems that the dll file has been successfully loaded but the calss is not recognized.
catch { CIce mywaterice }
catch { mywaterice command }
I am really very confused. The interpreter console in VMD (Tk console) is different from tclsh, is this the reason? If it is, what could I do to make the dll file recognized by the tk console? I would be grateful if any of you could give me some advice.
cheers,
Cong Chen
2009-11-01
vmd_chcwaaa
__________________________________________________
8O?lW"2aQE;"3,4sH]A?Cb7QSJOd?
http://cn.mail.yahoo.com
- Next message: Liang, Linus H.: "movie rendering"
- Previous message: Axel Kohlmeyer: "Re: RBCG bead diameter"
- Next in thread: John Stone: "Re: dll by c++ cannot be recognized by VMD tk console ?"
- Reply: John Stone: "Re: dll by c++ cannot be recognized by VMD tk console ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]