Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: getting several "Command line warning D9025 : overriding '/W3' with '/W4'" warnings #574

Open
agarny opened this issue Mar 13, 2020 · 4 comments

Comments

@agarny
Copy link
Contributor

agarny commented Mar 13, 2020

I opened CMakeLists.txt in Qt Creator and then built libCellML using the debug profile. Here is the compile output I got:

06:14:27: Running steps for project libCellML...
06:14:27: Persisting CMake state...
06:14:48: Starting: "C:\Program Files\CMake\bin\cmake.exe" --build . --target all
[1/177 0.4/sec] Building CXX object tests\CMakeFiles\test_api_headers_generator.dir\api_headers\api_header_generator.cpp.obj
[2/177 0.5/sec] Building CXX object tests\CMakeFiles\test_utils.dir\test_utils.cpp.obj
..\tests\test_utils.cpp(46): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data
[3/177 0.3/sec] Building CXX object tests\CMakeFiles\test_api_headers_logger.dir\api_headers\api_header_logger.cpp.obj
[4/177 0.3/sec] Building CXX object tests\CMakeFiles\test_isolated_generator.dir\isolated\generator.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[5/177 0.4/sec] Building CXX object tests\CMakeFiles\test_clone.dir\clone\clone.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[6/177 0.4/sec] Building CXX object tests\CMakeFiles\test_generator.dir\generator\generatorprofile.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[7/177 0.5/sec] Building CXX object tests\CMakeFiles\test_resolve_imports.dir\resolve_imports\file_parser.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[8/177 0.4/sec] Building CXX object tests\CMakeFiles\test_generator.dir\generator\generator.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[9/177 0.4/sec] Building CXX object tests\CMakeFiles\test_connection.dir\connection\connection.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[10/177 0.4/sec] Building CXX object tests\CMakeFiles\test_component.dir\component\component.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[11/177 0.4/sec] Building CXX object tests\CMakeFiles\test_component.dir\component\encapsulation.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[12/177 0.5/sec] Building CXX object tests\CMakeFiles\test_math.dir\math\math.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[13/177 0.5/sec] Building CXX object tests\CMakeFiles\test_error.dir\error\error.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[14/177 0.5/sec] Building CXX object tests\CMakeFiles\test_api_headers_namedentity.dir\api_headers\api_header_namedentity.cpp.obj
[15/177 0.5/sec] Building CXX object tests\CMakeFiles\test_coverage.dir\coverage\coverage.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[16/177 0.6/sec] Building CXX object tests\CMakeFiles\test_api_headers_component.dir\api_headers\api_header_component.cpp.obj
[17/177 0.5/sec] Building CXX object tests\CMakeFiles\test_api_headers_componententity.dir\api_headers\api_header_componententity.cpp.obj
[18/177 0.5/sec] Building CXX object tests\CMakeFiles\test_api_headers_entity.dir\api_headers\api_header_entity.cpp.obj
[19/177 0.6/sec] Building CXX object tests\CMakeFiles\test_model.dir\model\units_import.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[20/177 0.6/sec] Building CXX object tests\CMakeFiles\test_units.dir\units\units.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[21/177 0.6/sec] Building CXX object tests\CMakeFiles\test_validator.dir\validator\validator.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[22/177 0.6/sec] Building CXX object tests\CMakeFiles\test_variable.dir\variable\variable.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[23/177 0.6/sec] Building CXX object tests\CMakeFiles\test_model.dir\model\model.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[24/177 0.6/sec] Building CXX object tests\CMakeFiles\test_model.dir\model\model_flattening.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[25/177 0.6/sec] Building CXX object tests\CMakeFiles\test_parser.dir\parser\file_parser.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[26/177 0.7/sec] Building CXX object tests\CMakeFiles\test_model.dir\model\component_import.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[27/177 0.7/sec] Building CXX object tests\CMakeFiles\test_parser.dir\parser\libxml_user.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[28/177 0.7/sec] Building CXX object tests\CMakeFiles\test_parser.dir\parser\parser.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[29/177 0.7/sec] Building CXX object tests\CMakeFiles\test_api_headers_model.dir\api_headers\api_header_model.cpp.obj
[30/177 0.7/sec] Building CXX object tests\CMakeFiles\test_api_headers_validator.dir\api_headers\api_header_validator.cpp.obj
[31/177 0.7/sec] Building CXX object tests\CMakeFiles\test_api_headers_units.dir\api_headers\api_header_units.cpp.obj
[32/177 0.7/sec] Building CXX object tests\CMakeFiles\test_api_headers_orderedentity.dir\api_headers\api_header_orderedentity.cpp.obj
[33/177 0.8/sec] Building CXX object tests\CMakeFiles\test_version.dir\version\version.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[34/177 0.8/sec] Building CXX object tests\CMakeFiles\test_api_headers_parser.dir\api_headers\api_header_parser.cpp.obj
[35/177 0.8/sec] Building CXX object tests\CMakeFiles\test_api_headers_specificationrules.dir\api_headers\api_header_specificationrules.cpp.obj
[36/177 0.8/sec] Building CXX object tests\CMakeFiles\test_printer.dir\printer\printer.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[37/177 0.8/sec] Building CXX object tests\CMakeFiles\test_reset.dir\reset\reset.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[38/177 0.8/sec] Building CXX object tests\CMakeFiles\test_api_headers_printer.dir\api_headers\api_header_printer.cpp.obj
[39/177 0.9/sec] Building CXX object tests\CMakeFiles\test_api_headers_types.dir\api_headers\api_header_types.cpp.obj
[40/177 0.9/sec] Building CXX object tests\CMakeFiles\test_api_headers_generatorprofile.dir\api_headers\api_header_generatorprofile.cpp.obj
[41/177 0.9/sec] Building CXX object tests\CMakeFiles\test_api_headers_reset.dir\api_headers\api_header_reset.cpp.obj
[42/177 0.9/sec] Building CXX object tests\CMakeFiles\test_api_headers_error.dir\api_headers\api_header_error.cpp.obj
[43/177 0.9/sec] Building CXX object tests\CMakeFiles\test_api_headers_importedentity.dir\api_headers\api_header_importedentity.cpp.obj
[44/177 0.9/sec] Building CXX object tests\CMakeFiles\test_api_headers_importsource.dir\api_headers\api_header_importsource.cpp.obj
[45/177 1.0/sec] Building CXX object tests\CMakeFiles\test_api_headers_variable.dir\api_headers\api_header_variable.cpp.obj
[46/177 1.0/sec] Building CXX object tests\CMakeFiles\test_api_headers_version.dir\api_headers\api_header_version.cpp.obj
[47/177 1.0/sec] Building CXX object tests\gtest\CMakeFiles\gtest_main.dir\src\gtest_main.cc.obj
[48/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\componententity.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[49/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\entity.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[50/177 1.0/sec] Building CXX object tests\gtest\CMakeFiles\gtest.dir\src\gtest-all.cc.obj
[51/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\error.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[52/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\component.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[53/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\generatorprofile.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[54/177 1.0/sec] Linking CXX shared library tests\gtest\gtest.dll
   Creating library tests\gtest\gtest.lib and object tests\gtest\gtest.exp
   Creating library tests\gtest\gtest.lib and object tests\gtest\gtest.exp
[55/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\importedentity.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[56/177 1.0/sec] Linking CXX shared library tests\gtest\gtest_main.dll
   Creating library tests\gtest\gtest_main.lib and object tests\gtest\gtest_main.exp
   Creating library tests\gtest\gtest_main.lib and object tests\gtest\gtest_main.exp
[57/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\namedentity.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[58/177 1.1/sec] Building CXX object src\CMakeFiles\cellml.dir\importsource.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[59/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\logger.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[60/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\orderedentity.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[61/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\reset.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[62/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\generator.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[63/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\model.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[64/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\parser.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[65/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\variable.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[66/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\printer.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[67/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\utilities.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[68/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\units.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[69/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\xmlattribute.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[70/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\validator.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[71/177 1.0/sec] Building CXX object src\CMakeFiles\cellml.dir\xmldoc.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[72/177 1.1/sec] Building CXX object src\CMakeFiles\cellml.dir\version.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[73/177 1.1/sec] Building CXX object src\CMakeFiles\cellml.dir\xmlnode.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[74/177 1.1/sec] Building CXX object src\CMakeFiles\cellml_debug_utilities.dir\debug.cpp.obj
[75/177 1.1/sec] Linking CXX static library src\cellml_debug_utilities.lib
[76/177 1.1/sec] Building CXX object src\CMakeFiles\cellml.dir\xmlutils.cpp.obj
cl : Command line warning D9025 : overriding '/W3' with '/W4'
[77/177 1.1/sec] Linking CXX shared library src\libcellmld.dll
   Creating library src\libcellmld.lib and object src\libcellmld.exp
   Creating library src\libcellmld.lib and object src\libcellmld.exp
[78/177 1.1/sec] Swig compile ../interface/version.i for python
[79/177 1.1/sec] Swig compile ../interface/orderedentity.i for python
[80/177 1.1/sec] Swig compile ../interface/importedentity.i for python
[81/177 1.1/sec] Swig compile ../interface/printer.i for python
[82/177 1.1/sec] Swig compile ../interface/parser.i for python
[83/177 1.1/sec] Swig compile ../interface/specificationrule.i for python
[84/177 1.1/sec] Swig compile ../interface/namedentity.i for python
[85/177 1.1/sec] Swig compile ../interface/generatorprofile.i for python
[86/177 1.2/sec] Swig compile ../interface/units.i for python
[87/177 1.2/sec] Swig compile ../interface/variable.i for python
[88/177 1.2/sec] Swig compile ../interface/generator.i for python
[89/177 1.2/sec] Swig compile ../interface/logger.i for python
[90/177 1.2/sec] Swig compile ../interface/validator.i for python
[91/177 1.2/sec] Swig compile ../interface/importsource.i for python
[92/177 1.2/sec] Swig compile ../interface/componententity.i for python
[93/177 1.2/sec] Swig compile ../interface/reset.i for python
[94/177 1.2/sec] Swig compile ../interface/component.i for python
[95/177 1.3/sec] Swig compile ../interface/entity.i for python
[96/177 1.3/sec] Swig compile ../interface/error.i for python
[97/177 1.3/sec] Swig compile ../interface/model.i for python
[98/177 1.3/sec] Linking CXX shared library tests\test_utils.dll
   Creating library tests\test_utils.lib and object tests\test_utils.exp
   Creating library tests\test_utils.lib and object tests\test_utils.exp
[99/177 1.3/sec] Linking CXX executable tests\test_api_headers_generator.exe
[100/177 1.3/sec] Linking CXX executable tests\test_api_headers_logger.exe
[101/177 1.3/sec] Linking CXX executable tests\test_api_headers_component.exe
[102/177 1.3/sec] Linking CXX executable tests\test_api_headers_namedentity.exe
[103/177 1.3/sec] Linking CXX executable tests\test_api_headers_entity.exe
[104/177 1.3/sec] Linking CXX executable tests\test_isolated_generator.exe
[105/177 1.3/sec] Linking CXX executable tests\test_clone.exe
[106/177 1.3/sec] Linking CXX executable tests\test_resolve_imports.exe
[107/177 1.4/sec] Linking CXX executable tests\test_component.exe
[108/177 1.4/sec] Linking CXX executable tests\test_generator.exe
[109/177 1.4/sec] Linking CXX executable tests\test_connection.exe
[110/177 1.4/sec] Linking CXX executable tests\test_coverage.exe
[111/177 1.4/sec] Linking CXX executable tests\test_math.exe
[112/177 1.4/sec] Linking CXX executable tests\test_reset.exe
[113/177 1.4/sec] Linking CXX executable tests\test_error.exe
[114/177 1.4/sec] Linking CXX executable tests\test_units.exe
[115/177 1.4/sec] Linking CXX executable tests\test_validator.exe
[116/177 1.4/sec] Linking CXX executable tests\test_variable.exe
[117/177 1.4/sec] Linking CXX executable tests\test_model.exe
[118/177 1.5/sec] Linking CXX executable tests\test_parser.exe
[119/177 1.5/sec] Linking CXX executable tests\test_printer.exe
[120/177 1.5/sec] Linking CXX executable tests\test_version.exe
[121/177 1.5/sec] Linking CXX executable tests\test_api_headers_importsource.exe
[122/177 1.5/sec] Linking CXX executable tests\test_api_headers_validator.exe
[123/177 1.5/sec] Linking CXX executable tests\test_api_headers_model.exe
[124/177 1.5/sec] Linking CXX executable tests\test_api_headers_parser.exe
[125/177 1.5/sec] Linking CXX executable tests\test_api_headers_orderedentity.exe
[126/177 1.5/sec] Linking CXX executable tests\test_api_headers_units.exe
[127/177 1.5/sec] Linking CXX executable tests\test_api_headers_specificationrules.exe
[128/177 1.5/sec] Linking CXX executable tests\test_api_headers_printer.exe
[129/177 1.5/sec] Linking CXX executable tests\test_api_headers_error.exe
[130/177 1.5/sec] Linking CXX executable tests\test_api_headers_types.exe
[131/177 1.6/sec] Linking CXX executable tests\test_api_headers_generatorprofile.exe
[132/177 1.6/sec] Linking CXX executable tests\test_api_headers_componententity.exe
[133/177 1.6/sec] Linking CXX executable tests\test_api_headers_reset.exe
[134/177 1.6/sec] Linking CXX executable tests\test_api_headers_importedentity.exe
[135/177 1.6/sec] Linking CXX executable tests\test_api_headers_version.exe
[136/177 1.6/sec] Linking CXX executable tests\test_api_headers_variable.exe
[137/177 1.6/sec] Building CXX object src\bindings\python\CMakeFiles\reset.dir\swig_intermediaries\resetPYTHON_wrap.cxx.obj
[138/177 1.6/sec] Building CXX object src\bindings\python\CMakeFiles\componententity.dir\swig_intermediaries\componententityPYTHON_wrap.cxx.obj
[139/177 1.6/sec] Building CXX object src\bindings\python\CMakeFiles\component.dir\swig_intermediaries\componentPYTHON_wrap.cxx.obj
[140/177 1.6/sec] Building CXX object src\bindings\python\CMakeFiles\importsource.dir\swig_intermediaries\importsourcePYTHON_wrap.cxx.obj
[141/177 1.6/sec] Building CXX object src\bindings\python\CMakeFiles\error.dir\swig_intermediaries\errorPYTHON_wrap.cxx.obj
[142/177 1.6/sec] Building CXX object src\bindings\python\CMakeFiles\validator.dir\swig_intermediaries\validatorPYTHON_wrap.cxx.obj
[143/177 1.6/sec] Linking CXX shared module src\bindings\python\libcellml\_reset.pyd
   Creating library src\bindings\python\reset.lib and object src\bindings\python\reset.exp
   Creating library src\bindings\python\reset.lib and object src\bindings\python\reset.exp
[144/177 1.6/sec] Building CXX object src\bindings\python\CMakeFiles\model.dir\swig_intermediaries\modelPYTHON_wrap.cxx.obj
[145/177 1.7/sec] Linking CXX shared module src\bindings\python\libcellml\_componententity.pyd
   Creating library src\bindings\python\componententity.lib and object src\bindings\python\componententity.exp
   Creating library src\bindings\python\componententity.lib and object src\bindings\python\componententity.exp
[146/177 1.7/sec] Linking CXX shared module src\bindings\python\libcellml\_component.pyd
   Creating library src\bindings\python\component.lib and object src\bindings\python\component.exp
   Creating library src\bindings\python\component.lib and object src\bindings\python\component.exp
[147/177 1.7/sec] Linking CXX shared module src\bindings\python\libcellml\_importsource.pyd
   Creating library src\bindings\python\importsource.lib and object src\bindings\python\importsource.exp
   Creating library src\bindings\python\importsource.lib and object src\bindings\python\importsource.exp
[148/177 1.7/sec] Linking CXX shared module src\bindings\python\libcellml\_validator.pyd
   Creating library src\bindings\python\validator.lib and object src\bindings\python\validator.exp
   Creating library src\bindings\python\validator.lib and object src\bindings\python\validator.exp
[149/177 1.7/sec] Building CXX object src\bindings\python\CMakeFiles\entity.dir\swig_intermediaries\entityPYTHON_wrap.cxx.obj
[150/177 1.7/sec] Building CXX object src\bindings\python\CMakeFiles\logger.dir\swig_intermediaries\loggerPYTHON_wrap.cxx.obj
[151/177 1.7/sec] Building CXX object src\bindings\python\CMakeFiles\generatorprofile.dir\swig_intermediaries\generatorprofilePYTHON_wrap.cxx.obj
[152/177 1.7/sec] Building CXX object src\bindings\python\CMakeFiles\namedentity.dir\swig_intermediaries\namedentityPYTHON_wrap.cxx.obj
[153/177 1.7/sec] Linking CXX shared module src\bindings\python\libcellml\_error.pyd
   Creating library src\bindings\python\error.lib and object src\bindings\python\error.exp
   Creating library src\bindings\python\error.lib and object src\bindings\python\error.exp
[154/177 1.7/sec] Linking CXX shared module src\bindings\python\libcellml\_model.pyd
   Creating library src\bindings\python\model.lib and object src\bindings\python\model.exp
   Creating library src\bindings\python\model.lib and object src\bindings\python\model.exp
[155/177 1.7/sec] Building CXX object src\bindings\python\CMakeFiles\importedentity.dir\swig_intermediaries\importedentityPYTHON_wrap.cxx.obj
[156/177 1.7/sec] Linking CXX shared module src\bindings\python\libcellml\_logger.pyd
   Creating library src\bindings\python\logger.lib and object src\bindings\python\logger.exp
   Creating library src\bindings\python\logger.lib and object src\bindings\python\logger.exp
[157/177 1.7/sec] Building CXX object src\bindings\python\CMakeFiles\generator.dir\swig_intermediaries\generatorPYTHON_wrap.cxx.obj
[158/177 1.7/sec] Linking CXX shared module src\bindings\python\libcellml\_namedentity.pyd
   Creating library src\bindings\python\namedentity.lib and object src\bindings\python\namedentity.exp
   Creating library src\bindings\python\namedentity.lib and object src\bindings\python\namedentity.exp
[159/177 1.8/sec] Linking CXX shared module src\bindings\python\libcellml\_entity.pyd
   Creating library src\bindings\python\entity.lib and object src\bindings\python\entity.exp
   Creating library src\bindings\python\entity.lib and object src\bindings\python\entity.exp
[160/177 1.8/sec] Linking CXX shared module src\bindings\python\libcellml\_generatorprofile.pyd
   Creating library src\bindings\python\generatorprofile.lib and object src\bindings\python\generatorprofile.exp
   Creating library src\bindings\python\generatorprofile.lib and object src\bindings\python\generatorprofile.exp
[161/177 1.8/sec] Linking CXX shared module src\bindings\python\libcellml\_importedentity.pyd
   Creating library src\bindings\python\importedentity.lib and object src\bindings\python\importedentity.exp
   Creating library src\bindings\python\importedentity.lib and object src\bindings\python\importedentity.exp
[162/177 1.8/sec] Building CXX object src\bindings\python\CMakeFiles\printer.dir\swig_intermediaries\printerPYTHON_wrap.cxx.obj
[163/177 1.8/sec] Building CXX object src\bindings\python\CMakeFiles\version.dir\swig_intermediaries\versionPYTHON_wrap.cxx.obj
[164/177 1.8/sec] Building CXX object src\bindings\python\CMakeFiles\units.dir\swig_intermediaries\unitsPYTHON_wrap.cxx.obj
[165/177 1.8/sec] Building CXX object src\bindings\python\CMakeFiles\parser.dir\swig_intermediaries\parserPYTHON_wrap.cxx.obj
[166/177 1.8/sec] Linking CXX shared module src\bindings\python\libcellml\_generator.pyd
   Creating library src\bindings\python\generator.lib and object src\bindings\python\generator.exp
   Creating library src\bindings\python\generator.lib and object src\bindings\python\generator.exp
[167/177 1.8/sec] Building CXX object src\bindings\python\CMakeFiles\orderedentity.dir\swig_intermediaries\orderedentityPYTHON_wrap.cxx.obj
[168/177 1.8/sec] Building CXX object src\bindings\python\CMakeFiles\specificationrule.dir\swig_intermediaries\specificationrulePYTHON_wrap.cxx.obj
[169/177 1.8/sec] Linking CXX shared module src\bindings\python\libcellml\_printer.pyd
   Creating library src\bindings\python\printer.lib and object src\bindings\python\printer.exp
   Creating library src\bindings\python\printer.lib and object src\bindings\python\printer.exp
[170/177 1.8/sec] Building CXX object src\bindings\python\CMakeFiles\variable.dir\swig_intermediaries\variablePYTHON_wrap.cxx.obj
[171/177 1.8/sec] Linking CXX shared module src\bindings\python\libcellml\_version.pyd
   Creating library src\bindings\python\version.lib and object src\bindings\python\version.exp
   Creating library src\bindings\python\version.lib and object src\bindings\python\version.exp
[172/177 1.8/sec] Linking CXX shared module src\bindings\python\libcellml\_units.pyd
   Creating library src\bindings\python\units.lib and object src\bindings\python\units.exp
   Creating library src\bindings\python\units.lib and object src\bindings\python\units.exp
[173/177 1.9/sec] Linking CXX shared module src\bindings\python\libcellml\_orderedentity.pyd
   Creating library src\bindings\python\orderedentity.lib and object src\bindings\python\orderedentity.exp
   Creating library src\bindings\python\orderedentity.lib and object src\bindings\python\orderedentity.exp
[174/177 1.9/sec] Linking CXX shared module src\bindings\python\libcellml\_specificationrule.pyd
   Creating library src\bindings\python\specificationrule.lib and object src\bindings\python\specificationrule.exp
   Creating library src\bindings\python\specificationrule.lib and object src\bindings\python\specificationrule.exp
[175/177 1.9/sec] Linking CXX shared module src\bindings\python\libcellml\_parser.pyd
   Creating library src\bindings\python\parser.lib and object src\bindings\python\parser.exp
   Creating library src\bindings\python\parser.lib and object src\bindings\python\parser.exp
[176/177 1.9/sec] Linking CXX shared module src\bindings\python\libcellml\_variable.pyd
   Creating library src\bindings\python\variable.lib and object src\bindings\python\variable.exp
   Creating library src\bindings\python\variable.lib and object src\bindings\python\variable.exp
[177/177 1.9/sec] Running utility command for python_bindings
06:16:22: The process "C:\Program Files\CMake\bin\cmake.exe" exited normally.
06:16:22: Elapsed time: 01:55.
@hsorby
Copy link
Contributor

hsorby commented Mar 13, 2020

What is the compiler info here? (And generator used?)

@agarny
Copy link
Contributor Author

agarny commented Mar 13, 2020

I am using MSVC 2017 and Ninja as a generator.

@hsorby
Copy link
Contributor

hsorby commented Sep 14, 2021

I have now come across this same problem. However I have the additional problem of the build not completing because zlib headers are not found.

Out of interest was this from a multi-config ninja build or single config build? (I realise some time has passed since this was first raised.)

@agarny
Copy link
Contributor Author

agarny commented Sep 14, 2021

Out of interest was this from a multi-config ninja build or single config build? (I realise some time has passed since this was first raised.)

Surprisingly enough, I can't remember. Still, I just gave it another try:

  • I use Qt Creator 5.0.0 with CMake 3.21.1 (shipped with Qt), Ninja 1.10.2, and MSVC 2017 (15.9.28307.1525);
  • I started with no CMakeLists.txt.user file (i.e. the file that Qt Creator uses to configure a CMake project);
  • I opened libCellML's CMakeLists.txt file in Qt Creator and configured things in such a way that I can build the different build types with the different targets, i.e.
    libCellML
  • I built the debug version just fine, i.e. no warning D9025 anymore which is what I was expecting thanks to this; and finally
  • I ran the test_generator target just fine too.

So, as far as I am concerned, this issue should actually be closed. Yet, the fact that you came across this exact issue makes me wonder what you used...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants