gnawice / mojo-cnn

mojo cnn: c++ convolutional neural network
MIT License
194 stars 60 forks source link

__pragma not declared in this scope #7

Closed tarzan212 closed 6 years ago

tarzan212 commented 6 years ago

I am executing the makefile on the test folder using mingw32-make. I get plenty of message errors stating that __pragma is not declared along with "omp", followed by multiple error that are consequences of the previous.

gnawice commented 6 years ago

I've added travis and appveyor CI to ensure builds are working with GCC and MSVC. I suspect you'll need to either disable OpenMP in mojo or find out how to get openmp support in mingw32.

gnawice commented 6 years ago

Sorry, Only tested in GCC and MSVC. You can likely remove the define for using OMP and threading so that those pragmas are skipped.

On Tue, Jun 5, 2018 at 2:12 PM, tarzan212 notifications@github.com wrote:

I am executing the makefile on the test folder using mingw32-make. I get plenty of message errors stating that __pragma is not declared along with "omp", followed by multiple error that are consequences of the previous.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gnawice/mojo-cnn/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/ASR7lJMgzlii5Hv4WSQGpTljdQ35guRKks5t5sn7gaJpZM4UbTvd .