Cygwin,configure and WxWidgets directory

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Experienced Solver
Experienced Solver
Posts: 88
Joined: Sun Nov 29, 2015 12:46 pm

Cygwin,configure and WxWidgets directory

Post by AndrzejB » Fri May 28, 2021 4:41 am

I try build wxWidgets 3.1.5 with Cygwin under WIndows 10.
I see in readme.txt:

Code: Select all

3. Installing under Unix/BeOS

Please note that GNU make may be required to build wxBase, please use it if
you get any errors from the native Unix make.

The recommended way to build wxBase is:

        % cd ..../wxWidgets
        % mkdir base-release # or any other directory of your liking
        % cd base-release
        % ../configure --disable-gui
        # ignore the error messages about missing samples
        % make
        % make install

You can also do:

        % mkdir base-debug
        % cd base-debug
        % ../configure --disable-gui --enable-debug
        % make

To build the sample then cd to samples/console and make there.
After installing Cygwin, in Windows desktop is Cygwin64 Terminal.
But is problem. I see only Cygwin virtual filesystem, whereas wxWidgets is installed in c:\wxWidgets-3.1.5
I must move from c:\wxWidgets-3.1.5 to c:\cygwin64\home\USER\wxWidgets-3.1.5 ?
But after moving, files can be invisible to CLion....

Part Of The Furniture
Part Of The Furniture
Posts: 5226
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: Cygwin,configure and WxWidgets directory

Post by ONEEYEMAN » Fri May 28, 2021 12:43 pm

Did you try to do "make install"?
Also - any reason for using Cygwin vs MinGW?

Thank you.

Post Reply