I have CW 10 installed in two systems, Win 7 x64 and XP 32.
I am trying to compile the same code on both. On the Win 7 machine I imported a CW 6.3 project. It compiles OK, sort of. I am having a linked issue trying to link to another project's .sx file. Not the issue that I'm concerned about, though.
On the XP machine, I decided to build the project from scratch. I have a class declaration in a header file. The compiler does not recognize the key word "class" as in:
class filterTransposed {
float b [4];
float c [4];
float ramp_time_constant;
float ramp;float hold_count;
float a [4];
public:
...};
But tthe same header compiles OK on the Windows 7 install.
What to look for?
Thanks,
-Robert
Check the license setup. When the CF compiler does not find a C++ license, it does compile everything as plain c, even files with a cpp extensions.
Daniel
> it says that I have 28 days left.
Who is it, and for which feature?
In the end, the thing that fails is the CF compiler executable and it does not get the necessary license in your setup.
I did not look into any licensing issues recently, so I cannot really help. Just as first thing to check is a LM_LICENSE_FILE
environment variable. It did cause some issues in the past if it did exist and was set to some other licenses.
Daniel