Discussion:
[Dev-C++] "iconv.dll not found"
simon kendall
2006-09-01 19:10:32 UTC
Permalink
Hello everyone.
I have a problem, and it seriously pisses me off. It's quite simple,
actually. The problem is - when I run the program, the program says "This
program could not be started because iconv.dll
could not be found, this may be fixed by reinstalling the program".
Now, I've moved the file around(although never removing, only copying), but
it still says the same error no matter what I do. I've also entered the file
in the compiler options parameters for the linker, but that didn't help
either. I belive this to be a compiler error, since it's from the files
included with the compiler, but if it is, then why is it reported in
runtime? I wouldn't think it is from my program either, because I
haven't done anything with icons or iconviews(despite,
even if I would tell the program to quit immediately after startup, I still
get the same error).

Anyone know why this happened and what I can do about it? Grateful for an
answer.
Per Westermark
2006-09-02 13:24:21 UTC
Permalink
First of all:
You say "when I run the program", but what is "the program"? Is it the
Dev-C++ environment? Is it the compiler? Is it a program you have built?

To my knowledge iconv.dll doesn't have anything with icons to do. If it is
the file I think it is, then it handles conversion of text string between
different character sets and encodings, i.e. for internationalization of a
program.

If a program needs a DLL to run, it can _never_ be a compiler error. The
compiler doesn't have _anything_ to do with requird DLL files. Need of a
DLL is controlled by either manual loading of the DLL file through an
explicit call, or the application being linked to an export library for
the specific DLL.

When building an application, you may specify libraries *.lib or lib*.a in
the make file. DLL files are not specified as parameters to the linker,
since they are dynamic link libraries, i.e. will be linked to first then
the application runs.

If you do need iconv.dll, just google for it. There are a number of sites
that have it for free download. Place it in the same directory as the
application exe file, or in your system32 directory.

/Per W
Post by simon kendall
Hello everyone.
I have a problem, and it seriously pisses me off. It's quite simple,
actually. The problem is - when I run the program, the program says "This
program could not be started because iconv.dll
could not be found, this may be fixed by reinstalling the program".
Now, I've moved the file around(although never removing, only copying), but
it still says the same error no matter what I do. I've also entered the file
in the compiler options parameters for the linker, but that didn't help
either. I belive this to be a compiler error, since it's from the files
included with the compiler, but if it is, then why is it reported in
runtime? I wouldn't think it is from my program either, because I
haven't done anything with icons or iconviews(despite,
even if I would tell the program to quit immediately after startup, I still
get the same error).
Anyone know why this happened and what I can do about it? Grateful for an
answer.
Loading...