wxChartDir on MacOS. #5
tonyvsuk
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I struggled to get wxChartDir to build on MacOS, but still managed to get an example working. Here are the steps to do so.
"ChartDirector/include/"
"wxchartdir/include"
"wxchartdir/wxdemo/common/"
You should now be able to display the crosshair frame using something like.
#include "~/Documents/wxchartdir/wxdemo/crosshair/crosshair.h"
void Displaychart()
{
CrossHair *pframe = new CrossHair(NULL);
pframe->Show();
}
Hope this helps.
Notes.
On first running, I had an issue where my app would not load the chartdirector dylib (it was not digitally signed). I double clicked it in Finder and opened it to get around that warning.
Beta Was this translation helpful? Give feedback.
All reactions