DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2393
Version: 1.3-current


Ah, that explains why it doesn't build the first time, but does build the
second time.

The fluid command is actually generating the source files correctly, but
it's the followup CD command that fails, leaving each test project in a
state where the source files were created OK, so that on the second build,
it builds fine because it sees the source files are there, and doesn't
again try to use fluid to build them.

And I guess after a 'rebuild' or 'clean build' the source files remain,
and so continue to build successfully.

So how do we go about fixing this?
I could fix the dsp and vcproj files, but if they're created by fluid,
possibly the source of the issue is in fluid, in particular the
fluid/ide_visualc.cxx file, eg:

C:\> findstr "visualc" fluid\*.cxx
[..]
fluid\ide_visualc.cxx:    fprintf(f, "\tcd ..\\ide\\visualc \r\n");
fluid\ide_visualc.cxx:    fprintf(f, "\tcd ..\\ide\\visualc \r\n");

I'd suggest using the DOS 'pushd' and 'popd' commands instead of CD, since
it appears the intention of the CD/FLUID/CD build commands is to justrun
fluid from the test directory (use PUSHD instead of CD to get there), then
return to the IDE directory (use POPD instead of CD to return).

Matt, if you're watching, does that sound right?


Link: http://www.fltk.org/str.php?L2393
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to