Category : g++

fileman.cpp:1:10: fatal error: ‘boost/filesystem.hpp’ file not found #include "boost/filesystem.hpp" I understand the boost libraries should be located in usr/local/lib, but my lib directory only has "bin" and "share" folders in it. When I use findmd name- boost , this is returned /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/special/tests/data/boost.npz /System/Library/PrivateFrameworks/XGBoostFramework.framework /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/PrivateFrameworks/XGBoostFramework.framework /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk/System/Library/PrivateFrameworks/XGBoostFramework.framework/Versions/A/XGBoostFramework.tbd I don’t think any of these are the proper files ..

Read more

We have CI with base distributive buster with some unstable packages, gcc-11, g++-11 (and therefore libc and libstdc++). On some of our 200 builds we have unexpected linkage errors, for example: 16:18:33 /usr/bin/c++ -g -O2 -fdebug-prefix-map=/jenkins_node/workspace/ru.ips.core.sms_gate-develop/core-sms-gate-1.0.153.dev=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z, relro CMakeFiles/smsgate.dir/src/sms_gate.cpp.o -o ../bin/smsgate -Wl,-rpath, /usr/local/lib:/usr/lib/oracle/18.3/client/lib /usr/local/lib/libcommon.so /usr/local/lib/libdb.so /usr/lib/i386-linux-gnu/libssl.so /usr/lib/oracle/18.3/client/lib/libclntsh.so /usr/lib/i386-linux-gnu/libboost_log.so.1.76.0 -lpthread /usr/lib/i386-linux-gnu/libboost_program_options.so.1.76.0 ..

Read more

I have installed MinGW, added environment variable, added new build system file CPP.sublime-build in sublime Packages/User I have even tried to reinstall and tried many other things but I cannot run cpp file using sublime Go through all the screenshots I tried many build system files (CPP.build-sytem) from stackoverflow ansers, from blogs (https://stephencoakley.com/2015/01/21/guide-setting-up-a-simple-c-development-environment-on-windows#:~:text=Now%2C%20to%20compile%20a%20C%2B%2B,hitting%20Ctrl%2BShift%2BB.) and from ..

Read more

#include <stdio.h> #include <SFML/Graphics.hpp> class Shape { public: int size = 50; }; class Circle : public Shape { public: Circle(int x_pos, int y_pos) { sf::CircleShape shape(size); sf::CircleShape shape = shape; int x = x_pos; int y = y_pos; } }; class Rectangle : public Shape { public: Rectangle(int x_pos, int y_pos) { sf::RectangleShape shape(size, ..

Read more