User forums > Help

Replacing compiler settings with a build script?

<< < (5/7) > >>

stahta01:

--- Quote from: oBFusCATed on March 18, 2014, 09:07:57 am ---Do you see your python script being executed in the log?
If not then you've not setup custom makefile!

--- End quote ---

Or his python script does NOT do output to stdout or stderr.

Does CB display both stdout and stderr?

My testing seem to implies that it does on Windows 7.

Tim S.

oBFusCATed:
Yes it does display both stdout and stderr.

But you've made the same mistake as colin - the ask for rebuild command is empty, it must be set and it must return proper value (0 or 1). C::B uses it to see if there is something to build or not.

edit: I've not looked at the reported error. It is invalid on my machine, too, but this is to be expected. Probably Alpha should comment when *No compiler* should be used. I think he has added it.

stahta01:

--- Quote from: oBFusCATed on March 25, 2014, 09:13:19 pm ---Yes it does display both stdout and stderr.

But you've made the same mistake as colin - the ask for rebuild command is empty, it must be set and it must return proper value (0 or 1). C::B uses it to see if there is something to build or not.

edit: I've not looked at the reported error. It is invalid on my machine, too, but this is to be expected. Probably Alpha should comment when *No compiler* should be used. I think he has added it.

--- End quote ---

It works with the value empty on windows 7 32 bit.

Tim S.

oBFusCATed:
Hm, it works on linux, too.

colin:
The script always output to stdout and stderr, and works fine when as a pre-step.
I have finally reduced my backlog so I will make some time next week to look at this further as I personally prefer Code::Blocks to Eclipse.

Thanks again everyone so far for feedback, I should have more time from Monday to continue looking into this problem.


UPDATE:
I'm currently not able to look into this any further as the business is not allowing any extra time to proceed with solving this problem, so I will have to try and deal with this is my own time.

Colin.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version