Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed build on V 0.1.24 0d93eeb #60

Closed
kokizzu opened this issue Jan 16, 2020 · 6 comments
Closed

failed build on V 0.1.24 0d93eeb #60

kokizzu opened this issue Jan 16, 2020 · 6 comments

Comments

@kokizzu
Copy link

kokizzu commented Jan 16, 2020

./timer.v:155:61: wrong number of arguments in call to `gg.GG*.draw_line(f32, f32, f32, f32)`
  153|                          '${hour:02d}', time_cfg)
  154|          }
  155|          t.gg.draw_line(hour_x, hour_y, hour_x + hour_width, hour_y, gx.gray)
                                                                            ^
  156|  }
  157|  // Large left vertical line
@ghost
Copy link

ghost commented Jan 16, 2020

Same here.

D:\dev\tmp\vid>v .
.\timer.v:155:61: wrong number of arguments in call to `gg.GG*.draw_line(f32, f32, f32, f32)`
  153|                          '${hour:02d}', time_cfg)
  154|          }
  155|          t.gg.draw_line(hour_x, hour_y, hour_x + hour_width, hour_y, gx.gray)
                                                                            ^
  156|  }
  157|  // Large left vertical line

@zzadi
Copy link

zzadi commented Jan 18, 2020

@kokizzu , @yewpad,

To fix this issue you may replace all the draw_line with draw_line_c in the files - timer.v and vid.v

I have tested that on my Mac (osx 10.13.6). I can successfully build the vid after done the above replacement. But after I launch vid, I can't found any menu.

@medvednikov
Copy link
Member

draw_line_c was removed, you have to update V and Vid.

@zzadi there are no menus, you have to open the file with C-O or ./vid file or ./vid path/to/project.

@medvednikov
Copy link
Member

Oh, I have to update the prebuilt package. Will do.

@zzadi
Copy link

zzadi commented Jan 18, 2020

@medvednikov noticed with thanks

@JalonSolov
Copy link
Contributor

ved compiles fine with latest version of v.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants