MSYS2 support (Thanks to ChatGPT) #75
Replies: 1 comment 3 replies
-
|
Hi, thanks for your message. I'm glad you got most of the programs to work with MSYS2 on Windows. You would be welcome to submit these changes as a pull request so I could review them there - that would be the usual way to do this. However, I can tell you straight away that I will want to avoid any use of the boost library, simply because it is so large and I do not want that additional dependency for the sebsjames/maths library. I would prefer to identify why sm::process fails to compile with MSYS2 and then try to resolve that problem. Note also that you should attempt not to change all the formatting in code when you submit changes. Because all the formatting and whitespace in your VisualFaceBase.txt is completely different, I can't identify which REAL lines you (or your AI bot) has changed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
thank you @sebsjames for this great library.
i am using MSYS2 UCRT64 tool chain and cmake with ninja to build this library on windows (since Visual Studio is too heavy and MSYS2 provides unix like package manager and it is lightweight). that is why i modified some of your code with the help of chatgpt so that it can be built with MSYS2 toolchain on windows.
here are the changes with the help of chat gpt + trial and error
maths/sm/processwithboost::processto make it cross platformmathplot/mplot/VisualFaceBase.hand the build was successful.
but in
mathsteststestbez, testhdfdata1 and testhdfdata5gave no outputtestProcessfailed the test with errorException: Process failed to starteven after changing path to windows like path. [i have not dug deeper into that : ) ]according to
ctestall the tests passed excepttestProcessnow in mathplot every example was working except
Helloversionbecause i haven't installed OpenGL ESevery test passed in mathplot according to
ctesti have attached both modified files as txt here
i hope you or someone experienced c++ programmer can change or optimize this code change since we know chatgpt is not very reliable.
thank you
process.txt
VisualFaceBase.txt
Beta Was this translation helpful? Give feedback.
All reactions