nsoiffer / mathcatforc Goto Github PK
View Code? Open in Web Editor NEWC/C++ interface for MathCAT
C/C++ interface for MathCAT
There should be "releases" for various architectures:
I have a 32 bit build for windows in "tags", but in 6/22, for some reason the 64 bit build failed. I tried a few things and nothing seemed to work. Since then, there have been many rust updates, so it may just work now.
I would be great for someone to do builds for various platforms, hopefully adding a script so they can be automatically done when a new version of MathCAT is released.
This could be a really easy project if the builds now just work. Otherwise, it could be very frustrating.
The latest commit, c27598a, is giving the following error:
Compiling mathcat_c v0.2.0 (C:\src\MathCATForC)
error[E0425]: cannot find value `s` in this scope
--> src\lib.rs:117:13
|
117 | if !s.is_null() {
| ^ not found in this scope
error[E0317]: `if` may be missing an `else` clause
--> src\lib.rs:117:9
|
117 | / if !s.is_null() {
118 | | CString::from_raw(str)
| | ---------------------- found here
119 | | };
| |_________^ expected `CString`, found `()`
|
= note: `if` expressions without `else` evaluate to `()`
= help: consider adding an `else` block that evaluates to the expected type
Some errors have detailed explanations: E0317, E0425.
For more information about an error, try `rustc --explain E0317`.
error: could not compile `mathcat_c` (lib) due to 2 previous errors
I'm a Rust idiot, so if I'm missing something simple, please let me know. It does build if I roll back to before that commit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.