I uninstalled version 4 and did a clean install of Dev-C++ 4.9.5.0
I tried compiling a program which I had previously compiled with version 4.
The Beta 5 version did not recognize the functions in dirent.h.
I had the following errors: link error undefined reference (opendir) link error undefined reference (readdir)
Next I completely uninstalled the Beta 5 version and did a clean install of the previous version 4 and everthing works fine.
How can I use Beta 5 version with the functions in dirent.h?
I think Mingw version used in 4.9.5.0 is slightly diffrerent from the old one. Try to add: -lmingwex to project_options->linker_options. Martin
Martin you are beautiful. Now how else could I have found out that opendir, closedir etc. were in mingwex?
I'm been pulling out what little hair I have left for the past 3 hours trying to figure this thing out. I posted to the group, but no response.
Thanks. Murad
Log in to post a comment.
I uninstalled version 4 and did a clean install of Dev-C++ 4.9.5.0
I tried compiling a program which I had previously compiled with version 4.
The Beta 5 version did not recognize the functions in dirent.h.
I had the following errors:
link error undefined reference (opendir)
link error undefined reference (readdir)
Next I completely uninstalled the Beta 5 version and did a clean install of the previous version 4 and everthing works fine.
How can I use Beta 5 version with the functions in dirent.h?
I think Mingw version used in 4.9.5.0 is slightly diffrerent from the old one. Try to add: -lmingwex to project_options->linker_options.
Martin
Martin you are beautiful. Now how else could I have found out that opendir, closedir etc. were in mingwex?
I'm been pulling out what little hair I have left for the past 3 hours trying to figure this thing out. I posted to the group, but no response.
Thanks.
Murad