Search found 43 matches

by PaulUK
Sun May 01, 2022 3:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

I have only now noticed the post about building the demo. I described the fix in Update 2 of one of my previous posts. You did not add -lversion to the makefile, resulting in the linker errors posted. Quite right, I'll add it and give it another try. Thank you. UPDATE: I finally was successful in b...
by PaulUK
Sun May 01, 2022 3:06 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

Off-topic: Unless your application meets very specific criteria, there is no advantage in building 64bit apps under Windows. These criteria are: - need to address more than 2GB memory - intense computations with 64bit integers - performance-critical tight loop that benefits from having more CPU reg...
by PaulUK
Sun May 01, 2022 11:56 am
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

UPDATE I changed the one directory variable in the make file to look in the _x64 library in wxWidgets and the issues that previously occurred have now been resolved, thanks to your tip about the incompatibility issue. There now seem to be three issues listed at the bottom of the log which I post bel...
by PaulUK
Sun May 01, 2022 11:30 am
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

Thanks for showing that you could build it. I deleted the wxFreeChart libraries and started again with just the release build so not to over-complicate things, I was confusing myself previously. After reading point 2 in your last post I looked to see what libraries are being used in wxWidgets and it...
by PaulUK
Sat Apr 30, 2022 4:53 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

I made the the changes as per Edit2 but I still get some issues right at the end of the build. Below in the code window I first show the command I used followed by only the issues at the end of build, not the whole log. Is this issue related to what you mention in 4.8.3 in your wxWidgets installatio...
by PaulUK
Sat Apr 30, 2022 2:56 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

Regarding Edit3, I did not post anything on stack overflow, I've never post anything there yet. Perhaps a coincidence? Do you have a link? I do have a link: https://stackoverflow.com/questions/72013658/error-when-trying-to-build-freechart-project-in-wxwidgets-3-1-1-with-wx-shared Another Paul from ...
by PaulUK
Sat Apr 30, 2022 2:31 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

Thank you for the explanations. Regarding Edit3, I did not post anything on stack overflow, I've never post anything there yet. Perhaps a coincidence? Do you have a link? I performed the SHARED=0 build before your EDIT2. I will now do what you state in EDIT2 and post back with the outcome of my atte...
by PaulUK
Sat Apr 30, 2022 8:47 am
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

Im trying to set up CodeBlocks to build the demo application that comes with wxFreeChart. I built the library with SHARED=0 so that I can build the application statically, and my target application because I would like one executable if possible. In the wxFreeChart folder I see "wxFreeChart\lib...
by PaulUK
Wed Apr 27, 2022 12:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

I found two versions, one from your repo and one from iwbnwif. I did think that I tried version 1.6 because that was the most recent version I remembered seeing in the ChangeLog, I could off course be wrong, and it was 1.7. I will have to double check this when I get home. I may well have tried your...
by PaulUK
Tue Apr 26, 2022 9:35 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Re: Problems building wxFreeChart

Update: It seems that in the freechart/build folder are now two folders called gccmswu and gccmswud for release and debug. However due to that error mentioned above I don't know if the build is complete. 2nd update: I opened the cpp file where the missing semicolon was and inserted it, then attempte...
by PaulUK
Tue Apr 26, 2022 9:25 pm
Forum: Compiler / Linking / IDE Related
Topic: Problems building wxFreeChart
Replies: 17
Views: 1523

Problems building wxFreeChart

I'm using Windows 7 , Msys2 Mingw x64 and wxWidgets 3.1.6. Im having problems building wxFreeChart 1.6. I follow the readme and attempt to use this command to build: from the build folder in the freechart folder I type: mingw32-make -fmakefile.bcc WX_DIR=C:\SDK\wxWidgets-3.1.6 WX_UNICODE=1 WX_DEBUG=...
by PaulUK
Mon Apr 18, 2022 6:01 pm
Forum: Compiler / Linking / IDE Related
Topic: How to determine wxWidgets build options if forgotten?
Replies: 7
Views: 693

Re: How to determine wxWidgets build options if forgotten?

PB wrote: Mon Apr 18, 2022 2:10 pm
PaulUK wrote: Mon Apr 18, 2022 9:16 am How do I determine where in the linker list the libraries should be placed?
As I wrote above, this is explained in my guide in chapter 4.8.3.
Sorry I missed that in all the excitement and baby duties. Many thanks.
by PaulUK
Mon Apr 18, 2022 9:16 am
Forum: Compiler / Linking / IDE Related
Topic: How to determine wxWidgets build options if forgotten?
Replies: 7
Views: 693

Re: How to determine wxWidgets build options if forgotten?

Thank you! I finally got it to work. First I just add the ribbon library to both the debug and release linker list (at the bottom) and the ribbon errors were resolved. Then I added the aui library in the same way at the bottom of the list and while the previous aui errors were resolved, some other a...
by PaulUK
Sun Apr 17, 2022 9:17 pm
Forum: Compiler / Linking / IDE Related
Topic: How to determine wxWidgets build options if forgotten?
Replies: 7
Views: 693

Re: How to determine wxWidgets build options if forgotten?

Thanks both. I decided to freshly install Codeblocks , the msys compiler and wxWidgets 3.1.6. All went well following PB's instructions. I also made a 64 bit version of the compiler and wxWidgets. Everything worked fine and I could build the minimal sample project with both 32 and 64 bit compilers w...