I accidentally sent this to not the list, so I'm resending it. Let me reword it though, because I realized that I could be more helpful, having had the same problem earlier. Before you run the cmake command, execute
`CXX_FLAGS=${CXX_FLAGS}" -D__STDC_CONSTANT_MACROS"`
and it should compile.
MAQ.
Does defining the macro, as shown in [1] work? (excerpted below)
"Adding -D__STDC_CONSTANT_MACROS to the compilation flags (USERFLAGS) solves the UINT64_c problem."
MAQ.
[1] http://www.openframeworks.cc/forum/viewtopic.php?f=8&t=3927--
On Wed, Nov 10, 2010 at 1:17 AM, kylehe <hehu.mech@gmail.com> wrote:Hi All,
I am the beginner to vxl. Recently I tried to compile the vxl (1.14.0)
on my computer(x86_64 GNU/Linux, ubuntu). But I always got the error as
follows:
In file included from /usr/include/libavutil/avutil.h:81,
from /usr/include/libavcodec/avcodec.h:30,
from /home/user/Src/vxl-1.14.0/core/vidl/vidl_ffmpeg_convert.h:21,
from /home/user/Src/vxl-1.14.0/core/vidl/vidl_ffmpeg_convert.cxx:12:
/usr/include/libavutil/common.h: In function ‘int32_t
av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154: error: ‘UINT64_C’ was not declared
in this scope
make[2]: *** [core/vidl/CMakeFiles/vidl.dir/vidl_ffmpeg_convert.o] Error
1
make[1]: *** [core/vidl/CMakeFiles/vidl.dir/all] Error 2
make: *** [all] Error 2
Any comments will be appreciated.
Regards,
Kyle
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Vxl-users mailing list
Vxl-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vxl-users
Omnis una manet nox.
(The same night awaits us all.)
~Horatius