Results 1 to 10 of 31

Thread: Libcod for windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Thank you!
    Unfortunately this DLL does not work on my machine either
    (when injecting the dll the CoD2 server console throws this unknown function script compile error for not finding a libcod-function)
    Maybe its something with the binaries file size (kung: 200kb, yours and my builds: < 50kb)?
    Is there something i can do? It rather seems to be beyond my coding-capabilities atm

  2. #2
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by serthy View Post
    Thank you!
    Unfortunately this DLL does not work on my machine either
    (when injecting the dll the CoD2 server console throws this unknown function script compile error for not finding a libcod-function)
    It might be because it is linked against the mysql library.
    Try to copy libmysql.dll (in lib/) with the libcod dll.

  3. The Following 2 Users Say Thank You to Mitch For This Useful Post:

    kung foo man (14th December 2014),serthy (14th December 2014)

  4. #3
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by Mitch View Post
    It might be because it is linked against the mysql library.
    Try to copy libmysql.dll (in lib/) with the libcod dll.
    Thanks, this did the trick!
    I also had to use the -m32 flag in compiler and linker settings to build a 32bit dll (when using TDM-GCC64), now its working

  5. The Following User Says Thank You to serthy For This Useful Post:

    Mitch (14th December 2014)

Posting Permissions

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