From: Mattia B. <mb...@ds...> - 2001-09-26 16:57:52
|
> > hi all, > > > > this Q is for anyone using wxMSW under cygwin.. > > > > i managed to compile wxMSW 2.2.7 from source > > and test examples work fine.. OK, but have you installed it? I didn't test wxPerl under cygwin, but here is what I would do: $ cd wxWindows-source $ ./configure --option1 --option2 ... $ make $ maek install <<< did you do that The last command places all include files, libraries and wx-config under /usr/local ( you can change it using --prefix ) > > > > for those who have done the same, i am curious on where > > you have placed it in your cygwin enviroment as im having troubles > > compiling wxPerl. > > > > i downloaded and the read docs that came with wxPerl and it Good! > > mentions compilation with mingw, but i am having troubles > > seeing there is no wx-config, i tried perl makefile.pl with; Is the directory where wx-config lies in your path if not, do $ PATH=/usr/local/bin:$PATH $ wx-config --version 2.2.7 <<< this is wx-config output $ > > perl Makefile.PL > > > EXTRA_CFLAGS="-D__GNUWIN32__ -D__CYGWIN__ -D__WXMSW__ -fno-pcc-struct-return > > -O2 -fno-rtti -fno-exceptions" This should not be needed > > and mounted the include/wx in /usr/include/wx, but i am This should not be necessaru > > getting previous decleration errors all over the place. Usually posting a small example cut'n'pasted from the output helps a lot > > i feel this would work if i new how to set up the wxMSW enviroment > > properly, any pointers, any one tried/failed/completed it? Hope this helps Regards Mattia |