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

"Generated on #{Time.now}" error when compiling project using qt5.cr #25

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

gilmartaj
Copy link

@gilmartaj gilmartaj commented Feb 23, 2020

I went to test a library and get the following error when compiling:

In lib/qt5/src/qt5/../../support/decide_binding_fast.cr:65:27
 65 | ; Generated on #{Time.now}                            ^--
Error: undefined method 'now' for Time.class

Does anyone know how to solve this problem?

When qt5.cr is used as a dependency itself (which is likely), the path
to the bindgen_helper.hpp will change.  It's not possible to support
multiple paths in a symlink :(
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

Successfully merging this pull request may close these issues.

4 participants