Search found 6 matches

by futuretrash
Thu Jun 18, 2020 8:00 pm
Forum: Compiler / Linking / IDE Related
Topic: cmake on mac fails with (missing: wxWidgets_LIBRARIES)
Replies: 11
Views: 3584

Re: cmake on mac fails with (missing: wxWidgets_LIBRARIES)

Distribute the app as binary either with an installer and shared libs or as linked against static libs.
Right now I'm hesitating to use wxwidgets since these initial compile issues
by futuretrash
Thu Jun 18, 2020 7:45 pm
Forum: Compiler / Linking / IDE Related
Topic: cmake on mac fails with (missing: wxWidgets_LIBRARIES)
Replies: 11
Views: 3584

Re: cmake on mac fails with (missing: wxWidgets_LIBRARIES)

Building with xcode would force me to one platform, I don't need to use wxWidgets nor c++ for a single platform solution. One of the biggest features of wxWidgets should be multiplatform support wxWidgets is a C++ library that lets developers create applications for Windows, macOS, Linux and other p...
by futuretrash
Thu Jun 18, 2020 2:09 pm
Forum: Compiler / Linking / IDE Related
Topic: cmake on mac fails with (missing: wxWidgets_LIBRARIES)
Replies: 11
Views: 3584

Re: cmake on mac fails with (missing: wxWidgets_LIBRARIES)

For better understanding, I published a sample project with github actions to build wxWidgets for osx:
https://github.com/thebino/HelloWxWidge ... /784521591
by futuretrash
Thu Jun 18, 2020 11:58 am
Forum: Compiler / Linking / IDE Related
Topic: cmake on mac fails with (missing: wxWidgets_LIBRARIES)
Replies: 11
Views: 3584

Re: cmake on mac fails with (missing: wxWidgets_LIBRARIES)

I tried multiple variants for wxWidgets_ROOT:

Code: Select all

-DwxWidgets_ROOT_DIR=/..../wxWidgets/build-cocoa-debug/lib
-DwxWidgets_ROOT_DIR=/..../wxWidgets/build-cocoa-debug
-DwxWidgets_ROOT_DIR=/..../wxWidgets
I tried the same diretories for wxWidgets_LIB_DIR as well.
by futuretrash
Thu Jun 18, 2020 11:04 am
Forum: Compiler / Linking / IDE Related
Topic: cmake on mac fails with (missing: wxWidgets_LIBRARIES)
Replies: 11
Views: 3584

Re: cmake on mac fails with (missing: wxWidgets_LIBRARIES)

@doublemax: The /..../ is only a simplification of the users folder structure. Or do you pertain on the / in the end?
by futuretrash
Thu Jun 18, 2020 6:39 am
Forum: Compiler / Linking / IDE Related
Topic: cmake on mac fails with (missing: wxWidgets_LIBRARIES)
Replies: 11
Views: 3584

cmake on mac fails with (missing: wxWidgets_LIBRARIES)

I'm trying to use wxWidgets with cmake on mac so I had to build it from sources. git clone https://github.com/wxWidgets/wxWidgets cd wxWidgets mkdir build-cocoa-osx cd build-cocoa-osx ../configure --enable-debug make -j 8 make install The installation was successful and I was able to build the sampl...