• XSS.stack #1 – первый литературный журнал от юзеров форума

Как подключить Boost к проекту под linux в Visual Studio?

Alexey18

(L3) cache
Пользователь
Регистрация
11.06.2023
Сообщения
163
Реакции
30
Подскажите, может кто знает? Использую удалённую отладку по ssh
Так я делаю в windows проектах:
1738952078168.png

Но в linux так не работает:
1738952184991.png


Может я что-то не то выбираю при подключении boost?
 
27.jpg
 
Щас в комерческой разработке(сервера/десктоп) мало вакансий под винду как бы
PS. I think you might've missed the meme.)




Early 2000s (think Windows XP/Server 2003 era): most enterprise or in-house apps were Windows based. Over time, shifted towards cross platform (by the mid 2000s, java was already widespread) or web (around 2010, html5 specs were taking shape, AngularJS what not) (turning point for "web apps over desktop apps"). Then forward to 2014, linux + cloud (with the launch of Docker 1.0) = radical shift and that's the end of the story. The full picture is a bit more complex but yeah. Not to downplay Microsoft, credit where credit's due right: .NET core went open source, Azure started supporting linux VMs etc.

Ballmer-1-re-size.jpg
 
Последнее редактирование:
PS. I think you might've missed the meme.)




Early 2000s (think Windows XP/Server 2003 era): most enterprise or in-house apps were Windows based. Over time, shifted towards cross platform (by the mid 2000s, java was already widespread) or web (around 2010, html5 specs were taking shape, AngularJS what not) (turning point for "web apps over desktop apps"). Then forward to 2014, linux + cloud (with the launch of Docker 1.0) = radical shift and that's the end of the story. The full picture is a bit more complex but yeah. Not to downplay Microsoft, credit where credit's due right: .NET core went open source, Azure started supporting linux VMs etc.

Посмотреть вложение 103711


Balyat. So you're from the USA. The situation in Russia is different.
 
сто лет не использую студию и ставить этого монстра нет желания, но точно знаю, что она поддерживает cmake, вроде как с 2019 даже, 2022 - точно
и в cmake это будет выглядеть так
C-подобный:
set(BOOST_ROOT "C:/boost/")
find_package(Boost 1.67.0 REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
   
add_executable(project_name
        main.cpp
)

   
target_link_libraries(project_name
        ${Boost_LIBRARIES}
)
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх