Hello!
When I try to compile a project, I receive messages about library inconsistencies:
g++.exe -LO:\msys64\mingw64\lib -o bin\Debug\cppDislin.exe obj\Debug\cppDislin.o -m64 O:\MyProgramming\cppDislin\discpp64.a -luser32 -lgdi32 -lopengl32 -m32
O:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible O:\msys64\mingw64\lib/libuser32.a when searching for -luser32
O:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible O:\msys64\mingw64\lib\libuser32.a when searching for -luser32
......................
The libraries are all 64-bit and I compile the project in 64-bit mode. Project https://disk.yandex.ru/d/YbsNPpbG6Q-nPg
Please tell me how to compile the project correctly.
Here are self-contradictory compiler options:
g++.exe -LO:\msys64\mingw64\lib -o bin\Debug\cppDislin.exe obj\Debug\cppDislin.o -m64 O:\MyProgramming\cppDislin\discpp64.a -luser32 -lgdi32 -lopengl32 -m32
Thank you very much! Sorry for the carelessness.
Just curious where did you get these compiler flags? If you ran some Makefile then that Makefile is written incorrectly and needs fixing.
Hello, Mikhail!
The mistake was that I accidentally checked the wrong box in the Debug settings. I visited your website, as I understand it, you are actively using Code Blocks. I would like to be able to visit your website and communicate directly (if possible).Hello, Mikhail!
The mistake was that I accidentally checked the wrong box in the Debug settings. I visited your website, as I understand it, you are actively using Code Blocks. I would like to be able to visit your website and communicate directly (if possible).