[Scons-users] "executable should have exactly one target with the suffix: .exe" error
nokturnal at nokturnal.pl
Sun Aug 18 04:49:47 EDT 2013
I've got error when executing my Sconscript script, but only under
Windows/Cygwin, under Linux everything works fine:
"scons: *** An executable should have exactly one target with the
The problematic line looks like this:
env.Object(input_src)], LIBS=[LIBRARYNAME + LIB_POSTFIX,'m'])
MIDI_SEQ_TEST_EXE='midiseq' + EXE_EXT_1
midiOut_test_src = ["../demo/midi_output/midiTest.c"]
input_src = ["tos/ikbd.s"]
LIBRARYNAME = 'amidi'
The problem is that I don't need exe, because I use cross compiler and
target totally different platform than win32 and i'm not outputting
binaries with this extension at all. Second thing, changing EXE_EXT_1 to
'exe' doesn't solve anything at all.
Anyone knows how to fix it? I've seen that several people had similar
problem in the past, but I haven't seen any solution on the web.
More information about the Scons-users