Results 1 to 6 of 6

Thread: Is there a simple way to have all the ClanLib featues installed?

  1. #1

    Question Is there a simple way to have all the ClanLib featues installed?

    ./autogen.sh
    ./configure --prefix=/usr
    Is there a simple way to have all the ClanLib featues installed?

    Here is what I get.
    The following options are set: (use ./configure --help for more options)

    Installation Include Dir = /usr/include/ClanLib-3.0
    Installation Library Dir = /usr/lib
    Installation Docs Dir = /usr/share/doc/clanlib-3.0

    The following modules will be built:

    clanGL = no
    clanApp = yes
    clanDatabase = yes
    clanSqlite = no
    clanGUI = no
    clanCompute = no
    clanSWRender = no
    clanCSSLayout = no
    clanScene3D = no
    clanPhysics3D = auto
    clanPhysics2D = auto
    clanGameIDE = no
    clanCore = yes (SSE2 Enabled)
    clanSound = yes (ALSA Disabled)
    clanNetwork = yes
    clanDisplay = no

    Build Documentation = no
    Debug Build = no (Use --enable-debug to enable)

  2. #2

    Default

    ./configure --prefix=/usr --enable-sse2 --enable-docs --enable-clanDisplay --enable-clanGL --enable-clanSound --enable-clanDatabase --enable-clanSqlite --enable-clanNetwork--enable-clanGUI --enable-clanCSSLayout --enable-clanScene3D --enable-clanPhysics3D --enable-clanPhysics2D --enable-clanGameIDE --enable-clanSWRender --enable-clanCompute --enable-getaddr --enable-debug --enable-profile --enable-maintainer-mode[QUOTE=Samnang;896271]./autogen.sh
    ./configure --prefix=/usr
    And I get this :
    Checking for clanDisplay stuff
    ==============================
    checking for ttf... yes
    checking linux/joystick.h usability... yes
    checking linux/joystick.h presence... yes
    checking for linux/joystick.h... yes
    checking linux/input.h usability... yes
    checking linux/input.h presence... yes
    checking for linux/input.h... yes
    checking for fontconfig... no
    configure: error: *** Cannot find fontconfig (See http://fontconfig.org/ ) (Try libfontconfig1-dev or better)

    ianborn@ianborn-HP-G62-Notebook-PC:~/freetype-2.4.1$ sudo apt-get install fontconfig
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    fontconfig is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 283 not upgraded.
    ianborn@ianborn-HP-G62-Notebook-PC:~/freetype-2.4.1$

    So, what is a solution to this?

  3. #3
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

  4. #4

    Default Is there a simple way to have all the ClanLib featues installed?

    ./configure --prefix=/usr --enable-sse2 --enable-docs --enable-clanDisplay --enable-clanGL --enable-clanSound --enable-clanDatabase --enable-clanSqlite --enable-clanNetwork --enable-clanGUI --enable-clanCSSLayout --enable-clanScene3D --enable-clanPhysics3D --enable-clanPhysics2D --enable-clanGameIDE --enable-clanSWRender --enable-clanCompute --enable-getaddr --enable-debug --enable-profile --enable-maintainer-mode

    And it seems to work. When I run make, it gives me an error :
    /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"ClanLib\" -DPACKAGE_TARNAME=\"clanlib\" -DPACKAGE_VERSION=\"3.0.1\" -DPACKAGE_STRING=\"ClanLib\ 3.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"clanlib\" -DVERSION=\"3.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_STDBOOL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_KD_H=1 -DHAVE_SYS_VT_H=1 -DHAVE_SYS_SYSCTL_H=1 -DHAVE_FSTAB_H=1 -DEXTERN___PROGNAME=1 -DHAVE_WCSCASECMP=1 -DHAVE_TLS=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_INPUT_H=1 -DHAVE_GLX_GETPROCADDRESSARB=1 -DHAVE_SYS_SOUNDCARD_H=1 -DUSE_GETADDR=1 -I. -g -O2 -std=c++0x -msse2 -I/usr/include/freetype2 -I../../Sources -DDEBUG=1 -g -O0 -Wall -pg -g3 -ggdb3 -ftest-coverage -fprofile-arcs -Werror -MT Render/libclan30Display_la-graphic_context.lo -MD -MP -MF Render/.deps/libclan30Display_la-graphic_context.Tpo -c -o Render/libclan30Display_la-graphic_context.lo `test -f 'Render/graphic_context.cpp' || echo './'`Render/graphic_context.cpp
    libtool: compile: g++ -DPACKAGE_NAME=\"ClanLib\" -DPACKAGE_TARNAME=\"clanlib\" -DPACKAGE_VERSION=\"3.0.1\" "-DPACKAGE_STRING=\"ClanLib 3.0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"clanlib\" -DVERSION=\"3.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_STDBOOL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_KD_H=1 -DHAVE_SYS_VT_H=1 -DHAVE_SYS_SYSCTL_H=1 -DHAVE_FSTAB_H=1 -DEXTERN___PROGNAME=1 -DHAVE_WCSCASECMP=1 -DHAVE_TLS=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_LINUX_INPUT_H=1 -DHAVE_GLX_GETPROCADDRESSARB=1 -DHAVE_SYS_SOUNDCARD_H=1 -DUSE_GETADDR=1 -I. -g -O2 -std=c++0x -msse2 -I/usr/include/freetype2 -I../../Sources -DDEBUG=1 -g -O0 -Wall -pg -g3 -ggdb3 -ftest-coverage -fprofile-arcs -Werror -MT Render/libclan30Display_la-graphic_context.lo -MD -MP -MF Render/.deps/libclan30Display_la-graphic_context.Tpo -c Render/graphic_context.cpp -fPIC -DPIC -o Render/.libs/libclan30Display_la-graphic_context.o
    Render/graphic_context.cpp: In member function 'clan::Texture clan::GraphicContext::get_texture(int) const':
    Render/graphic_context.cpp:146:49: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
    if ((unit < 0) || (unit >= impl->textures.size()))
    ^
    cc1plus: all warnings being treated as errors
    make[2]: *** [Render/libclan30Display_la-graphic_context.lo] Error 1
    make[2]: Leaving directory `/home/ianborn/ClanLib-3.0.1/Sources/Display'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ianborn/ClanLib-3.0.1/Sources'
    make: *** [all-recursive] Error 1

  5. #5
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Just use: "./configure --prefix=/usr"

  6. #6

    Default --Werror

    cc1plus: all warnings being treated as errors

    After I change -Werror to --W in configure, everything are compiling fine.
    There are a lot of warnings.

Similar Threads

  1. Installed 5 N8 at Fredi's
    By MySuperCookie in forum RTsoft Tavern
    Replies: 2
    Last Post: 10-10-2014, 09:05 PM
  2. Trouble Seeing All Installed Libraries
    By jmguy02 in forum Official ClanLib SDK Forums
    Replies: 22
    Last Post: 04-05-2009, 12:22 AM
  3. simple ClanLib example problem - segfault
    By phx_one in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 02-17-2008, 12:54 AM
  4. Simple app won't compile when linked with clanlib
    By mmiikkee12 in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 07-17-2007, 02:41 PM
  5. If you have installed  DMG beta 0.50 get 0.50b now
    By rmcnew in forum Funeral Quest
    Replies: 0
    Last Post: 01-18-2004, 09:31 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •