Archived

This forum has been archived. Please start a new discussion on GitHub.

Thread support not enabled

When I build the IceSSL lib (IceSsl15d.dll),VC6 show a complie error:
E:\Delphi\Ice-1.5.1\src\IceSSL\OpenSSLPluginI.cpp(47) : fatal error C1189: #error : "Thread support not enabled"

It seem OPENSSL_THREADS Macro is undefined,How can i do ?

Comments

  • bernard
    bernard Jupiter, FL
    This is most likely a problem with your OpenSSL build.
    Which OpenSSL version do you use? Did you build it yourself from the source distribution?

    Cheers,
    Bernard
  • The SSL Version is openssl-0.9.7d,ICE is 1.5.1
    Because when I want to test the program (in Demo\Ice\hello).Client
    and Server build is ok. but when run it. the same questiong will show.
    I found the <ICE folder>\Bin not include the file :IceSsl15d.dll(I build Ice with All.dsw default),so i Open the Project in <Ice folder>src\IceSSL want to build it.but can't success.
    what's the matter with it?

    MySystem: VC6+Sp5 in WinXP
  • when start the server or client ,Error will show :
    server: .\PluginManagerI.cpp:182: Ice::PluginInitializationException:
    plug-in initialization failed: unable to load entry point `IceSSL:create'
  • bernard
    bernard Jupiter, FL
    Again, it looks like a problem with your OpenSSL build? Did you build it yourself?

    Cheers,
    Bernard
  • Yes,I build it myself. I download it form OpenSSL website http://www.openssl.org/source/openssl-0.9.7d.tar.gz and build it. If I build it with some error?
  • bernard
    bernard Jupiter, FL
    Did you follow the "Visual C++" build instructions in INSTALL.W32?

    Bernard
  • Now Build is ok,thank you.
    I do following the INSTALL.W32,but still is not successful until i run the VCVARS32.bat before to make.but I don't the method if is a normal method for building.