Cute-Test / cdt-plugin

Eclipse CDT integration of the CUTE Unit Testing Framework
Eclipse Public License 2.0
0 stars 1 forks source link

Latest SConsolidator plugin for Eclipse v.4.9 #6

Open murughri opened 4 years ago

murughri commented 4 years ago

Expected Behaviour

I am pilotting SCONS and SCONS inside Eclipse IDE for my Project. Since I am new, I am not able to configure myself easily by referring the Manuals available in the Webpage: https://cute-test.com/guides/scons/.

Actual Behavior

CUTE or CUTE Eclipse Plug-in Version, Operating System and Compiler

Hence I would request if there exist any eloborate Manual or HowTo's.

Thanks.

PeterSommerlad commented 4 years ago

Such a general request is hard to answer. Have you tried

  1. create a new C/C++ project, select "C++ Managed Build" and then from the wizard open the SCons subtree and choose "SCons executable project"

  2. doing so will ask you to set the path to SCons.

  3. if you put a "hello world" C++ program into your new SCons project and you can build and run it successfully the setup seems OK.

Alteranatively, if you already have a project with source file you can create from the File Menu "New SCons project from existing source"

If you have any concrete problems with such, please be more specific.

murughri commented 4 years ago

Hi @PeterSommerlad Thanks for your quick feedback.

Previously I was giving the path of SConstruct.py. Later I realised my mistake and gave scons.bat file Location and the builder was invoked successfully.

Another issue I faced, SCONS is trying to store the excecutable in debug Folder which doesnt exist by default in my test project and got the below error.

scons: Building targets ... scons: building associated VariantDir targets: Debug gcc -o Debug\main.o -c -O0 -g3 -Wall -c -fmessage-length=0 main.c Assembler messages: Fatal error: can't create Debug\main.o: No such file or directory scons: building terminated because of errors. scons: *** [Debug\main.o] Error 1 scons: Clearing cached node information ... scons: done clearing node information. scons>>>

When I create an empty Debug folder it generates and stores the exe files successfully. Do i miss something in the configuration? Thanks again.