Hi all -
I've been banging away at converting code over from v8i MDL code to C++ native DLL and have (most) of it compiling without error. I've decided I need to get a portion of the code working to make sure I'm on the right track. So before I start rewriting modules to write text and add reference files, I'm trying to link modules together.
I was getting a bunch of errors with finding the OBJ files and figured that out, but now I'm getting the error above and don't understand why. Rather, in a general sense I understand that somewhere the BMAKE process is saying, "Make this for an x86 machine" and the link libraries are all compiled for an x64 machine, which is the cause of the error.
What I don't know how to do is find where to fix it.
When I compile, I'm using bmake <program> -v <enter>, which gave me one set of results, where the linker would choke on several of the OBJ files, not being able to find them to use functions in them. In the old make file, there's a command line that I figured I'd try to see if it gave different results:
bmake -a +dMDLDEBUG -dNO_COMPILERS_MKI=1 -dBUILD_USING_NoToolset liqdist.mke
This gave nicely formatted results, but materially changed what I get using the original bmake call, and now I'm getting the error message in the title. I have tried restarting the development environment, now I just get the new error.
So. Many. Questions. I know it's bad form to ask more than one, so I'm only going to be a little naughty.
I did see Jan Slegr's response to an earlier post and, while I followed most of it, what I got out was that it was for a different version of CE that needed VS2013 for C++ and not VS2017 for the version I'm running AND it's a configuration issue. I understand that, but I just don't know where to look for it.
If this were C#, I'd look at the target assembly and change it there, but I don't think BMAKE works with the build properties inside VS (and I tried changing that in several different places, producing the same effect).
Any suggestions (or magic bullets)?