Page 1 of 1

[b]how to run application where wxWidgets libs are not built

Posted: Fri Sep 16, 2005 3:05 pm
by hassan_ashraf_sahi
Hello every one
i have successfully built wxWidgets 2.6.2 on Red Hat Linux 9
and have developed the application as well
but when i wanted to start the app it asked for the libraries so i added the required libs in LD_LIBRARY_PATH

HOW CAN I RUN MY APP WHERE I HAVE NO WXWIDGETS LIB BUILT???

Posted: Fri Sep 16, 2005 3:28 pm
by upCASE
Hi!
WHAT ABOUT LINKING THE APP STATICALLY WITH WXWIDGETS?

Next time please don't shout.

Posted: Sat Sep 17, 2005 1:16 pm
by hassan_ashraf_sahi
how do i statically link my app to wxwidgets libs?

Posted: Sat Sep 17, 2005 3:40 pm
by cg
On the configure like add:

--enable-static

Example:

./configure --with-gtk --enable-static

HTH

Chris