Phab C++ Headers

Hi,

I’m making an application with PhAB but I need to add some headers that are written in C++. When I add them the compiler sends me errors inside the headers.

Thanks

It sends me error in make. make: ***[all] Error 2
I add this parameters to make:

make -e CC=QCC LD=QCC

Wich compiler are you using? You have to pass -lang-c++ in order to compile in C++. Are you using makefile?

Sorry… did you already solve the issue?

Hi thanks for the answer.

Yes i solved my issue. It was passing -lang-c++ to the compiler

Thanks

could anyone please tell me that where do i change the makefile option when i am working on photon.(not momentics…code is written in PhAB callbacks)

thanks