MinGW compiling with wxWidgets

17 views
Skip to first unread message

Milind Gupta

unread,
Nov 2, 2023, 12:24:00 PM11/2/23
to MathGL
Hi,
   I am trying to compile MathGL with wxWidgets.  But I keep getting the error:

-- Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES wxWidgets_INCLUDE_DIRS)
CMake Error at CMakeLists.txt:680 (message):
  Couldn't find wxWidgets library.


wxWidgets requested but not found.
wxWidgets requested but not found.
-- Configuring incomplete, errors occurred!


I specify both the paths like:

cmake -Denable-lua=on -Denable-wx=on -DwxWidgets_LIBRARIES=/path/to/wxwidgets/build/lib -DwxWidgets_INCLUDE_DIRS=/path/to/wxwidgets/include/wx -DLUA_LIBRARIES=/path/to/lua53.dll -DLUA_INCLUDE_DIR=/path/to/lua/include/dir .

Any guidance on how to make this work would be really appreciated.

Thanks,
Milind

Milind Gupta

unread,
Nov 3, 2023, 8:41:18 PM11/3/23
to mat...@googlegroups.com
I dropped this and using MathGL from Lua and using wxLua to plot it in wxWidgets directly. So did not need to compile the wxWidgets widget.

Thanks,
Milind


--
You received this message because you are subscribed to the Google Groups "MathGL" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathgl+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathgl/a233e74d-2d34-4eff-87d3-a3c72c90305cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages