there was a page with instructions somewhere, but I can't find it now. Anyway, probably it is outdated, so I summarize it here.
wxMathPlot uses CMake as build tool, to generate project files for different compilers according to user needs. You also need wxWidgets configured in your compiler in order to build (see this page for install instructions). Currently I use MinGW as cross compiler for Windows, so I did't test latest versions of Visual Studio, but basically, copy wxMathPlot SVN version (it has a number of bugfix which are not present in current release), and run CMake, select you compiler, then generate project files. Then go to your build tool/IDE and build the project just generated. Default settings generate both the library and the examples.
Hope this helps.
CD-RON77
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, thanks for the answer. Could you give me a solution to my problem
I Installed wxWidgets-3.1.3, built it in the win32 configuration, downloaded to the neighboring directory "wxmathplot-svn-r95-branches-sandbox-mathplot.zip", unpacked,, went to the directory where the Makefile file is located, executed the command - "make" in the command line and received the following error -
>make
g++ -c -wall 'wx-config --cxxflags' matplot.cpp -o matplot.o
g++: error: 'wx-config: No such file or directory
g++: unrecognized command line option -'--cxxflags'
make: ***
In path I registered the following directories g:/test/wxWidgets/include; g:/test/wsWidgets/lib.
Sincerely Sergeyю .
" Waiting for an answer like a bird waiting for summer"))
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you, I downloaded it from your link , but the manual READMR says that you need a POSIX system, but I have Windows, I need to try installing it through Cygwin or some other way.
Sincerely Sergey.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The library builds also on Windows without Cygwin. README file refers to the build procedure that should work on POSIX systems. Under Windows I suggest to use graphical version of CMake and select proper compiler from there. I did not test recent Visual Studio, but it worked until 2012 version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I feel a little uneasy that I have to bother you again, but the graphic still asks questions in the answers to which I am not sure . It asks wxWidgets_LIB_DIR? I say - G:/wxWidgets/lib , It asks wxWidgets_ROOT_DIR? I say - G:/wxWidgets , It asks wxWidgets_wxrc_EXECUTABLE? - in this place, I find it difficult to tell, maybe there is an instruction as for example on the site https://github.com/cjcliffe/CubicSDR/wiki/Build-Windows. In the end, I click "Generate" and of course I get an error - " wxWidgets, not found!".
Sincerely Sergey.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi friends, tell me how to install wxMahtPlot under Windows or give a link to the instructions. Thank you in advance for your help.
Hello,
there was a page with instructions somewhere, but I can't find it now. Anyway, probably it is outdated, so I summarize it here.
wxMathPlot uses CMake as build tool, to generate project files for different compilers according to user needs. You also need wxWidgets configured in your compiler in order to build (see this page for install instructions). Currently I use MinGW as cross compiler for Windows, so I did't test latest versions of Visual Studio, but basically, copy wxMathPlot SVN version (it has a number of bugfix which are not present in current release), and run CMake, select you compiler, then generate project files. Then go to your build tool/IDE and build the project just generated. Default settings generate both the library and the examples.
Hope this helps.
CD-RON77
Hello, thanks for the answer. Could you give me a solution to my problem
I Installed wxWidgets-3.1.3, built it in the win32 configuration, downloaded to the neighboring directory "wxmathplot-svn-r95-branches-sandbox-mathplot.zip", unpacked,, went to the directory where the Makefile file is located, executed the command - "make" in the command line and received the following error -
>make
g++ -c -wall 'wx-config --cxxflags' matplot.cpp -o matplot.o
g++: error: 'wx-config: No such file or directory
g++: unrecognized command line option -'--cxxflags'
make: ***
In path I registered the following directories g:/test/wxWidgets/include; g:/test/wsWidgets/lib.
Sincerely Sergeyю .
" Waiting for an answer like a bird waiting for summer"))
Please download the trunk/mathplot folder, sandbox branch is very outdated (2007).
Thank you, I downloaded it from your link , but the manual READMR says that you need a POSIX system, but I have Windows, I need to try installing it through Cygwin or some other way.
Sincerely Sergey.
The library builds also on Windows without Cygwin. README file refers to the build procedure that should work on POSIX systems. Under Windows I suggest to use graphical version of CMake and select proper compiler from there. I did not test recent Visual Studio, but it worked until 2012 version.
I feel a little uneasy that I have to bother you again, but the graphic still asks questions in the answers to which I am not sure . It asks wxWidgets_LIB_DIR? I say - G:/wxWidgets/lib , It asks wxWidgets_ROOT_DIR? I say - G:/wxWidgets , It asks wxWidgets_wxrc_EXECUTABLE? - in this place, I find it difficult to tell, maybe there is an instruction as for example on the site https://github.com/cjcliffe/CubicSDR/wiki/Build-Windows. In the end, I click "Generate" and of course I get an error - " wxWidgets, not found!".
Sincerely Sergey.