We are using make utility in windows to build our project. The version of make is "GNU Make 3.81". I need to understand how our project is built and so have added additional log lines like below which is working as expected — $(warning Entering componentsWin32.mak ) Additionally I need to find the current directory ..
I’m working on a project in C++ configured using CMake. Each time I build the project, all files are recompiled, which is unbearable considering the time it takes. With Visual Studio Code I’m trying to use VSCode and the CMake Extension. The CMake:Configure command works well and so does the CMake:Build command. It takes a ..
I am new to VS code. I have configured it using Clang on macOS using the provided [VS code documentation] (https://code.visualstudio.com/docs/cpp/config-clang-mac) It works, I can build and debug. Great! My question is: how do I configure VS Code to build in Release mode? I don’t seem to be able to find any info in the ..
I have been building mingw-w64 using mingw-builds (https://github.com/niXman/mingw-builds) successfully for a long time. Now I wanted to build g++ 10.3, but somehow it does not work anymore. I have found no related questions and I am not aware of any mailing list dealing with such issues. I am working with mingw-builds commit 6b7989789154e91110585b0d2b51456f4287f342. My command ..
and thank you to anyone taking time to read through my issue. I am very new to using vscode for c++ development as I’ve always used Visual Studio for that and never really had to bother understanding how to include dependencies more manually than what VS offered. I hope I’ll still manage to express myself ..
So I have a simple template for C projects that I have created, and have used it to implement the bowling game kata to shake out the bugs. The template is for a C project using C11, and it uses GTest as the testing framework. I have got stuck with a linker issue when CMake ..
I have a c++ project which I try to build with Cygwin (with gcc compiler) in CLion. It compiles successfully, but on the linking stage I get an error: /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lasan /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lubsan collect2: error: ld returned 1 exit status make: *** [CMakeFiles/main.dir/build.make:106: main.exe] Error 1 make: *** [CMakeFiles/Makefile2:158: CMakeFiles/main.dir/all] Error ..
I have been trying already for a few days to build Ipopt on Windows 10 with msys64 GNU (latest- version). I followed all steps from instruction manual, did make, make test and make install. However, my Ipopt installation doesn’t contain .hpp and .cpp files in src repository. I have only dynamic link libraries. As make ..
I have built Qt from git as per the instructions given in their wiki. However, I was unable to build a project using this particular version of Qt using cmake, stating that it cannot generate a proper runtime path because the runtime libraries may be hidden by the Qt I specified. CMake Warning at krita/CMakeLists.txt:79 ..
environment A: centos7(same os) / gcc.7.3.1(higher gcc) environment B: centos7(same os) / gcc.4.8.5(lower gcc) I have built an C++ executable in environment A and run it in environment B. I haven’t had a problem so far, but could there be a problem with this approach? Source: Windows Que..