Daniel Zaoui <daniel.za...@samsung.com> writes: > Hi Savio, >
Hello Daniel, > Thank you for your update. > > However (because there must always be a "however" in a mail), I have > some issues: I'd make good use of more information here. What's your distro? Which command line you used? Do you have eolian installed in your prefix? Before answering though please read through. Perhaps you'll be able to solve it. > - Building: > - cmake fails on "get_filename_component unknown component > DIRECTORY". I need to change to "set(EOLIAN_LIBDIR /opt/e17/lib)" to > make it work. Hmm. That means I have to improve the error messages. I can't tell precisely what's wrong. My guess is that cmake is not finding "eolian.pc", which makes "find_package(Eolian REQUIRED)" fail. > - Building colourable fails on "/bin/sh: 1: Syntax error: Bad fd > number". I need to make VERBOSE=1 and then execute the line to make it > work well. Is there another option? One minor note: you can set verbose flag through build.sh as well: ./build.sh eo1 verbose ${YOURPREFIX} But that is certainly caused by the above error. No idea why VERBOSE=1 fixed it though. > - The build takes a lot of time imo. Is there a good reason why? Yes, there is. Ecxx makes massive use of C++ templates. That makes compilation tough for the compiler. I tried to modularize the code to require less memory, but I can't help saving processing effort. In other hand after compiling the code is pretty lean and fast. ;-) > /[ 16%] [ 50%] [ 50%] [ 66%] Building CXX object > src/lib/CMakeFiles/ecxx-generator.dir/eo_class_detail_generator.cc.o// > //Building CXX object > src/lib/CMakeFiles/ecxx-generator.dir/eo_class_generator.cc.o// > //Building CXX object > src/lib/CMakeFiles/ecxx-generator.dir/eo_class_event_generator.cc.o// > //Building CXX object > src/lib/CMakeFiles/ecxx-generator.dir/arguments_generator.cc.o// > //[ 83%] Building CXX object > src/lib/CMakeFiles/ecxx-generator.dir/eo_class_operations_generator.cc.o// > //[100%] Building CXX object > src/lib/CMakeFiles/ecxx-generator.dir/eo_version_generator.cc.o// > //Linking CXX static library libecxx-generator.a// > //[100%] Built target ecxx-generator// > // > //real 0m56.008s// > //user 2m30.616s// > //sys 0m6.168s// > / > - generated .hh file: > - bad arguments names: why don't you use Eolian to retrieve the > parameter names? Only because it's not necessary. It doesn't add much. Why would you read the generated code after all? > - in extension_inheritance, why for example colour_get is taking > int* instead of returning int? > That was not supposed to be there, you're correct. Thanks. I'll fix it. > Thank you for your support Before I go :) Let me show how I installed Eolian and Ecxx. Perhaps you can reproduce my good results there: $ mkdir -p /opt/e/e19/ $ mkdir /tmp/base $ cd /tmp/base $ git clone http://git.enlightenment.org/core/efl.git/ $ git clone https://git.enlightenment.org/devs/jackdanielz/eolian.git/ $ git clone g...@github.com:expertisesolutions/ecxx.git $ cd /tmp/base/efl/ $ ./autogen.sh --prefix=/opt/e/e19 ... && make install $ export PKG_CONFIG_PATH=/opt/e/e19/lib/pkgconfig/ $ cd /tmp/base/eolian $ git checkout develop $ mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/opt/e/e19/ .. $ make all install $ cd /tmp/base/ecxx/ $ ./build.sh eo1 verbose debug install /opt/e/e19/ Then you can test simply by setting $ export PATH=/opt/e/e19/bin/:$PATH $ export LD_LIBRARY_PATH=/opt/e/e19/lib/ $ ecxx-eolian <some.eo> That's it. One last note: I think Ecxx won't work with your latest changes in Eolian but I'll fix that soon enough and let you know. Kind regards. -- Savio Sena <sa...@expertisesolutions.com.br> ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel