Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
7747 Discussions

How to compile using GCC 12, boost and OpenMP

BryanBarbosa
Beginner
294 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
271 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


VarshaS_Intel
Moderator
211 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


VarshaS_Intel
Moderator
158 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


Reply