2015-06-07 09:37 AM
Hi,
I've generated a project with cubeMx for System workbench. Now, I add some c++ classes which does not compile because they are compiled by eclipse with gcc and not g++. Can anyone tell me how to fix this ? I can neither find G++ options in project settings. Thanks Julien #c++ #sw4stm32 #cpp2015-06-08 02:01 AM
You may be more lucky asking this question in the OpenSTM32 (System Workbench)
.2015-06-09 07:10 AM
Can't you just set the compiler to g++ (see attached)?
thanks, Paul ________________ Attachments : g__.png : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzQU&d=%2Fa%2F0X0000000bLl%2FNPQ3vVRZmgOL8GDgp7nBOxwj1YKgvYUWEcsel.Dpebs&asPdf=false2015-07-17 07:22 PM
2015-07-19 06:43 PM
The problem was that after converting to C++ file, the linker file is removed from project properties. Have to go to settings and give in the linker file again.