{"action":"created","issue":{"url":"https://api.github.com/repos/cdegroot/uderzo_poncho/issues/12","repository_url":"https://api.github.com/repos/cdegroot/uderzo_poncho","labels_url":"https://api.github.com/repos/cdegroot/uderzo_poncho/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cdegroot/uderzo_poncho/issues/12/comments","events_url":"https://api.github.com/repos/cdegroot/uderzo_poncho/issues/12/events","html_url":"https://github.com/cdegroot/uderzo_poncho/issues/12","id":337187002,"node_id":"MDU6SXNzdWUzMzcxODcwMDI=","number":12,"title":"Unable to use uderzo from separate project","user":{"login":"axelson","id":9973,"node_id":"MDQ6VXNlcjk5NzM=","avatar_url":"https://avatars1.githubusercontent.com/u/9973?v=4","gravatar_id":"","url":"https://api.github.com/users/axelson","html_url":"https://github.com/axelson","followers_url":"https://api.github.com/users/axelson/followers","following_url":"https://api.github.com/users/axelson/following{/other_user}","gists_url":"https://api.github.com/users/axelson/gists{/gist_id}","starred_url":"https://api.github.com/users/axelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axelson/subscriptions","organizations_url":"https://api.github.com/users/axelson/orgs","repos_url":"https://api.github.com/users/axelson/repos","events_url":"https://api.github.com/users/axelson/events{/privacy}","received_events_url":"https://api.github.com/users/axelson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-30T04:59:42Z","updated_at":"2018-07-14T00:37:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Using uderzo from within a clone of the uderzo_poncho repository works fine but I'm unable to display anything when I try to bring in uderzo as a hex dependency. Obviously there are some installation instructions that could be written about the subject and I would like to tackle those, but first I need to get everything working.\r\n\r\nMy sample project is here:\r\nhttps://github.com/axelson/uderzo_viz\r\n\r\nRight now it is very simple. After you clone the repo you do need to copy the `clixir` binary from a uderzo_poncho installation (created via `make`).\r\n\r\nThen I am testing by (from my `uderzo_viz` project root) running `iex -S mix` and then running the command:\r\n\r\n```\r\niex(1)> Viz.Demo.run\r\nUderzo executable initialized.Dispatch function not found for [Elixir_Viz_Counter_create_font]\r\n                                                                                              clixir: c_src/clixir_support.c:70: _handle_command: Assertion `result == 1' failed.\r\n\r\n21:07:15.021 [error] clixir bailed out with 134, exiting\r\n\r\n21:07:15.021 [info]  Starting clixir process from application viz\r\n\r\n21:07:15.039 [error] GenServer Clixir.Server terminating\r\n** (stop) \"clixir exited with 134\"\r\nLast message: {#Port<0.5054>, {:exit_status, 134}}\r\n:ok\r\n```\r\n\r\nIt seems to me to be some sort of Clixir dependency issue. Is there some way to trigger enhanced verbosity for debugging?"},"comment":{"url":"https://api.github.com/repos/cdegroot/uderzo_poncho/issues/comments/404985548","html_url":"https://github.com/cdegroot/uderzo_poncho/issues/12#issuecomment-404985548","issue_url":"https://api.github.com/repos/cdegroot/uderzo_poncho/issues/12","id":404985548,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDk4NTU0OA==","user":{"login":"cdegroot","id":84811,"node_id":"MDQ6VXNlcjg0ODEx","avatar_url":"https://avatars2.githubusercontent.com/u/84811?v=4","gravatar_id":"","url":"https://api.github.com/users/cdegroot","html_url":"https://github.com/cdegroot","followers_url":"https://api.github.com/users/cdegroot/followers","following_url":"https://api.github.com/users/cdegroot/following{/other_user}","gists_url":"https://api.github.com/users/cdegroot/gists{/gist_id}","starred_url":"https://api.github.com/users/cdegroot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdegroot/subscriptions","organizations_url":"https://api.github.com/users/cdegroot/orgs","repos_url":"https://api.github.com/users/cdegroot/repos","events_url":"https://api.github.com/users/cdegroot/events{/privacy}","received_events_url":"https://api.github.com/users/cdegroot/received_events","type":"User","site_admin":false},"created_at":"2018-07-14T00:37:55Z","updated_at":"2018-07-14T00:37:55Z","author_association":"OWNER","body":"```\r\n$ git diff\r\ndiff --git a/lib/counter.ex b/lib/counter.ex\r\nindex 51156f1..b0852f9 100644\r\n--- a/lib/counter.ex\r\n+++ b/lib/counter.ex\r\n@@ -21,7 +21,7 @@ defmodule Viz.Counter do\r\n   end\r\n \r\n   def display_count(count) do\r\n-    draw_text(\"hi\", 16.0, 20, 50)\r\n+    draw_text(\"hi\", 16.0, 20.0, 50.0)\r\n   end\r\n \r\n   def draw_text(text, size, x, y) do\r\ndiff --git a/mix.exs b/mix.exs\r\nindex 6ec1d7b..a01cf60 100644\r\n--- a/mix.exs\r\n+++ b/mix.exs\r\n@@ -40,7 +40,7 @@ defmodule Viz.Mixfile do\r\n   # Run \"mix help deps\" to learn about dependencies.\r\n   defp deps do\r\n     [\r\n-      {:uderzo, \"~> 0.1\"}\r\n+      {:uderzo, \"~> 0.6\"}\r\n       # {:dep_from_git, git: \"https://github.com/elixir-lang/my_dep.git\", tag: \"0.1.0\"},\r\n     ]\r\n   end\r\n```\r\nand then it works for me (the Uderzo bump shouldn't really be necessary but 0.6 has a bunch of fixes around compiler warnings so runs more clearly).\r\n\r\nThe issue is that if you declare doubles, you must send doubles. I still need to add some warnings on the Elixir side here (probably just in development mode or something like that)."}}
{"actor":{"display_login":"cdegroot"}}