Linker issues when trying to build Autowrap (Excel Automation) [message #1852256] |
Fri, 06 May 2022 09:49 |
Mark Walker Messages: 2 Registered: February 2022 |
Junior Member |
|
|
Trying to read from cells and write to cells in excel spreadsheet. I had been using Autowrap which uses COM.
I have used in the past with another C++ compiler but want to use it with Eclipse c++ (Msys2/Mingw64) under Windows 11.
I am trying initially to run the example from Microsoft and with the ole2 include, the program compiles fine but I get a number of linker errors. They are all undefined references.
The issue may be related to static vs dynamic linking.
Viz
undefined reference to `__imp_CoCreateInstance'
The others are similar.
I don't know how to move forward with this and I am having difficulty understanding things which I have read about what may be the issue.
Would some kind sole help me to move forward.
I'm of limited knowledge about much of what I'm trying to do so please assume that I am a "bear of very little brain" - Pooh Bear.
Many thanks in advance
|
|
|
Powered by
FUDForum. Page generated in 0.02599 seconds