1) you can try to statically link the fltk library into the app -- I
don't know how it's done in visual studio, but I'm sure google or the
visual studio help will tell you

2) A quick and diry way is to find all the relevant DLL's and copy
them to the exe directory in other computers

3) The best way: you need to set up some kind of installer which will
also install of of the dependecies (such as fltk and maybe others).
Visual studio should have something of the kind. If not, you can try
one of the free ones:
inno setup
nsis

Shai



On 7/11/07, Linda <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I use FLTK 1.1.7 and OpenGL to write my programs. I compile the code with 
> Microsoft Visual Studio 2005 under Windows Vista Home Basic. Everything goes 
> well on my computer. But when I copy the .exe files to other Windows 
> computers and try to run the .exe files, I always get the error message "The 
> setup of the program is wrong. Maybe reinstall the program can fix the 
> problem".
>
> I guess that may be because other computers do not have FLTK 1.1.7 on them. I 
> need to do something more than just copying my .exe files to other computers. 
> But I do not know what to do. Could anyone give me some advices? Thank you 
> very much!
>
> Linda
>
>
> _______________________________________________
> fltk-opengl mailing list
> [email protected]
> http://lists.easysw.com/mailman/listinfo/fltk-opengl
>
>

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

Reply via email to