Alexandr, Am beginning to get comfortable with Xcode C++ Projects, so thank you for your support and for being patient. I did discover the ability to Create a Group of Files, which the compiler is happy to work with, which does tidy up the structure within the Project Navigator. That is the same as the solution you referred me to in you previous post, thank you. A Group of Files is grey, a Folder is blue... So I am happy to go along with this for now, SimpleXlsx is working as it should. Xcode does...
OK, I have now managed to get the Xcode C++ Project sorted: Within Xcode, I have created Groups (without Folder) which has enabled me to tidy up (and protect) the SimpleXlsx project files which the compiler clearly does understand. Previously, I had added the SimpleXlsx Folders to the Project, and it would appear the compiler was unable to properly interpret the #include "../UTF8Encoder.hpp" code. There probably is a way to rewrite the #include... in Xcode C++ to look into Folders (but I am not yet...
Alexandr, It took me a few hours to figure out (learn) what was going on in the Scatter Chart. You have created excellent examples, as a guide, as you said... To make things clearer for me, I grouped the code for each Series Line, once I had done that it all became much easier to understand. I have attached a pdf documenting Scientific.cpp AddScatterChart, code, with my added comments, and grouping, of the code by Line/Marker, to make it easier for a newby to understand the subtlety of the design....
Alexandr, It took me a few hours to figure out (learn) what was going on in the Scatter Chart. You have created excellent examples, as a guide, as you said... To make things clearer for me, I grouped the code for each Series Line, once I had done that it all became much eaqsier to understand. I have attached a pdf documenting Scientific.cpp AddScatterChart, code, with my added comments, and grouping, of the code by Line/Marker, to make it easier for a newby to understand the subtlety of the design....
Hi Alexander, Ooops, I should have been clearer in my earlier post. The projects in Xcode C++ are now compiling and running properly. Thanks for you help. You were right, the Compiler was not finding UTF8Encoder.hpp, PathManager.hpp, etc that are not in the subfolders of the SimpleXlsx package. When I rebuilt the Project with all the SimpleXlsx functions at the same level, the Compiler and Object Linker were happy. As I said, i do see the warnings, Documentation, Sematics etc that does not effect...
OK, got it: but it was a bit of a struggle/guess to sort is out... Is there a User Guide to all of this subtle stuff: I would like to change the X and Y Range and Fonts, where do I go, please... // Initialise the Color Library for the Trend Chart. XLSXColorLib cl_lib, gs10_lib; make_excell_like_named_colors( cl_lib ); make_excell_like_named_colors(gs10_lib); // Changed: was make_grayscale10( gs10_lib ); // Add the TrendData as a Line Chart to the WorkBook. AddLineChart( book, sheet, cl_lib, gs10_lib...
I cannot find a way to change the Line Color to other than Black or Gray(s) Get an error: terminating with uncaught exception of type std::out_of_range: map::at: key not found. Why is this, or am I missing some simple setup?
Oh, and I forgot to mention it earlier: am working with Microsoft Excel for Mac (Version 16.61.1). I found the "successfully saved workbook" Workbook. It was buried in the Project Build folder... And it looks perfect.... /Users/rmcinnes/Library/Developer/Xcode/DerivedData/SimpleXlsx_Example-gaogkxwwiinxwhakgyuxjlafejny/Build/Products/Debug/Scientific SimpleXlsx Test.xlsx Changed the path name an now it pops up in my project folder, just fine. Again, thank for your help; if you wish to follow up to...
Ah, I removed all refernces to the .h and .cpp files from the project, and the associated folders. Then added all the files back at the root of the project, and bingo. No complier errors, and Scientific.cpp ran to completion. Am still looking for the Excel WorkBook! Have some Buildtime issues, but no Runtime errors... (23) Semantic issues in zip.cpp "Possible miss use of comma" (10) Conversion issues, also in zip.cpp "long to unsigned int" (50) Documentation issues, the likes of which I have seen...
Here are the 14 error I am seeing...
Yes, I can confirm that all the files have been added to the Project. I have left them in their appropriate folders, since the example Scientific.cpp is expecting to find them in the folders. I assume, reviewing the headers that this is the correct way, and Xcode C++ compiler does understand #include "../PathManager.hpp" and "XLSXColors/XLSXColorLib.h" I did not include "scratch", since I do not need matrix access. Nor Zip, but adding Zip made no differnce; still the same 14 errors.
Yes, I can confirm that all the files have been added to the Project. I have left them in their appropriate folders, since the example Scientific.cpp is expecting to find them in the folders. I assume that is the correct way? I did not add "scratch", since I do not need matrix access.
I created a new Xcode C++ Project of the Scientific.cpp, and see exactly the same errors. Am not familiar with Xcode, but could not find any object files in the" build" folder, except for "Objects-normal,x86+64,PathManager.o and Scientific.o"
What an amazing package SimpleXlsxEWriter is: Great work, you guys... My first pass at a project: adding the ablity to create and pass Trend Data to an Excel Workbook. I had previously reached the point where I am able to create the data as a text file, open with Excel, and add a line chart. Next I searched for a way to write directly to Excel, and SimpleXlsxEWriter is a perfect fit... My project in Apple Xcode C++ compiles OK, no errors, but fails to link, please refer to the attached log. Any ideas,...
What an amazing package SimpleXlsxEWriter is: Great work, you guys... My first pass at a project: adding the ablity to create and pass Trend Data to an Excel Workbook. I had previously reached the point where I am able to create the data as a text file, open with Excel, and add a line chart. Next I searched for a way to write directly to Excel, and SimpleXlsxEWriter is a perfect fit... My project in Apple Xcode C++ compiles OK, no errors, but fails to link, please refer to the attached log. Any ideas,...
What an amazing package SimpleXlsxEWriter is: Great work, you guys... My first pass at a project: adding the ablity to create and pass Trend Data to an Excel Workbook. I had previously reached the point where I am able to create the data as a text file, open with Excel, and add a line chart. Next I searched for a way to write directly to Excel, and SimpleXlsxEWriter is a perfect fit... My project in Apple Xcode C++ compiles OK, no errors, but fails to link, please refer to the attached log. Any ideas,...