MrRobot
MrRobot

Reputation: 501

Executable error : Can't start program

After finishing my C++ program (on windows os using codeblocks)(using libcurl) when i try to launch the program from the executable it displays an error saying that i can't start the program because libcurldll is missing,reinstall program then retry. I don't think any line of code is needed here,it's just a configuration and logics problem,any ideas,would be great !

Please note that,running it from the codeblocks's console works fine.

Upvotes: 0

Views: 70

Answers (1)

Thomas Matthews
Thomas Matthews

Reputation: 57698

Common issue with DLLs or SOs is that the executable needs to know where they are.

A common solution is to place the DLL library in the same folder as the executable:

  1. Find the libcurldll file.
  2. Find the folder containing your executable.
  3. Copy the libcurldll file into the folder containing your executable.

Upvotes: 2

Related Questions