Forum > General

GTK2 Sig Seg V Error

(1/3) > >>

captian jaster:
I Use this code :

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} --- program Base; {$mode objfpc}{$H+} uses  gtk; Var Window:pGTKWidget; begin  gtk_init(@argv,@argv);  Window := gtk_window_new(GTK_WINDOW_TOPLEVEL);  gtk_widget_show(Window);  gtk_main();end.              and it says that the dll :libgtk-0 is missing

felipemdc:
Windows or Linux?

Anyway, the message is rather clear, you need to install Gtk and make sure it is in the path where the operating system looks for libraries.

captian jaster:
I Installed This : http://gtk-win.sourceforge.net/home/index.php/en/Downloads
And the error still comes up..
What Path Should i install it to?

felipemdc:

--- Quote from: captain jaster on August 05, 2010, 03:05:45 pm ---I Installed This : http://gtk-win.sourceforge.net/home/index.php/en/Downloads
And the error still comes up..
--- End quote ---

To which directory where the DLLs installed? Windows comes with a search utility which can search your whole disk if you have no idea.


--- Quote ---What Path Should i install it to?
--- End quote ---

Usually the DLLs should be either in the directory of your executable or in Windows\System32

Just copy them to one of those

captian jaster:
Instead of installing the whole thing i just downloaded the DLLs one by one.
Now I have another problem. i compiled the code and it says external sig seg v.. whats wrong?

Navigation

[0] Message Index

[#] Next page

Go to full version