|
Post by vovchik on Aug 21, 2014 13:03:45 GMT 1
Dear Alex,
I think my elementary 1.77 is too old. I had to comment out 'elm_slider_step_set' from hug_elm.bac temporarily to get a compile (that function was introduced in 1.8, I think), and thereafter, I got this at runtime with the cube:
elm init ERR<5444>:ecore ecore.c:558 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! *** IN FUNCTION: ecore_timer_freeze() ERR<5444>:ecore ecore.c:562 _ecore_magic_fail() Input handle has already been freed! ERR<5444>:ecore ecore.c:571 _ecore_magic_fail() *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! ERR<5444>:ecore ecore.c:558 _ecore_magic_fail() *** ECORE ERROR: Ecore Magic Check Failed!!! *** IN FUNCTION: ecore_timer_thaw() ERR<5444>:ecore ecore.c:562 _ecore_magic_fail() Input handle has already been freed! ERR<5444>:ecore ecore.c:571 _ecore_magic_fail() *** NAUGHTY PROGRAMMER!!! *** SPANK SPANK SPANK!!! *** Now go fix your code. Tut tut tut! Elm (Shut Down)
I do see the cube and the button, but a button press generates that code. They must have changed the timer code stuff between versions. I am investigating, and if you have an idea, please let me know.
With kind regards, vovchik
|
|
|
Post by alexfish on Aug 21, 2014 13:52:58 GMT 1
Hi Vovchik
Just going through some of U'r ELM demo's since knew TIMEOUT was been used in at least "Marylin_anim.bac"
looking at the actual libs , fortunate the a hug_elm.bac lib was posted in the demo , I can not at present see any diff in the Timer/TIMEOUT function
can U check the Marylin demo again . see what happens
Also can confirm Which Bacon Version
BR Alex
ADDED
Just kind of confirm to ensure the init can also add these lines , just after the INIT
INIT
PROTO ecore_init
IF (ecore_init()) THEN
PRINT " Ecore OK " ELSE PRINT "Ecore Fail"
END IF
|
|
|
Post by vovchik on Aug 21, 2014 14:51:35 GMT 1
Dear Alex,
Marylin compiles and runs fine with the new hug_elm.bac, so you are right - it is not the timer per say. I compiled with 3.0.2 beta - latest. Could be something, then, in the cube code that is causing that problem. Still checking....
With kind regards, vovchik
PS. Added that test bit after INIT and ecore is OK.
|
|
|
Post by bigbass on Aug 21, 2014 15:54:50 GMT 1
Hey Alex an vovchik I have the same problems as vovchik I am using mint 17 32 bit trying to compile REM CUBE demo Implement Z factor :: @ Alexfish BaCon Converter .orgI get this error cube.bac.o: In function `ATTACH': cube.bac.c:(.text+0x6e5c): undefined reference to `elm_slider_step_set' cube.bac.c:(.text+0x6fa6): undefined reference to `elm_slider_step_set' collect2: error: ld returned 1 exit status make: *** [cube] Error 1
using BaCon version 3.0.2 beta - (c) Peter van Eerten - GPL v3.and the latest REM beta daily No Video 20/aug/2140 :: gen fixes & improvementswill test anything you post to offer more and better feedback *will have to do a version check of all that I got installed (libs) I ran this maybe it will help sudo dpkg --get-selections > installed-software installed-software.tar.gz (12.11 KB) Joe
|
|
|
Post by alexfish on Aug 21, 2014 23:00:41 GMT 1
Hi Joe and Vovchik
Think this is a bacon 3.0.2 / + evas problem , think this is emanating from RECORD but as yet not 100% certain yet
IE on my tests :: Earlier version of bacon the cube works , a compile with bacon 3.0.2 beta , the cube fails to animate, + get warning object freed or not exist ,
as a further test I loaded a gif image on the elm side , this works .
Hence the reason Marylin works is that it be an IMAGE and not a PICTURE , IMAGE loads on the ELM side 'the WINDOW' and PICTURE loads on to the CANVAS
Looking at combining both sides of elm and the canvas objects into one Record as a temporary solution , but need to test this.
3d Maps will not work if image data is loaded on the window side..
BR Alex
|
|
|
Post by vovchik on Aug 21, 2014 23:14:07 GMT 1
Dear Alex,
Thanks for checking - I don't knw whether Peter has got round to fixing the RECORD problem I think you you mentioned in another post. He will, though. I will rummage around in the code too, to see whether I can see anything. And thanks for posting the gtk3 cube algorithm. I am now thinking that the svg could be simplified in possibly two different ways: (a) by using six paths, each with four x:y pairs of coordinates, and subsequent fill or (b) by using six planes (svg polygons) and subsequent fill. What do you think?
With kind regards, vovchik
|
|
|
Post by alexfish on Aug 21, 2014 23:35:08 GMT 1
Hi Vovchik one of the reasons for this algo was to provide a solution to both svg data + the last remaining bug in GFX further to GFX no matter what I did , for some reason still get a NAN , manage to illuminate 2 of them but the last still remained IE in the Z axis and the Z depth , although it worked on some linux versions it will not work on others. why oh why , anyway , have not fully tested the algo but hoping there is enough info in the bits posted to even possible get backface culling on goo canvas + like in the svg gtk3 cube demo using HUG IMAGE , as u mention the bits to use , it all there for testing. at least from where I sit with Elementary CUBE , it is working , as for the rest if it works .. can check the bits I have changed in each of the demo's , BR Alex
|
|
|
Post by alexfish on Aug 21, 2014 23:54:54 GMT 1
Hi Vovchik for when things can get sorted.. Now got the scene set , Cabin in the woods The Chimney is smoking , the fire is burning the river is flowing , the brook is bubbling The cube is waiting to be Transformed in a 3d something. as can see has true perspective in and out + can move anywhere within the scene. everything needed likewise is in the code. Giffy the cat is quietly pacing backwards and forwards at the River side and waiting. BR Alex Attachments:
|
|
|
Post by alexfish on Aug 22, 2014 11:10:57 GMT 1
Hi Vovchik & @ Peter
Build fail with 3.0.2(Beta)
Not what I first thought
found some weird behavior with beta 3.0.2
if I rebuild the archive on each compile the app works
if no rebuild of archive then app fails
Things I did
Cleaned out the existing bacon.a and all binaries + checked other areas in root to see if other
Clean install
Not sure What going on , looks like a one for Peter.
Vovchik can U try the demo with bacon -a or bacongui :rebuild archive
BR Alex
Though I would check the archive.
|
|
|
Post by alexfish on Aug 22, 2014 11:55:33 GMT 1
Hi Peter
Think I found something
here are some compile results
build fail
build success / on rebuild archive
the diff
ADDED : tested the diff :: result = no difference.
now need to find out the why , compile with archive rebuild = works , compile normal = fail
BR Alex
|
|
|
Post by alexfish on Aug 22, 2014 15:17:56 GMT 1
Hi All
Well seems I found the problem . not Bacon , but in the code
Sometimes we get coded out . Code Blindness .
as a quick peek before I update the demo code . here I committed the sin of sins ,
TIMEOUT should be in A FUNCTION , where by there must be a Return , look at my code
RE "SUB Rotate_Vertex"
odd thing here is , why do it work if compile with bacon -a ..
Ah well ,
Will edit the demo's and hope to get a success
BR Alex
Updates Now down .
|
|
|
Post by vovchik on Aug 22, 2014 15:48:14 GMT 1
Dear Alex, Happens to me at least 10x a day... Seriously. With kind regards, vovchik
|
|
|
Post by alexfish on Aug 22, 2014 16:16:02 GMT 1
Dear Alex, Happens to me at least 10x a day... Seriously. With kind regards, vovchik I'm Blaming GiffyCat... RE: Cabin In The Woods demo. and that Cat still ain't caught it's supper yet.. hopeless ! BR
|
|
|
Post by alexfish on Sept 19, 2014 20:43:23 GMT 1
Hi Vovchik
Have managed to resolve Mint 16 svg problems
looks like what had first suspected , there are Devs - dependencies issue with the original install of Mint 16 with the mate desktop
first did a check of dependencies for Convert. then same for librsvg
these came to light with a ./configure of the sources codes , these show the installed devs did not have the complete dependency tree
hence did an install of the necessary.
also did a rebuild of efl 10.* + Generic loaders and players + Elementary ,
can Confirm all is now working as expected both in Mate and Cinnamon.
BR Alex
|
|
|
Post by vovchik on Sept 19, 2014 21:26:22 GMT 1
Dear Alex, Great discovery. I didn't really think that the elementary guys would cripple the svg stuff that was already working well in the previous version, but there are regression errors made all the time. I suppose it is time for me to try to build the entire elementary package. With kind regards, vovchik PS. Is there anything I should do beforehand so that things work as expected?
|
|