Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: thinBundle, can't find zlib.dll

  1. #1

    thinBundle, can't find zlib.dll

    Hi Roberto,

    I tried several scripts to turn into an exe with thinbundle, but I allways get the error below.

    What I am doing wrong?

    Michael
    Attached Images Attached Images

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: thinBundle, can't find zlib.dll

    Mike,

    please check to have zLib.dll both in \thinBasic\ and \thinBasic\Lib\ directories.
    If you have in both places, please try to remove your and replace with tha attached one.

    Let me know.
    Eros
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  3. #3

    Re: thinBundle, can't find zlib.dll

    Thanks Eros,

    I will try that.

  4. #4

    Re: thinBundle, can't find zlib.dll

    Hi Michael,

    the Bundle needs ZLIB.DLL library because you choose to obfuscate main script and compress all files.
    Clear these flags and try again, it should work.
    Of course in order to use the Bundle you should have the ZLIB.DLL library.
    The ZLIB.DLL loader try to load the module from the following paths:

    • LoadLibrary() API search paths
    • "\thinbasic\"
    • "\thinbasic\lib"


    For the LoadLibrary() dynamic-Link library search order take a look to:
    http://msdn2.microsoft.com/en-us/library/ms682586.aspx

    Ciao,
    Roberto
    http://www.thinbasic.com

  5. #5

    Re: thinBundle, can't find zlib.dll

    Folks, the lib is located in the main thinbasic folder and in the lib folder. Size 59 KB, Date 20.07.2005, Time 12:48

    Ok, I have thinbasic installed under c:\programme\thinbasic . As the default location for the installer is c:\thinbasic, I was wondering if it would work if I move tB to this location. And voila. It does.

    So I consider this a bug and thinAIR or thinBundle.

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: thinBundle, can't find zlib.dll

    Yes, it seems a problem.
    Topic moved to "thinBundle bugs report"

    Thanks Mike.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7

    Re: thinBundle, can't find zlib.dll

    Mike,

    could you please check if ThinBasic root folder (under ThinAir's Compiler Options tab) is set to "c:\programme\thinbasic\"?

    Thanks,
    Roberto
    http://www.thinbasic.com

  8. #8
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: thinBundle, can't find zlib.dll

    Roberto,

    if the config path can be the problem, I suggest to check the presence of thinBasic.exe in the configured directory every time thinAir is loaded. If not found that give a warning to use to check that parameter.
    What do you think? It is important to keep updated that parameter.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  9. #9

    Re: thinBundle, can't find zlib.dll

    Quote Originally Posted by RobertoBianchi
    Mike,

    could you please check if ThinBasic root folder (under ThinAir's Compiler Options tab) is set to "c:\programme\thinbasic\"?

    Thanks,
    Roberto
    I will check it when I'm back from work tonight.

  10. #10

    Re: thinBundle, can't find zlib.dll

    Ok, thanks Michael.

    Eros,
    yes of course ThinAIR is already able to discovery the interpreter path (and Michael will confirm this if he'll find the correctness of path) but the problem arises in the Bundle module, so I'll check it.

    Ciao,
    Roberto
    http://www.thinbasic.com

Page 1 of 3 123 LastLast

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •