<p>I pulled the changes from upstream:master and merged with my MultiprobeLSH branch, but there seems to be a problem when compiling mlpack_lsh.</p>
<p>g++ says all of the LSHSearch class variables have "not been declared in this scope". Not sure what this means, did I do something wrong when recompiling or is it something in the master branch code?</p>
<p>Here's the g++ error messages:</p>
<pre><code>[ 95%] Building CXX object src/mlpack/methods/lsh/CMakeFiles/mlpack_lsh.dir/lsh_main.cpp.o
In file included from /home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search.hpp:377:0,
from /home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_main.cpp:17:
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:819:16: error: ‘SortPolicy’ was not declared in this scope
void LSHSearch<SortPolicy>::Serialize(Archive& ar,
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:819:26: error: template argument 1 is invalid
void LSHSearch<SortPolicy>::Serialize(Archive& ar,
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp: In function ‘void mlpack::neighbor::Serialize(Archive&, unsigned int)’:
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:827:9: error: ‘ownsSet’ was not declared in this scope
if (ownsSet)
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:828:14: error: ‘referenceSet’ was not declared in this scope
delete referenceSet;
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:829:5: error: ‘ownsSet’ was not declared in this scope
ownsSet = true;
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:831:18: error: ‘referenceSet’ was not declared in this scope
ar & CreateNVP(referenceSet, "referenceSet");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:833:18: error: ‘numProj’ was not declared in this scope
ar & CreateNVP(numProj, "numProj");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:834:18: error: ‘numTables’ was not declared in this scope
ar & CreateNVP(numTables, "numTables");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:838:5: error: ‘projections’ was not declared in this scope
projections.reset();
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:847:5: error: ‘projections’ was not declared in this scope
projections.set_size(tmpProj[0].n_rows, tmpProj[0].n_cols, tmpProj.size());
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:853:20: error: ‘projections’ was not declared in this scope
ar & CreateNVP(projections, "projections");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:856:18: error: ‘offsets’ was not declared in this scope
ar & CreateNVP(offsets, "offsets");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:857:18: error: ‘hashWidth’ was not declared in this scope
ar & CreateNVP(hashWidth, "hashWidth");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:858:18: error: ‘secondHashSize’ was not declared in this scope
ar & CreateNVP(secondHashSize, "secondHashSize");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:859:18: error: ‘secondHashWeights’ was not declared in this scope
ar & CreateNVP(secondHashWeights, "secondHashWeights");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:860:18: error: ‘bucketSize’ was not declared in this scope
ar & CreateNVP(bucketSize, "bucketSize");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:861:18: error: ‘secondHashTable’ was not declared in this scope
ar & CreateNVP(secondHashTable, "secondHashTable");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:862:18: error: ‘bucketContentSize’ was not declared in this scope
ar & CreateNVP(bucketContentSize, "bucketContentSize");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:863:18: error: ‘bucketRowInHashTable’ was not declared in this scope
ar & CreateNVP(bucketRowInHashTable, "bucketRowInHashTable");
^
/home/et3rn1ty/Projects/MLPack/mlpack/src/mlpack/methods/lsh/lsh_search_impl.hpp:864:18: error: ‘distanceEvaluations’ was not declared in this scope
ar & CreateNVP(distanceEvaluations, "distanceEvaluations");
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/663#issuecomment-223306681">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFFNsacWvZIYUzDYbK46Hr-S4ZGvoks5qHublgaJpZM4Iq6tl">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFN-vjJdJnD9tpDq3OMAYLwQSPzaoks5qHublgaJpZM4Iq6tl.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/663#issuecomment-223306681"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>