Header file missing

Added by Thomas Meister almost 3 years ago

I installed CUTE with the Cevelop IDE and have been trying to play with the framework. When I try to build the (default) unittest, the compiler cannot find cute.h and neither can I. I installed every item from the updatesite (Optional Features and Plugin).
Can you please check if the deployment still includes the header file or give me some hint on where it should be located (on Linux)?


Replies (3)

RE: Header file missing - Added by Thomas Corbat almost 3 years ago

Hi Thomas

The header files should be included in the project on creation, located in the cute folder. As long as you create a new CUTE project, this inclusion should happen automatically. You don't need any of the optional features for that.
What version of Cevelop and CUTE are you using? Actually, Cevelop should refrain from installing CUTE, since it is already part of the core product of Cevelop.

I've tried to reproduce the problem with Cevelop 1.2.0 and the upcomming 1.3.0 (on Windows), both worked as expected.

Does Cevelop report any error on project creation? Is there anything in the error log? Or if you start Cevelop from a console, is there any error output?

In the new project wizard, when you look at the second wizard page (click Next > instead of Finish), is there a combo box for selcting the CUTE Version? Does it have entries?

Kind Regards
Thomas

RE: Header file missing - Added by Thomas Meister almost 3 years ago

Thanks for your reply. Unfortunately I wasn't able to look into it any sooner.

When setting up a cute project it works as expected. I somehow assumed that adding a cute nature to a c++ project would allow me to run the unit tests from the normal c++ (executable/library) project, which doesn't seem to be the case. It was just a misunderstanding by me.
But now I wonder what this cute nature is for.

RE: Header file missing - Added by Thomas Corbat almost 3 years ago

The CUTE nature, arguably a bit unintuitive, allows the execution of the project using a CUTE launch configuration (e.g. Run As... -> CUTE Test). The CUTE launch configuration automatically parses the console output and displays the test results view. The CUTE nature also enables the menu entry CUTE -> Change CUTE Version..., which will actually add the headers to the project. That's what you might have been looking for. :)

(1-3/3)