![]() |
IUP - Version 3.24 crash on LDCad - Version 1.6b - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html) +--- Thread: IUP - Version 3.24 crash on LDCad - Version 1.6b (/thread-22774.html) |
IUP - Version 3.24 crash on LDCad - Version 1.6b - Jarema - 2018-03-24 I have successful run on both Windows 7 x64 /host/ and Windows XP x86 /emulated/. But when comes to run under LDCad is fail. Quote:error loading module 'iuplua53' from file 'G:\LDraw\Apps\LDCad\iuplua53.dll': I put any necessary *.dll files into LDCad root directory and in script use: Code: require( "iuplua53" ) Source : http://webserver2.tecgraf.puc-rio.br/iup Documentation : http://iup.sourceforge.net/en/basic/index.html RE: IUP - Version 3.24 crash on LDCad - Version 1.6b - Roland Melkert - 2018-03-24 (2018-03-24, 13:26)Jarema Wrote: I have successful run on both Windows 7 x64 /host/ and Windows XP x86 /emulated/. But when comes to run under LDCad is fail. I've tried: Win64_dllw4 found here https://sourceforge.net/projects/iup/files/3.24/Windows%20Libraries/Dynamic/Lua53/ And I'm getting the same error, I think it fails to find some dependency DLL but I don't know which one. I've got a million versions of MSVCRT.DLL which is the only dependency mentioned in the documentation. I also tried Win32_dllw4 with the 32 bit version of LDCad. But it gives the same result. This is why I prefer static compiling, dll soup is nothing but trouble during distribution ![]() ldd isn't helpfull ether as it lists ???? Code: $ ldd iuplua53.dll Anyone else has a clue? RE: IUP - Version 3.24 crash on LDCad - Version 1.6b - Jarema - 2018-03-24 Look on http://webserver2.tecgraf.puc-rio.br/iup/. All the libraries were build using Tecmake. Please use it if you intend to recompile the sources. Did you have time and passion to make Portable User Interface work under LDCad ? RE: IUP - Version 3.24 crash on LDCad - Version 1.6b - Jarema - 2018-03-24 Win32_dllw4 DLL and import library built with MingW gcc 4.6 (See Win32_mingw4) Win32_mingw4 Static library built with MingW gcc 4.6 - http://www.mingw.org/ ¹ Also compatible with Dev-C++ - http://www.bloodshed.net/devcpp.html and with Code Blocks - http://www.codeblocks.org/ ¹ Win32_dllw4 DLL and import library built with MingW gcc 4.6 (See Win32_mingw4) Win64_mingw4 Static library built with MingW gcc 4.5 - http://mingw-w64.sourceforge.net/ ¹ Tool chains targeting Win64 / Personal Builds / "sezero" for 64-bits systems using the x64 standard. Win64_dllw4 DLL and import library built with MingW gcc 4.5, for 64-bits systems using the x64 standard. creates dependency with MSVCRT.DLL RE: IUP - Version 3.24 crash on LDCad - Version 1.6b - Roland Melkert - 2018-03-24 (2018-03-24, 21:02)Jarema Wrote: Look on http://webserver2.tecgraf.puc-rio.br/iup/. All the libraries were build using Tecmake. Please use it if you intend to recompile the sources. I only did a quick test using the dll's. I don't think the problem is LDCad specific though. Do you know of some other program using iup lua ? If so we could check its setup to see what dll's they include. RE: IUP - Version 3.24 crash on LDCad - Version 1.6b - Travis Cobbs - 2018-03-25 Dependency Walker can often be useful in tracking down these problems. RE: IUP - Version 3.24 crash on LDCad - Version 1.6b - Roland Melkert - 2018-03-25 (2018-03-25, 6:02)Travis Cobbs Wrote: Dependency Walker can often be useful in tracking down these problems. Thanks this tool is much more clear then gcc's ldd. It also needs lua53.dll it self and the code IUP stuff https://sourceforge.net/projects/iup/files/3.24/Windows%20Libraries/Dynamic/ But even with all this (28 dll's !!) I still get the same error, because it also needs some specific visual studio distribution but I don't know which one. I tried 2015 but it wanted me to uninstall the existing version which I'm not ready to do at the moment. using minGW might result in "huge" .exe files but it sure prevents these fun adventures ![]() RE: IUP - Version 3.24 crash on LDCad - Version 1.6b - Jarema - 2018-03-26 Do not mesh with your current system. Windows XP Mode with Windows Virutal PC is good enough for base testing. If you need testing for Android install BlueStacks. Another alternative is Oracle VM VirtualBox. |