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

Recent egorpugin/primitives commits break SW #50

Closed
ollydev opened this issue Sep 8, 2020 · 5 comments
Closed

Recent egorpugin/primitives commits break SW #50

ollydev opened this issue Sep 8, 2020 · 5 comments

Comments

@ollydev
Copy link

ollydev commented Sep 8, 2020

Using SW to build Tesseract-OCR, it's great! However the recent changes on egorpugin/primitives completely break SW.

https://github.com/ollydev/tesseract/runs/1087514185?check_suite_focus=true#step:4:489

Should a working egorpugin/primitives version be used rather than the master branch?

@egorpugin
Copy link
Contributor

Hi,

Sorry for that!

I'm upgrading SW to C++20 (formally, only compiler flag for now). And it caused that.
Working on a fix. Win/macos fix is done, linux is underway.

@egorpugin
Copy link
Contributor

Try sw --self-upgrage and then your usual commands.

@ollydev
Copy link
Author

ollydev commented Sep 8, 2020

Thanks, Windows and Linux are working!
I see you're currrently tackling error: invalid value 'c++20' in '-std=c++20' on macOS.

@egorpugin
Copy link
Contributor

Yep, trying to fix.
This is because appleclang has different version scheme, so sw can't select c++20 flag correctly.

@egorpugin
Copy link
Contributor

Ok, should be fine now. Everything is green in total.

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

2 participants