-
Notifications
You must be signed in to change notification settings - Fork 276
zlib.h
in external
causing build problem
#106
Comments
It turns out that the problem is caused by the removal of Should recover: |
From: * https://github.com/numenta/nupic/blob/46835bfdf53b4b2d12f88ed1fd0dd02f33bf22aa/external/common/include/zconf.h * https://github.com/numenta/nupic/blob/46835bfdf5/external%2Flinux32arm%2Finclude%2Fzconf.h * https://github.com/numenta/nupic/blob/46835bfdf5/external%2Flinux32armv7%2Finclude%2Fzconf.h
The problem is that this approach is broken by design, as external libs that should never be included to begin with gets precedence and is included by default, even when building for Linux. External libraries should never be included, period. If anything it should be put in contrib and/or have cmake deal with it. This fix is only making the problem worse. |
This issue started as #48 , when I encountered build problem on a Ubuntu which didn't have zlib development headers shipped with it and pre-installed. And in my personal development life, it's very rare to see development headers pre-installed on a system: When I started trying to address #48 , I was not aware of the way My fix #97 is merely a patch to fix #48 , but not to dramatically change the convention, which require a proposing and voting process described on wiki, and I believe it would possibly break the build on Raspberry Pi or so, which I would not consider it as a 0.5% market share for AI developers. You're welcome to propose the removal of external libraries on the mailing list, and if the motion passes, it would be great to have you work on PRs removing them without breaking things. |
@olavks reported that
zlib.h
inexternal
is causing build problem at #48 (comment) .This issue is to follow the problem.
The text was updated successfully, but these errors were encountered: