Category : build

I am trying to use ccache from CMake extension in Visual Studio Code. For this I added the following to settings.json: "cmake.configureArgs": [ "-DCMAKE_CXX_COMPILER_LAUNCHER=ccache", "-DCMAKE_CUDA_COMPILER_LAUNCHER=ccache", … ], However, the problem is that Visual Studio Code CMake extension adds the following flags to the command-line, and they seem to override ccache flags I passed: -DCMAKE_C_COMPILER:FILEPATH=/bin/x86_64-linux-gnu-gcc-9 -DCMAKE_CXX_COMPILER:FILEPATH=/bin/x86_64-linux-gnu-g++-9 ..

Read more

Sorry for addressing this question here but I didn’t find anything on github. I spent a lot of time trying to build Carla simulator and I’ve got this error on make PythonAPI xerces-c_3.lib(DOMStringPool.obj) : error LNK2038: mismatch detected for ‘RuntimeLibrary’: value ‘MD_DynamicRelease’ doesn’t match value ‘MT_StaticRelease’ in libcarla.obj xerces-c_3.lib(XPathSymbols.obj) : error LNK2038: mismatch detected for ..

Read more