Why does this program require MSVCR80.dll?

Posted by Runner on Stack Overflow See other posts from Stack Overflow or by Runner
Published on 2010-04-26T11:11:16Z Indexed on 2010/04/26 14:53 UTC
Read the original article Hit count: 203

Filed under:
|
|
|
#include <gtk/gtk.h>

int main( int argc, char *argv[] )
{
    GtkWidget *window;

    gtk_init (&argc, &argv);

    window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_widget_show  (window);

    gtk_main ();

    return 0;
}

I tried putting various versions of MSVCR80.dll under the same directory as the generated executable(via cmake),but none matched.

Is there a general solution for this kinda problem?

UPDATE

Some answers recommend install the VS redist,but I'm not sure whether or not it will affect my installed Visual Studio 9, can someone confirm?

© Stack Overflow or respective owner

Related posts about cmake

Related posts about dll