[merged]guichan sdl not found / compilation error

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
Feanor
Newly Registered User
Posts: 6
Joined: 13 Sep 2011, 22:01
Location: Nebraska, USA

[merged]guichan sdl not found / compilation error

Post 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?
Attachments
manaterm.png
manaterm.png (11.19 KiB) Viewed 2739 times
Si vis pacem, para bellum.

In game name lxHUnterxI
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: guichan sdl not found

Post 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 ()
Former programmer for the TMWA server.
Feanor
Newly Registered User
Posts: 6
Joined: 13 Sep 2011, 22:01
Location: Nebraska, USA

Re: guichan sdl not found

Post 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.
Si vis pacem, para bellum.

In game name lxHUnterxI
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: guichan sdl not found

Post 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.
Former programmer for the TMWA server.
Feanor
Newly Registered User
Posts: 6
Joined: 13 Sep 2011, 22:01
Location: Nebraska, USA

compiiation error.

Post 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!

Si vis pacem, para bellum.

In game name lxHUnterxI
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

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

Post 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.
Former programmer for the TMWA server.
Feanor
Newly Registered User
Posts: 6
Joined: 13 Sep 2011, 22:01
Location: Nebraska, USA

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

Post 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.
Si vis pacem, para bellum.

In game name lxHUnterxI
User avatar
Derpella
Novice
Novice
Posts: 198
Joined: 14 Jun 2011, 08:08
Location: Poland

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

Post 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?
I'm Image too much.
Feanor
Newly Registered User
Posts: 6
Joined: 13 Sep 2011, 22:01
Location: Nebraska, USA

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

Post 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"
Si vis pacem, para bellum.

In game name lxHUnterxI
Post Reply