News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Scons as custom makefile problem

Started by Thorris, September 16, 2006, 09:31:06 PM

Previous topic - Next topic

Thorris

Hello,

I'm using Scons through the custum makefile option to build a project. Recently this stopped to work. When I try to compile the project codeblocks complains about a missing separator. I don't remember the moment it stopped to work. By the way, I use the latest nightly builds.

Error message:
SConstruct:1: *** missing separator.  Stop.
Process terminated with status 2 (0 minutes, 1 seconds)
1 errors, 0 warnings

I heard that there were some changes. Any clues what can cause this.

Thanks, Thorris.

mandrav

I am not saying it's not a C::B bug (Makefile-based projects are not tested with virtual targets), but this looks like a SCons error...
Be patient!
This bug will be fixed soon...

Thorris

Hello,

I don't think it's a problem with Scons, since the SConstruct file has not been changed. On my laptop I run an older codeblocks version and it works with the same SConstruct file. Furthermore it works from the command line.

I wonder why codeblocks even processes the custom makefile, since that shouldn't be necessary.

Ciao, Thorris.

yop

It doesn't process the Makefile. Why would you think it did? It only takes your custom build commands and runs them. Check these out they might be screwed up and codeblocks tries to run scons on a non existing file or something. Also since the virtual targets addition if you try to build a virtual target cb will try to only build your first target using your custom make target command. Yianni I 'll place a bug report on this one since my guess is that this is the case (again ;))
Life would be so much easier if we could just look at the source code.