Category : build

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 ..

Read more

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[3]: *** [CMakeFiles/main.dir/build.make:106: main.exe] Error 1 make[2]: *** [CMakeFiles/Makefile2:158: CMakeFiles/main.dir/all] Error ..

Read more

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 ..

Read more

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..

Read more