imacarthur wrote:
> On 3 Oct 2009, at 14:15, lee wrote:
>> 2>Project : warning PRJ0018 : The following environment variables
>> were not found:
>> 2>$(FLTKDIR)
>
> As Greg has already said in his reply, there's your problem right
> there... It seems that the pinocchio build file is looking for an
> environment variable FLTKDIR to tell it how to find the fltk that you
> have installed.
>
> So, exit VS2005, set the environment variable FLTKDIR to point to
> your fltk installation, restart VS2005 and hope for the best!
Yes, and if that doesn't work for some reason, you can probably
just hardcode the path to FLTKDIR by tweaking pinocchio's
./DemoUI/DemoUI.vcproj
file in a text editor.
I just grepped the entire pinocchio project for FLTKDIR, and found
it only in two files; the README and that vcproj file, eg:
Sat 10/03/09 07:22:16 /tmp/Pinocchio
[r...@tahoe] ## ROOT ## 827 # grep -R FLTKDIR .
./README.txt:Under Windows, set the FLTKDIR environment variable appropriately
so
./DemoUI/DemoUI.vcproj:
AdditionalIncludeDirectories="$(FLTKDIR)"
./DemoUI/DemoUI.vcproj:
AdditionalDependencies="$(FLTKDIR)/lib/fltk.lib $(FLTKDIR)/lib/fltkgl.lib
opengl32.lib wsock32.lib comctl32.lib"
./DemoUI/DemoUI.vcproj:
AdditionalIncludeDirectories="$(FLTKDIR)"
./DemoUI/DemoUI.vcproj:
AdditionalDependencies="$(FLTKDIR)/lib/fltk.lib $(FLTKDIR)/lib/fltkgl.lib
opengl32.lib wsock32.lib comctl32.lib"
So only if the environment variable stuff doesn't work, I'd say
you could probably replace all occurrences of
$(FLTKDIR)
..in that file with e.g.
c:/fltk-1.1.10
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk