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 in Build process #23

Closed
acharyaR opened this issue Sep 27, 2018 · 1 comment
Closed

Error in Build process #23

acharyaR opened this issue Sep 27, 2018 · 1 comment
Labels

Comments

@acharyaR
Copy link

During the build process I'm getting the following

/N2D2-master/src/DeepNet.cpp: In member function ‘void N2D2::DeepNet::cTicks(N2D2::Time_T, N2D2::Time_T, N2D2::Time_T, bool)’:
/home/lonewalker/NN/N2D2-master/src/DeepNet.cpp:2068:13: error: variable ‘itBegin’ set but not used [-Werror=unused-but-set-variable]
itBegin = mLayers.begin(),
^~~~~~~
/home/lonewalker/NN/N2D2-master/src/DeepNet.cpp: In member function ‘void N2D2::DeepNet::initializeCMonitors(unsigned int)’:
/home/lonewalker/NN/N2D2-master/src/DeepNet.cpp:2157:5: error: variable ‘itBegin’ set but not used [-Werror=unused-but-set-variable]
itBegin = mLayers.begin(),
^~~~~~~
cc1plus: all warnings being treated as errors
CMakeFiles/N2D2-OS.dir/build.make:3302: recipe for target 'CMakeFiles/N2D2-OS.dir/src/DeepNet.cpp.o' failed
make[2]: *** [CMakeFiles/N2D2-OS.dir/src/DeepNet.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/N2D2-OS.dir/all' failed
make[1]: *** [CMakeFiles/N2D2-OS.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

@olivierbichler-cea
Copy link
Contributor

olivierbichler-cea commented Nov 22, 2018

Hello,
This will be fixed in the next commit.
You can safely remove the unused variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants