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

CSV library fails to link on Windows with Threads ON #24

Closed
breznak opened this issue May 31, 2016 · 3 comments
Closed

CSV library fails to link on Windows with Threads ON #24

breznak opened this issue May 31, 2016 · 3 comments

Comments

@breznak
Copy link

breznak commented May 31, 2016

I have an issue linking the library to our project on Windows,
you can see the original report and Appveyor output at: numenta/nupic.core-legacy#890 (comment)

In the followup we tried adding pthread as suggested, but didn't help, so we resolved to a workaround with disabled multithreading on Win (-DCSV_IO_NO_THREAD).

It's not critical but would be nice if the Win version worked the same as on UNIXes.

@ben-strasser
Copy link
Owner

ben-strasser commented May 31, 2016 via email

@breznak
Copy link
Author

breznak commented May 31, 2016

Ben, thank you for the helpful links!

We are using GCC 4.9 from mingwpy (I'm surprised it does not implement c++11 correctly)

FYI @rcrowder maybe you'll be able to give a better insight

@breznak breznak closed this as completed May 31, 2016
@rcrowder
Copy link

rcrowder commented Jun 1, 2016

Apologies for commenting on this closed issue. We do use a posix and seh GCC variant on Windows for building the C++ nupic.core (MinGWPy), but don't require pthread (or winpthread) support within the core itself currently. With the various issues with thread and exception handling on MinGW-w64 based GCC variants, I'm inclined to stick with the CSV_IO_NO_THREAD option right now (relying on Python to handle threading required in the nupic python code base across all supported OS).

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