baidu-research / persistent-rnn

Fast Recurrent Networks Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'assert declared here, later in the translation unit': Failing to Compile Benchmarks on CentOS with GCC 4.8.5

caweinshenker opened this issue · comments

I have been trying to compile the benchmarks for some time now and always get errors of the flavor in the attached file. Apparently GCC porting has been responsible for errors like this, but I also notice that persistent-rnn/include/prnn/detail/parallel/assert.h redefines assert() right in the middle of things. I haven't looked all the way down to see if this redefinition is the source of the problem but would appreciate any insight into what's going on. Thanks.

What I've tried: #include <cassert>, #include <assert.h>, setting/unsetting the NDEBUG macro, and using -fpermissive in compilation.

pcompile_output.txt

Edit: the real problem here was trying to compile the benchmarks myself when the SConstruct file put nothing in the "build_local" directory the README tells you to build. Issuing a pull request that makes the release build visible.