Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7942 Discussions

How to compile using GCC 12, boost and OpenMP

BryanBarbosa
Beginner
677 Views

Hi! I'm trying to compile and run a C++ code written in my computer that uses boost and OpenMP. I usually compile the code on my computer like this:

 

g++-12 -fopenmp src/Individual.cpp src/Simulation.cpp main.cpp -o main -I /opt/homebrew/opt/boost/include -std=c++17

 

So, I need to know how to install gcc/g++ 12, boost and OpenMP for compiling it. Could someone help me? 

Labels (1)
0 Kudos
3 Replies
VarshaS_Intel
Moderator
654 Views

Hi,


Thanks for posting in Intel Communities.


Sorry for the inconvenience caused to you. These forums are intended to support queries related to Intel Products.  We do not support GCC.

Could you please let us know if you have any issues with the Intel compilers?


Thanks & Regards,

Varsha


0 Kudos
VarshaS_Intel
Moderator
594 Views

Hi,


We have not heard back from you. Could you please let us know if you have any queries related to Intel Products?


Thanks & Regards,

Varsha


0 Kudos
VarshaS_Intel
Moderator
541 Views

Hi,


We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.


Thanks & Regards,

Varsha


0 Kudos
Reply