Recently, I updated TexGen to 3.12.0, since I had to get Voxel Mesh with Octree Refinement. But i could not run the same code using TexGen 3.12.0 because the DLL couldn't be loaded.
The following is the error i get when i try to run the code now:
from Core import * # TexGen library
File "C:\Program Files\TexGen\Python\libxtra\TexGen\Core.py", line 15, in <module>
import _Core
ImportError: DLL load failed: The specified module could not be found.
I searched for the difference between the scripts available in the two models and I found that swig version with which the wrapper is built is different. How can I get rid of this error? Should updation of swig will solve the problem?
That issue got resolved. There were three .dll files placed in TexGen home directory (\TexGen) rather than inside \TexGen\Python\libxtra\TexGen. I copied and pasted those three DLLs into the directory i am appending in the system path and it worked.