Title: Error when running mandelbrot program · Issue #525 · pixie-lang/pixie · GitHub
Open Graph Title: Error when running mandelbrot program · Issue #525 · pixie-lang/pixie
X Title: Error when running mandelbrot program · Issue #525 · pixie-lang/pixie
Description: Installed pixie today (20170113). Runs 'run-tests.pxi' without a failure. However, aborts when trying to run the mandelbrot program. Below is the info I thought might be relevant. PC is a 64-bit system with ~4 GB of RAM. steve@steve-Sate...
Open Graph Description: Installed pixie today (20170113). Runs 'run-tests.pxi' without a failure. However, aborts when trying to run the mandelbrot program. Below is the info I thought might be relevant. PC is a 64-bit sy...
X Description: Installed pixie today (20170113). Runs 'run-tests.pxi' without a failure. However, aborts when trying to run the mandelbrot program. Below is the info I thought might be relevant. PC is a 6...
Opengraph URL: https://github.com/pixie-lang/pixie/issues/525
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when running mandelbrot program","articleBody":"Installed pixie today (20170113). Runs 'run-tests.pxi' without a failure. However, aborts when trying to run the mandelbrot program.\r\n\r\nBelow is the info I thought might be relevant. PC is a 64-bit system with ~4 GB of RAM.\r\n\r\nsteve@steve-Satellite-L555D:~/pixie$ lsb_release -a\r\nNo LSB modules are available.\r\nDistributor ID:\tUbuntu\r\nDescription:\tUbuntu 16.04.1 LTS\r\nRelease:\t16.04\r\nCodename:\txenial\r\nsteve@steve-Satellite-L555D:~/pixie$ pixie examples/mandelbrot.pxi \r\n[/home/steve/pixie /home/steve/pixie/lib /home/steve/pixie/include /home/steve/pixie/../lib /home/steve/pixie/../include .]\r\nc++ -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused /tmp/ffiaUQiQE/ffi.cpp -I /home/steve/pixie -I /home/steve/pixie/lib -I /home/steve/pixie/include -I /home/steve/pixie/../lib -I /home/steve/pixie/../include -I . `sdl2-config --cflags` -o /tmp/ffiaUQiQE/ffi.out \u0026\u0026 /tmp/ffiaUQiQE/ffi.out\r\n/tmp/ffiaUQiQE/ffi.cpp: In function ‘int main(int, char**)’:\r\n/tmp/ffiaUQiQE/ffi.cpp:17:50: error: no matching function for call to ‘DumpValue(\u003canonymous enum\u003e)’\r\n PixieChecker::DumpValue(SDL_PIXELFORMAT_RGBA8888); \r\n ^\r\nIn file included from /tmp/ffiaUQiQE/ffi.cpp:2:0:\r\n/home/steve/pixie/pixie/PixieChecker.hpp:432:6: note: candidate: template\u003cclass T\u003e void PixieChecker::DumpValue(T)\r\n void DumpValue(T t)\r\n ^\r\n/home/steve/pixie/pixie/PixieChecker.hpp:432:6: note: template argument deduction/substitution failed:\r\n/tmp/ffiaUQiQE/ffi.cpp: In substitution of ‘template\u003cclass T\u003e void PixieChecker::DumpValue(T) [with T = \u003canonymous enum\u003e]’:\r\n/tmp/ffiaUQiQE/ffi.cpp:17:50: required from here\r\n/tmp/ffiaUQiQE/ffi.cpp:17:50: error: ‘\u003canonymous enum\u003e’ is/uses anonymous type\r\n PixieChecker::DumpValue(SDL_PIXELFORMAT_RGBA8888); \r\n ^\r\n/tmp/ffiaUQiQE/ffi.cpp:17:50: error: trying to instantiate ‘template\u003cclass T\u003e void PixieChecker::DumpValue(T)’\r\nError: in internal function load-file\r\n\r\nin internal function load-reader\r\n\r\nCompiling: (with-config {:library SDL2, :cxx-flags [`sdl2-config --cflags`], :includes [SDL.h]} (defcfn SDL_Init) (defconst SDL_INIT_VIDEO) (defconst SDL_WINDOWPOS_UNDEFINED) (defcfn SDL_CreateWindow) (defcfn SDL_CreateRenderer) (defcfn SDL_CreateTexture) (defconst SDL_PIXELFORMAT_RGBA8888) (defconst SDL_TEXTUREACCESS_STREAMING) (defcfn SDL_UpdateTexture) (defcfn SDL_RenderClear) (defcfn SDL_RenderCopy) (defconst SDL_WINDOW_SHOWN) (defcfn SDL_RenderPresent) (defcfn SDL_LockSurface))\r\nin examples/mandelbrot.pxi at 10:1\r\n(with-config {:library \"SDL2\"\r\n^\r\nin pixie function with-config\r\n\r\nin /home/steve/pixie/pixie/ffi-infer.pxi at 226:10\r\n ~(run-infer *config* @*bodies*))))\r\n ^\r\nin pixie function run-infer\r\n\r\nin /home/steve/pixie/pixie/ffi-infer.pxi at 207:18\r\n result (read-string (io/run-command cmd-str))\r\n ^\r\nin internal function read-string\r\n\r\nRuntimeException: :pixie.stdlib/EOFWhileReadingException Unexpected EOF while reading\r\n\r\nsteve@steve-Satellite-L555D:~/pixie$\r\n\r\n---\r\n\r\nRegarding the first error, I do find DumpValue in PixieChecker.hpp. So I haven't figured out what might be wrong.","author":{"url":"https://github.com/jsgrahamus","@type":"Person","name":"jsgrahamus"},"datePublished":"2017-01-14T00:52:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/525/pixie/issues/525"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e044d0d9-e9d4-30ba-0f10-6f29fe00c3bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 909A:8184:22EECFB:2E83062:6992E564 |
| html-safe-nonce | 93ff8c2372624138d33c42389ba56fbc7d177f63ac72aaf30ce9f17cd09c49da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDlBOjgxODQ6MjJFRUNGQjoyRTgzMDYyOjY5OTJFNTY0IiwidmlzaXRvcl9pZCI6IjU2MjE3MDAxNDU5NTc3NTgzMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e663023ed23ecc66a03a89aacede452afb5dc1a6c7ffe5c00755fc2355854b19 |
| hovercard-subject-tag | issue:200766838 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pixie-lang/pixie/525/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d91d2e5095c6803e14c1eb5c3dcd5e6be9b1fe2a2f549ae200da7a0d345c1fd0/pixie-lang/pixie/issues/525 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d91d2e5095c6803e14c1eb5c3dcd5e6be9b1fe2a2f549ae200da7a0d345c1fd0/pixie-lang/pixie/issues/525 |
| og:image:alt | Installed pixie today (20170113). Runs 'run-tests.pxi' without a failure. However, aborts when trying to run the mandelbrot program. Below is the info I thought might be relevant. PC is a 64-bit sy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsgrahamus |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/pixie-lang/pixie git https://github.com/pixie-lang/pixie.git |
| octolytics-dimension-user_id | 8930965 |
| octolytics-dimension-user_login | pixie-lang |
| octolytics-dimension-repository_id | 24507006 |
| octolytics-dimension-repository_nwo | pixie-lang/pixie |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24507006 |
| octolytics-dimension-repository_network_root_nwo | pixie-lang/pixie |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84dcb133269e3cfe6e0296cc85fbacb92cae92bb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width