Results 1 to 7 of 7

Thread: PacmanEvolutions build errors

  1. #1

    Default PacmanEvolutions build errors

    ClanLib 3.0 SVN rev 9683

    No Makefile on Linux, so I knocked up one. Attached, will need to be renamed.

    precomp.h contains #include <ClanLib/vorbis.h>. Shouldn't.

    Code:
    g++ `pkg-config --cflags clanCore-3.0 clanDisplay-3.0 clanApp-3.0 clanGL-3.0 clanSWRender-3.0` -pthread -c age_ascii.cpp -o age_ascii.o
    age_ascii.cpp:31:73: error: converting to execution character set: Invalid or incomplete multibyte or wide character
    make: *** [age_ascii.o] Error 1
    bvanevery@nomad:~/devel/ClanLib-3.0/Examples/Game/PacmanEvolutions$
    Code:
    g++ `pkg-config --cflags clanCore-3.0 clanDisplay-3.0 clanApp-3.0 clanGL-3.0 clanSWRender-3.0` -pthread -c program.cpp -o program.o
    program.cpp: In static member function ‘static int Program::main(const std::vector<std::basic_string<char> >&)’:
    program.cpp:18:2: error: ‘SetupVorbis’ is not a member of ‘clan’
    program.cpp:18:20: error: expected ‘;’ before ‘setup_vorbis’
    program.cpp:66:21: error: ‘class clan::DisplayWindow’ has no member named ‘get_hwnd’
    program.cpp:66:130: error: ‘MB_OK’ was not declared in this scope
    program.cpp:66:136: error: ‘MB_ICONERROR’ was not declared in this scope
    program.cpp:66:148: error: ‘MessageBox’ was not declared in this scope
    make: *** [program.o] Error 1
    Attached Files Attached Files

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

    Default

    Patch and fixes applied. Many thanks

  3. #3

    Default

    Now SetupSound is missing.
    Code:
    bvanevery@nomad:~/devel/ClanLib-3.0/Examples/Game/PacmanEvolutions$ make
    g++ `pkg-config --cflags clanCore-3.0 clanDisplay-3.0 clanApp-3.0 clanGL-3.0 clanSWRender-3.0` -pthread age_2d.o age_3d.o age_ascii.o elapsed_timer.o game_object_ghost.o game_object_moving.o game_object_pacman.o game_world.o map.o precomp.o program.o text_explosion_2d.o text_explosion_ascii.o -o pacmanevolutions `pkg-config --libs clanCore-3.0 clanDisplay-3.0 clanApp-3.0 clanGL-3.0 clanSWRender-3.0` 
    program.o: In function `Program::main(std::vector<std::string, std::allocator<std::string> > const&)':
    program.cpp:(.text+0x17a): undefined reference to `clan::SetupSound::SetupSound(bool)'
    program.cpp:(.text+0x521): undefined reference to `clan::SetupSound::~SetupSound()'
    program.cpp:(.text+0x7f7): undefined reference to `clan::SetupSound::~SetupSound()'
    collect2: error: ld returned 1 exit status
    make: *** [pacmanevolutions] Error 1
    bvanevery@nomad:~/devel/ClanLib-3.0/Examples/Game/PacmanEvolutions$

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

    Default

    svn commit: Add clanSound to PacmanEvolutions/Makefile

  5. #5

    Default

    Yep that's that. Pacman Evolutions works in glorious GLSL 3.30 now.

  6. #6
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    Actually strictly speaking it is using GLSL 3.2!

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

    Default

    Just change the "#version 330" to "#version 150"

Similar Threads

  1. 3.0 LegacyGL build errors
    By bvanevery in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 03-19-2013, 09:45 PM
  2. 3.0 gtk/gtk.h build errors
    By bvanevery in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 03-19-2013, 07:54 AM
  3. Many errors in Android build ( RTBareBones )
    By mmortall in forum Proton SDK
    Replies: 5
    Last Post: 06-19-2011, 05:54 PM
  4. Replies: 3
    Last Post: 08-13-2010, 10:17 PM
  5. FQ errors
    By in forum Funeral Quest
    Replies: 3
    Last Post: 08-29-2002, 02:21 PM

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
  •