I have installed Dev-C++ IDE on my system to run POSIX threads application. The program has compiled correctly. When I try to run the application, I am encountered with the following error
Unable to locate component
This application has failed to start because pthreadGC2.dll was not found. Re-installing the application may fix this problem.
Any pointers guys?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The simplest thing to do, (and what I'd recommend at least during development and debugging) is to place the DLL in the project directory where the .exe that is trying to load it is generated. That will give you the fewest potential problems.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Your Basic 3 might help. (Note that you didn't even tell us what version of Dev you were using) They are covered in the thread titled "Please Read Before Posting a question"
Also, if you are trying to run Posix stuff, are you trying to use Dev with Cygwin?
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I have installed Dev-C++ IDE on my system to run POSIX threads application. The program has compiled correctly. When I try to run the application, I am encountered with the following error
Unable to locate component
This application has failed to start because pthreadGC2.dll was not found. Re-installing the application may fix this problem.
Any pointers guys?
Thank you.
It is an OS issue rather than a Dev-C++ issue. You need to understand how teh system locates DLL's. That is described here: http://msdn.microsoft.com/en-us/library/ms682586%28VS.85%29.aspx
The simplest thing to do, (and what I'd recommend at least during development and debugging) is to place the DLL in the project directory where the .exe that is trying to load it is generated. That will give you the fewest potential problems.
Clifford
Your Basic 3 might help. (Note that you didn't even tell us what version of Dev you were using) They are covered in the thread titled "Please Read Before Posting a question"
Also, if you are trying to run Posix stuff, are you trying to use Dev with Cygwin?
Wayne