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

win7 build failed #14

Closed
denis-efimov opened this issue Oct 8, 2016 · 1 comment
Closed

win7 build failed #14

denis-efimov opened this issue Oct 8, 2016 · 1 comment

Comments

@denis-efimov
Copy link

denis-efimov commented Oct 8, 2016

Dear Artelnics,
I just tried to build an example from your repository using Qt 5.5.1 on windows 7 and got these errors:

g++ -static-libgcc -static-libstdc++ -static -Wl,-subsystem,console -mthreads -o ......\OpenNN\examples\simple_function_regression\bin\simple_function_regression.exe debug/main.o -LD:/opennn/build-opennn-Desktop_Qt_5_5_1_MinGW_32bit-Debug/examples/simple_function_regression/../../opennn/debug/ -lopennn -LD:/opennn/build-opennn-Desktop_Qt_5_5_1_MinGW_32bit-Debug/examples/simple_function_regression/../../tinyxml2/debug/ -ltinyxml2 -LD:/Qt/5.5/mingw492_32/lib -lQt5Guid -lQt5Cored
D:/opennn/build-opennn-Desktop_Qt_5_5_1_MinGW_32bit-Debug/examples/simple_function_regression/../../opennn/debug/\libopennn.a(data_set.o): In function 'ZN6OpenNN7DataSet24unuse_repeated_instancesEv':
D:\opennn\build-opennn-Desktop_Qt_5_5_1_MinGW_32bit-Debug\opennn/../../OpenNN/opennn/data_set.cpp:1881: undefined reference to 'GOMP_parallel'

etc.

@houssam11350
Copy link

hi ...
open file: simple_function_regression.pro
and add:
QMAKE_CXXFLAGS += -std=c++11 -fopenmp -pthread -lgomp
QMAKE_LFLAGS += -fopenmp -pthread -lgomp
LIBS += -fopenmp -pthread -lgomp

note that you must make that for all examples:
airfoil_self_noise.pro
breast_cancer.pro
iris_plant.pro
leukemia.pro
.....
etc

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