> You did not provide what platform and compiler you use so I presume you
> are on windows because "bad installation" is typical "error info" if the
> application can not find link library.
>
> 1) link fltk application statically (then you do not need to distribute
> fltk library itself)
>
> 2) depends on the compiler you use you might need to distribute the
> standard c library. For instance if you are using microsoft compilers,
> you might need to install on the target platform multi-threaded dll. The
> "dirty way" is to copy the library (including manifest) to the same
> directory as your executable (you will find it somewhere like
> *\Microsoft Visual Studio *\VC\redist\x86\Microsoft.VC80.CRT)  or make
> "proper" installation of runtime to avoid redundancy (for that you need
> to dig out info about that ie from mocrosoft site).
>
> If you use mingw compiller, you can link to it statically too and be
> done without any additional library.
>
> 3) Depends what other library you use. Opengl is normally installed on
> windows so if you do not use any third-party lib, you should be fine.

Thank you for your reply, but I am still having troubles.

It is on windows XP. I am using the Visual Studio 2005. I will try to explain 
my problem from the beginning,because I don't really understand how to make it 
run.

1) to have run my application on my computer, I had to add some libraries to my 
project. Configuration Properties->Linker->Command Line - "wsock32.lib 
opengl32.lib glu32.lib fltk.lib fltkgl.lib flulibd.lib  comctl32.lib"
2)Configuration Properties->C/C++->Code Generation->Runtime Library - 
"Multi-threaded DLL (/MD)"...I found somewhere that I should change this to 
Multi-threaded, but when I do so, I get error LNK2005 ...already defined in 
LIBCMT.lib   file:MSVCRT.lib
3)I found that for running the C++ application from Visual Studio 2005, you 
need to install vcredist_x86.exe file, which contains some run time libraries 
for c++. So I did it on the other computer.

Now, when I want to run my app on other computer, what files, except the exe 
file from release folder of my project, do I have to provide.

Thanks again for your reply and sorry for my maybe stupid questions - I am 
completely new in this problematic.
Tomas
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to