Hello, I just tried to build waffles on Ubuntu 15.10 with 'sudo make install'. I cloned the latest sources from git://git.code.sf.net/p/waffles/code.
I get the following error, I tried cleaning with make clean and doing it again, but aside this I need some help. I coded in the past, but am not too familiar with building libraries.
Thanks a lot!
GSelfOrganizingMap.cpp:1101:10: error: ‘void GClasses::{anonymous}::originalTest()’ defined but not used [-Werror=unused-function]
void originalTest()
^
cc1plus: all warnings being treated as errors
../../obj/GClasses/dbg/GSelfOrganizingMap.d:5: recipe for target '../../obj/GClasses/dbg/GSelfOrganizingMap.o' failed
make: [../../obj/GClasses/dbg/GSelfOrganizingMap.o] Error 1
make: Leaving directory '/home/draugr/waffles/waffles/src/GClasses'
Makefile:247: recipe for target 'install' failed
make[1]: [install] Error 2
make[1]: Leaving directory '/home/draugr/waffles/waffles/src/GClasses'
Makefile:44: recipe for target 'INSTALLGClasses' failed
make: [INSTALLGClasses] Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for letting me know. I suspect that this can be fixed by removing the "-pedantic" or "-Werror" flags from src/GClasses/Makefile. However, I won't know for sure until I install Ubuntu 15.10 and try it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, I had to replace it with in all the makefiles before it built. I'll try if it works now.
But, shouldn't the code compile without warnings? ;) However, I never wrote an entire library and published it, so I'm not the right one to say if this is possible at all. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, it definitely should compile without warnings. It compiles without warnings on 14.04, but I haven't yet tried it on 15.10. Apparently, the compiler is getting more picky (which is a good thing). I will need to fix these issues sooner or later, so I appreciate your pointing them out. I wonder how many people have just given up and moved on.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I just want to let you know, that there is the same compilation problem on debian jessie, unfortunately removal of the "-pedantic" or "-Werror" flags did not help.
Thanks for reporting. This issue has been fixed in the GitHub repository (https://github.com/mikegashler/waffles). The SourceForge one has now been deprecated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello, I just tried to build waffles on Ubuntu 15.10 with 'sudo make install'. I cloned the latest sources from git://git.code.sf.net/p/waffles/code.
I get the following error, I tried cleaning with make clean and doing it again, but aside this I need some help. I coded in the past, but am not too familiar with building libraries.
Thanks a lot!
GSelfOrganizingMap.cpp:1101:10: error: ‘void GClasses::{anonymous}::originalTest()’ defined but not used [-Werror=unused-function]
void originalTest()
^
cc1plus: all warnings being treated as errors
../../obj/GClasses/dbg/GSelfOrganizingMap.d:5: recipe for target '../../obj/GClasses/dbg/GSelfOrganizingMap.o' failed
make: [../../obj/GClasses/dbg/GSelfOrganizingMap.o] Error 1
make: Leaving directory '/home/draugr/waffles/waffles/src/GClasses'
Makefile:247: recipe for target 'install' failed
make[1]: [install] Error 2
make[1]: Leaving directory '/home/draugr/waffles/waffles/src/GClasses'
Makefile:44: recipe for target 'INSTALLGClasses' failed
make: [INSTALLGClasses] Error 2
Thanks for letting me know. I suspect that this can be fixed by removing the "-pedantic" or "-Werror" flags from src/GClasses/Makefile. However, I won't know for sure until I install Ubuntu 15.10 and try it.
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Thanks, I had to replace it with in all the makefiles before it built. I'll try if it works now.
But, shouldn't the code compile without warnings? ;) However, I never wrote an entire library and published it, so I'm not the right one to say if this is possible at all. :)
Yes, it definitely should compile without warnings. It compiles without warnings on 14.04, but I haven't yet tried it on 15.10. Apparently, the compiler is getting more picky (which is a good thing). I will need to fix these issues sooner or later, so I appreciate your pointing them out. I wonder how many people have just given up and moved on.
View and moderate all "Help" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello,
I just want to let you know, that there is the same compilation problem on debian jessie, unfortunately removal of the "-pedantic" or "-Werror" flags did not help.
Description: Debian GNU/Linux 8.4 (jessie)
Release: 8.4
Codename: jessie
Thanks for reporting. This issue has been fixed in the GitHub repository (https://github.com/mikegashler/waffles). The SourceForge one has now been deprecated.