IUP - Version 3.24 crash on LDCad - Version 1.6b


IUP - Version 3.24 crash on LDCad - Version 1.6b
#1
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':
    Nie można odnaleźć określonej procedury.

Script main run failed.

I put any necessary *.dll files into LDCad root directory and in script use:

Code:
require( "iuplua53" )
iup.Message('YourApp','Finished Successfully!')

Source : http://webserver2.tecgraf.puc-rio.br/iup
Documentation : http://iup.sourceforge.net/en/basic/index.html


Attached Files
.jpg   Test-Clipboard-Result.jpg (Size: 11.17 KB / Downloads: 70)
Lego isn't just a brand of plastic bricks. It's a lifestyle; and artistic medium.
Reply
RE: IUP - Version 3.24 crash on LDCad - Version 1.6b
#2
(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/fil...mic/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  Angry

ldd isn't helpfull ether as it lists ????
Code:
$ ldd iuplua53.dll
       ntdll.dll => /c/Windows/SysWOW64/ntdll.dll (0x77030000)
       kernel32.dll => /c/Windows/syswow64/kernel32.dll (0x75cc0000)
       KERNELBASE.dll => /c/Windows/syswow64/KERNELBASE.dll (0x76b60000)
       guard32.dll => /c/Windows/SysWOW64/guard32.dll (0x72ce0000)
       ADVAPI32.dll => /c/Windows/syswow64/ADVAPI32.dll (0x75e30000)
       msvcrt.dll => /c/Windows/syswow64/msvcrt.dll (0x74ab0000)
       sechost.dll => /c/Windows/SysWOW64/sechost.dll (0x76120000)
       RPCRT4.dll => /c/Windows/syswow64/RPCRT4.dll (0x76030000)
       SspiCli.dll => /c/Windows/syswow64/SspiCli.dll (0x748e0000)
       CRYPTBASE.dll => /c/Windows/syswow64/CRYPTBASE.dll (0x748d0000)
       api-ms-win-core-synch-l1-2-0.DLL => /c/Windows/system32/api-ms-win-core-synch-l1-2-0.DLL (0x72cd0000)
       USER32.dll => /c/Windows/syswow64/USER32.dll (0x74b60000)
       GDI32.dll => /c/Windows/syswow64/GDI32.dll (0x76950000)
       LPK.dll => /c/Windows/syswow64/LPK.dll (0x75cb0000)
       USP10.dll => /c/Windows/syswow64/USP10.dll (0x76bb0000)
       IMM32.DLL => /c/Windows/system32/IMM32.DLL (0x74940000)
       MSCTF.dll => /c/Windows/syswow64/MSCTF.dll (0x769e0000)
       version.dll => /c/Windows/system32/version.dll (0x72cc0000)
       ole32.dll => /c/Windows/system32/ole32.dll (0x762b0000)
       fltlib.dll => /c/Windows/system32/fltlib.dll (0x72cb0000)
       ??? => ??? (0x1e20000)
       ??? => ??? (0x65e00000)

Anyone else has a clue?
Reply
RE: IUP - Version 3.24 crash on LDCad - Version 1.6b
#3
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 ?
Lego isn't just a brand of plastic bricks. It's a lifestyle; and artistic medium.
Reply
RE: IUP - Version 3.24 crash on LDCad - Version 1.6b
#4
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
Lego isn't just a brand of plastic bricks. It's a lifestyle; and artistic medium.
Reply
RE: IUP - Version 3.24 crash on LDCad - Version 1.6b
#5
(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.
Did you have time and passion to make Portable User Interface work under LDCad ?

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.
Reply
RE: IUP - Version 3.24 crash on LDCad - Version 1.6b
#6
Dependency Walker can often be useful in tracking down these problems.
Reply
RE: IUP - Version 3.24 crash on LDCad - Version 1.6b
#7
(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/fil...s/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 Big Grin
Reply
RE: IUP - Version 3.24 crash on LDCad - Version 1.6b
#8
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.
Lego isn't just a brand of plastic bricks. It's a lifestyle; and artistic medium.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 3 Guest(s)