Page 1 of 1

[merged]guichan sdl not found / compilation error

Posted: 21 Sep 2011, 00:00
by Feanor
I am installing the new client(0.5.3)
Anyhow I installed the latest guichan(0.8.2) when i am running cmake i get this(see pic).

What should i do?

Re: guichan sdl not found

Posted: 21 Sep 2011, 01:51
by o11c
Most likely you don't have the guichan headers - I doubt anyone has guichan without sdl

Code: Select all

    IF (COMPONENT STREQUAL "SDL")
        SET(COMPONENT_FOUND TRUE)
        SET(Guichan_HEADER "guichan/sdl.hpp")
        SET(Guichan_LIBRARY "guichan_sdl")
    ENDIF ()

Re: guichan sdl not found

Posted: 21 Sep 2011, 20:58
by Feanor
o11c wrote:Most likely you don't have the guichan headers - I doubt anyone has guichan without sdl

Code: Select all

    IF (COMPONENT STREQUAL "SDL")
        SET(COMPONENT_FOUND TRUE)
        SET(Guichan_HEADER "guichan/sdl.hpp")
        SET(Guichan_LIBRARY "guichan_sdl")
    ENDIF ()
what do i do with that? i tried it in the terminal with no results.

Re: guichan sdl not found

Posted: 22 Sep 2011, 00:16
by o11c
Sorry, I was citing that as evidence, not telling you something to do.

Make sure all the appropriate headers / -devel packages are installed on your system.

compiiation error.

Posted: 22 Sep 2011, 00:33
by Feanor
When I run cmake i get this error

Code: Select all

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
SDLMIXER_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/hunter/programs/mana-mana-7a05a89/src
SDLMIXER_LIBRARY (ADVANCED)
    linked by target "mana" in directory /home/hunter/programs/mana-mana-7a05a89/src
SDLNET_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/hunter/programs/mana-mana-7a05a89/src
SDLNET_LIBRARY (ADVANCED)
    linked by target "mana" in directory /home/hunter/programs/mana-mana-7a05a89/src
SDLTTF_INCLUDE_DIR
   used as include directory in directory /home/hunter/programs/mana-mana-7a05a89/src
SDLTTF_LIBRARY
    linked by target "mana" in directory /home/hunter/programs/mana-mana-7a05a89/src

-- Configuring incomplete, errors occurred!


Re: [merged]guichan sdl not found / compilation error

Posted: 22 Sep 2011, 00:41
by o11c
Please make sure all of the required -dev packages are installed. You're also missing some libraries, but those should be installed as dependencies of the header packages.

Re: [merged]guichan sdl not found / compilation error

Posted: 22 Sep 2011, 04:41
by Feanor
Ok. thank you. i have that figured out.

However when i try to run make it tells me there are no targets. What do i do?

nevermind i found out what i did wrong.

Re: [merged]guichan sdl not found / compilation error

Posted: 14 Oct 2011, 12:11
by Derpella
Pft, where you found out what was wrong, you should freaking write it. When you make a topic, it's not only to help one person, but to solve a problem for everyone.
I have the same problem, could you share what you did?

Re: [merged]guichan sdl not found / compilation error

Posted: 15 Oct 2011, 23:35
by Feanor
it was fairly obvious so I figured it didn't need posted.
Anyhow when i read the "Install" file carefully again i found that there needed to be a "." in the cmake. i think it was ".cmake"