On Saturday, 12 March 2016 at 09:53:36 UTC, stunaep wrote:
On Saturday, 12 March 2016 at 07:56:03 UTC, Mike Parker wrote:
 [...]

On Saturday, 12 March 2016 at 09:04:08 UTC, stunaep wrote:
On Saturday, 12 March 2016 at 07:56:03 UTC, Mike Parker wrote:
[...]

If I do "dflags" : ["lib/libbzip2.lib"] as Basile B. suggested instead of pragma, I get the same error on x86_64 as I do on x86

I think "dflags" : ["lib/libbzip2.lib"] is not loading anything at all because the same thing happens if I delete the lib file

"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
    },
]


Reply via email to