https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783
https://stackoverflow.com/questions/4434140/narrowing-conversions-in-c0x-is-it-just-me-or-does-this-sound-like-a-breakin
[ 40%] Building CXX object server/libplayerdrivers/CMakeFiles/playerdrivers.dir/__/drivers/mixed/p2os/robot_params.o
# error: narrowing conversion of ‘x.xx’ from ‘double’ to ‘int’
At author's request, removed email address from copyright lines so that they don't appear in auto-generated documentation.
Compilation error due to opencv
Hi Victor Thanks for the reply. There's one more spot where librt is being linked to, in libplayercore. I grepped through the rest of the CMakeLists.txt and didn't see any more hits for librt outside of IF (PLAYER_OS_SOLARIS), but grepping for "rt" produces tons of false positives so let me know if something else breaks. diff --git a/libplayercore/CMakeLists.txt b/libplayercore/CMakeLists.txt index 33768da6..97c6b9ab 100644 --- a/libplayercore/CMakeLists.txt +++ b/libplayercore/CMakeLists.txt @@...
I have tried to compile again and this is the error I get: [ 31%] Building CXX object libplayercore/CMakeFiles/playercore.dir/wallclocktime.o [ 31%] Building CXX object libplayercore/CMakeFiles/playercore.dir/plugins.o [ 31%] Building CXX object libplayercore/CMakeFiles/playercore.dir/globals.o [ 32%] Building CXX object libplayercore/CMakeFiles/playercore.dir/property.o [ 32%] Building CXX object libplayercore/CMakeFiles/playercore.dir/threaded_driver.o [ 32%] Building CXX object libplayercore/CMakeFiles/playercore.dir/remote_driver.o...
I was able to reproduce the error where interface_table.h wasn't found, and the patch I posted above that calls "add_dependencies" seems to fix the error on my machine. I don't have a mac to test the second patch. I pushed both of these to git master - if you could give it a try I'd appreciate it. https://github.com/playerproject/player
So interface_table.h is generated by a python script during build time. EIther something is wrong with the script/python interpreter, or something is wrong with the way that the dependencies are set up. If the output pasted is the complete output, it looks like the build system isn't trying to generate interface_table.h before trying to build libplayerinterface. This patch may correct that: diff --git a/libplayerinterface/CMakeLists.txt b/libplayerinterface/CMakeLists.txt index 59bb4ea2..0e22b8fd...
The problem with clock_gettime is a different issue. Player tests for the existance of librt.so and the clock_gettime function, and if it can't find either of those it tries to provide clock_gettime functionality. It looks like librt doesn't exist on os x, so a check for clock_gettime is all that's needed. Try this patch: diff --git a/cmake/internal/SearchForStuff.cmake b/cmake/internal/SearchForStuff.cmake index dd6e6ebd..6dbe2d83 100644 --- a/cmake/internal/SearchForStuff.cmake +++ b/cmake/internal/SearchForStuff.cmake...
So interface_table.h is generated by a python script during build time. EIther something is wrong with the script/python interpreter, or something is wrong with the way that the dependencies are set up. If the output pasted is the complete output, it looks like the build system isn't trying to generate interface_table.h before trying to build libplayerinterface. This patch may correct that: diff --git a/libplayerinterface/CMakeLists.txt b/libplayerinterface/CMakeLists.txt index 59bb4ea2..0e22b8fd...
It seems that the file "interface_table. h" cannot be generated with the new versions of CMake. I tried with CMake 3.6.3 and the problem has been solved, but now another problem has arisen. This is the output: [ 6%] Linking C shared library libplayerwkb.dylib [ 6%] Built target playerwkb Scanning dependencies of target playerc [ 6%] Building C object client_libs/libplayerc/CMakeFiles/playerc.dir/mclient.o In file included from /Users/victor/usr/local/src/player-release-3-1-0/client_libs/libplayerc/mclient.c:57:...
I have the same issue, running on macOS Sierra 10.12.6. I can't find the file "interface_table.h" also in older repos. Is it possible to get only the "interface_table.h" and the C-File to this header?
Unfortunately I cannot compile the source code, I tried to use the patch and player...
Hmm... is it possible you're using python 3 instead of python 2? Player 3.0.2's generators...
Problem continues after having applied the player-3.0.2-interfacetable.patch pat...
The CMake dependencies for that part of the code aren't set up right, this patch...
player-3.0.2 - 'interface_table.h' file not found
README: I)First, make sure you have installed the spanish voice on festival. If it's...
Fix for speech driver
Only build against statgrab 0.17 or less
Port interface and xdr generators to python 3
Stage is now being maintained on github: github.com/rtv/Stage. I've reported the...
libstage/model_camera.cc:175: bad if statements ?