Giter VIP home page Giter VIP logo

ocaml-efl's People

Contributors

adrien-n avatar axiles avatar murmour avatar vivienm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ocaml-efl's Issues

make's -j option isn't forwarded to ocamlbuild

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.

Some comments about building it

  1. If EFL 1.8 is need it is useful to add EFL1.8 installation howto
    http://linuxg.net/how-to-install-enlightenment-e18-on-ubuntu-13-1013-0412-1012-04-and-linux-mint-16151413/
  2. You README seems to be outdated. There is not test.ml in root any more. Also, why you don't generate configure by _oasis? without it it gives error about missing setup.data
  3. After compilation I don't really understand how to build all examples. So, I wrote a script:
#!/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
  1. Building native code examples gives 100500 linking errors https://gist.github.com/Kakadu/934304e755883d98b5a2
  2. Where pictures should be located?
$ ./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

difficulties for building examples

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.