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

Error with go generate #4

Open
wasbazi opened this issue Dec 16, 2014 · 5 comments
Open

Error with go generate #4

wasbazi opened this issue Dec 16, 2014 · 5 comments

Comments

@wasbazi
Copy link

wasbazi commented Dec 16, 2014

I received an error compiling, it looks like the code that is the culprit is this line:
https://github.com/chai2010/opencv/blob/master/opencv110/cxcore/src/cxswitcher_new.cpp#L686

1___zsh_tmux_plugin_run__tmux__and_api___speedof_me__html5_speed_test___javascript_bandwidth_test_api

I'm running on a Mac system which could account for how this happened.

@chai2010
Copy link
Owner

@wasbazi

Thanks for your feedback.

Unfortunately, I have no Mac OSX right now.
Can you try this change (add struct tag)?

struct timeval tv;
struct timezone tz;
gettimeofday( &tv, &tz );
return (int64)tv.tv_sec*1000000 + tv.tv_usec;

Thanks.

@wasbazi
Copy link
Author

wasbazi commented Dec 19, 2014

@chai2010 I would be happy to dig into that, I got some other errors when trying to build after I added struct to those places. I will look into it and try and get a PR open if I can.

@wasbazi
Copy link
Author

wasbazi commented Dec 31, 2014

I updated opencv110/cxcore/src/cxswitcher_new.cpp to add the struct tags and it would appear that a number of errors were generated after that. Some of these are around types that were deprecated in Lion (like Movie).

I'll see if I can't fix these issues and open a pull request for the changes.

@chai2010
Copy link
Owner

@wasbazi Thanks.

@zx9597446
Copy link

@chai2010 @wasbazi same problem, anything progress this issue?

chai2010 added a commit that referenced this issue Jun 13, 2015
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

3 participants