axiles / ocaml-efl Goto Github PK
View Code? Open in Web Editor NEWAn OCaml interface to the Enlightenment Foundation Libraries (EFL) and Elementary
Home Page: https://forge.ocamlcore.org/projects/ocaml-efl/
License: Other
An OCaml interface to the Enlightenment Foundation Libraries (EFL) and Elementary
Home Page: https://forge.ocamlcore.org/projects/ocaml-efl/
License: Other
The C stubs currently take quite a bit of time to build and actually dominate the build. Ocamlbuild can also build them in parallel. However "make -jX" will not invoke ocamlbuild with "-j X", preventing the parallel builds.
The simplest way to have parallel builds is to invoke make with the 'OCAMLBUILD="ocamlbuild -j 4"' argument to override the value that has been detected by configure. Obviously this negates the usefulness of the configure check.
I have however no idea on how to implement that in a particularly clean way so maybe adding something in the documentation about the aforementioned argument would be the best solution for the time being.
setup.data
#!/usr/bin/env bash
for x in `find examples -name "*.ml"`
do
filename=$(basename $x)
filename=${filename%.*}
rm -f "./${filename%.*}.byte"
ocamlbuild -use-ocamlfind "examples/$filename.byte" && ln -s _build/examples/$filename.byte
done
$ ./bg_example_02.byte
ERR<14941>:elementary elm_bg.c:219 _file_set() Could not load image '/usr/local/share/elementary/images/plant_01.jpg': File (or file path) does not exist
Hi,
I am just starting learning Ocaml so don't be too harsh. :)
I have installed ocaml-efl via opam and I wanted to try the different examples. So I have locally cloned you repos (I use ArchLinux x86-64) read the README, and tried this:
ocamlbuild -use-ocamlfind -pkg efl an_example.byte
or
ocamlbuild -use-ocamlfind -pkg efl an_example.native
Both have failed. After that I have read the issue #1 that says that the examples are built when the user build the bindings.
In the INSTALL file it is said to launch the ./configure
command but there is no configure file in the root directory.
Nevermind, I added one autoconf.sh
just to see but even if I was able to generate a configure file, I was not able to build.
As I said previously I am just starting with Ocaml, but I really want to try your bindings.
Regards
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.