![]() ![]() I've had the same problem as described in the OP. That's why i wanted to compile the main project with 圆4 compiler.Īnd also, whats the difference between Hostx86/圆4/cl.exe and Hosts圆4/圆4/cl.exe ? fatal error LNK1112: module machine type 'x86' conflicts with target machine type '圆4' Note: I want it to be built with 圆4 compiler because i am linking to the boost library which is also compiled with address-model=64 architecture=x86Īnd while the main project is compiled i am getting platform related errors. I did not find any reference with this regards except the cmake generator mentioend above.Ĭould anyone please help me how to use cmake to strictly make VS use 圆4 compilor? proj file to force vs to use 圆4 compiler. I have read from other questions where people have mentioned to add few tags to the. proj file at build time and is used to compile.īut from build logs what i found is that the visual studio compiler cl.exe is taken from cross compilation location C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/6/bin/Hostx86/圆4/cl.exeīut i want it to be built strictly using 圆4 compiler. So for windows 64 bit compilation i use the following generator ![]() Using CMake version 3.12.2 which supports generation of VS2017 proj files. I have a huge project in c++ for which i use cmake to generate the the. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |