Can't to build your project

192 views
Skip to first unread message

Alex

unread,
Jun 17, 2014, 10:36:06 PM6/17/14
to xdxf-...@googlegroups.com
I pulled your project from: https://github.com/soshial/xdxf_makedict

But I can't build it.

alex@alex:~/makedict/xdxf_makedict$ cmake CMakeLists.txt 
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for one of the modules 'glib-2.0'
-- Found GLib2: glib-2.0 /usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include
-- Looking for include file glib/gregex.h
-- Looking for include file glib/gregex.h - not found
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3") 
-- Performing Test ICONV_HAVE_WERROR
-- Performing Test ICONV_HAVE_WERROR - Success
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /usr/lib/x86_64-linux-gnu/libc.so
-- Looking for dgettext
-- Looking for dgettext - found
-- Found libintl: /usr/lib/x86_64-linux-gnu/libc.so
-- Looking for mmap
-- Looking for mmap - found
-- Looking for locale.h
-- Looking for locale.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/alex/makedict/xdxf_makedict
alex@alex:~/makedict/xdxf_makedict$ make
Scanning dependencies of target makedict
[  3%] Building CXX object CMakeFiles/makedict.dir/src/makedict.cpp.o
In file included from /usr/include/glib-2.0/glib.h:62:0,
                 from /home/alex/makedict/xdxf_makedict/src/makedict.cpp:31:
/home/alex/makedict/xdxf_makedict/src/log.hpp:22:13: error: variable or field ‘g_log’ declared void
 extern void g_info(const gchar *fmt, ...);
             ^
/home/alex/makedict/xdxf_makedict/src/log.hpp:22:20: error: expected primary-expression before ‘const’
 extern void g_info(const gchar *fmt, ...);
                    ^
/home/alex/makedict/xdxf_makedict/src/log.hpp:22:38: error: expected primary-expression before ‘...’ token
 extern void g_info(const gchar *fmt, ...);
                                      ^
make[2]: *** [CMakeFiles/makedict.dir/src/makedict.cpp.o] Error 1
make[1]: *** [CMakeFiles/makedict.dir/all] Error 2
make: *** [all] Error 2

Ubuntu 14.04
Help me please.

Ildar Mulyukov

unread,
Jul 3, 2014, 3:33:29 AM7/3/14
to xdxf-...@googlegroups.com

Hi!
Looks like the code got old and needs to be fixed. Please open the issue at github and provide the GCC and glib versions you have.
Regards,
--
Ildar Mulyukov,
child of God

email: ildar.m...@gmail.com
GoogleTalk: ildar.m...@gmail.com
blog: http://johan-notes.blogspot.com/

18.06.2014 8:36 пользователь "Alex" <vokin...@gmail.com> написал:
--
You received this message because you are subscribed to the Google Groups "XDXF - The Extensible (XML) Dictionary Exchange Format" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xdxf-format...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages