On Saturday, 12 March 2016 at 10:10:44 UTC, Basile B. wrote:
On Saturday, 12 March 2016 at 09:53:36 UTC, stunaep wrote:
[...]

"dflags" : ["lib\\libbzip2.lib"] is only if you want to compile as 32 bit AND in OMF, so the -m32mscoff switch must NOT be set (I see that someone else explained you how to compile using the coff object format, which is not the same thing as I've explained before)

so in the config you should have something like that

"configurations" :
[
    {
      "name" : "win32omf",
"dflags" : ["lib\\omf32\\libbzip2.lib"] // made with dmc or converted
    },
    {
      "name" : "win64coff",
"dflags" : ["lib\\coff64\\libbzip2.lib", "-m64"] // made with gcc
    },
]

Thanks for that. The other issue I had was solved because I wasnt using runtime library /MT when compiling the .lib.

Reply via email to