[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    [CMake] Trying to build a software for Android that uses CMake
From:       Erico P <eri0onpm () gmail ! com>
Date:       2018-02-10 19:02:19
Message-ID: CANT=srohpVuaDjCCJWa1LS5F-=VEeNmcZJqeNLpw9NCi-kTRJg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I am trying to build the Adventure Game Studio engine for Android. It
depends on allegro-4.4.2.

Unfortunately, Allegro-4.4.2 is failing with errors for me:

    CMake Error at CMakeLists.txt:962 (get_target_property):
    get_target_property() called with non-existent target "allegrogl".


    CMake Error at CMakeLists.txt:962 (get_target_property):
    get_target_property() called with non-existent target "loadpng".


    CMake Error at CMakeLists.txt:962 (get_target_property):
    get_target_property() called with non-existent target "logg".


    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:
    RT_LIBRARY
    linked by target "allegro" in directory
/home/erico/git/ags/Android/buildlibs/armeabi-v7a/allegro-4.4.2


I think the problem is CMake is not find these libraries, and I am not sure
what the variable RT_LIBRARY means.

I detailed what I did below:

http://www.adventuregamestudio.co.uk/forums/index.php?topic=44768.msg636580835#new

Getting the master branch of AGS to build for Android would be amazing. I
know the current branch won't actually work (we are missing some functions
in AGS part to work correctly), but right now I just want to build the
libraries and Allegro 4.4.2 is an important part of this process.

I am just looking if someone has seem these errors before or have a clue on
what is needed to do.

Thank you.

Regards,

Érico

[Attachment #5 (text/html)]

<div dir="ltr">Hello,<div><br></div><div>I am trying to build the Adventure Game \
Studio engine for Android. It depends on \
allegro-4.4.2.</div><div><br></div><div>Unfortunately, Allegro-4.4.2 is failing with \
errors for me:</div><div><br></div><div><div><font color="#000000" face="monospace, \
monospace">      CMake Error at CMakeLists.txt:962 \
(get_target_property):</font></div><div><font color="#000000" face="monospace, \
monospace">      get_target_property() called with non-existent target \
&quot;allegrogl&quot;.</font></div><div><font color="#000000" face="monospace, \
monospace"><br></font></div><div><font color="#000000" face="monospace, \
monospace"><br></font></div><div><font color="#000000" face="monospace, monospace">   \
CMake Error at CMakeLists.txt:962 (get_target_property):</font></div><div><font \
color="#000000" face="monospace, monospace">      get_target_property() called with \
non-existent target &quot;loadpng&quot;.</font></div><div><font color="#000000" \
face="monospace, monospace"><br></font></div><div><font color="#000000" \
face="monospace, monospace"><br></font></div><div><font color="#000000" \
face="monospace, monospace">      CMake Error at CMakeLists.txt:962 \
(get_target_property):</font></div><div><font color="#000000" face="monospace, \
monospace">      get_target_property() called with non-existent target \
&quot;logg&quot;.</font></div><div><font color="#000000" face="monospace, \
monospace"><br></font></div><div><font color="#000000" face="monospace, \
monospace"><br></font></div><div><font color="#000000" face="monospace, monospace">   \
CMake Error: The following variables are used in this project, but they are set to \
NOTFOUND.</font></div><div><font color="#000000" face="monospace, monospace">      \
Please set them or make sure they are set and tested correctly in the CMake \
files:</font></div><div><font color="#000000" face="monospace, monospace">      \
RT_LIBRARY</font></div><div><font color="#000000" face="monospace, monospace">      \
linked by target &quot;allegro&quot; in directory \
/home/erico/git/ags/Android/buildlibs/armeabi-v7a/allegro-4.4.2</font></div><div><font \
color="#000000" face="verdana, helvetica, sans-serif"><br></font></div><div><font \
color="#000000" face="verdana, helvetica, sans-serif"><br></font></div>I think the \
problem is CMake is not find these libraries, and I am not sure what the variable \
RT_LIBRARY means.</div><div><br></div><div>I detailed what I did \
below:</div><div><br></div><div><a \
href="http://www.adventuregamestudio.co.uk/forums/index.php?topic=44768.msg636580835#n \
ew">http://www.adventuregamestudio.co.uk/forums/index.php?topic=44768.msg636580835#new</a><br></div><div><br></div><div>Getting \
the master branch of AGS to build for Android would be amazing. I know the current \
branch won&#39;t actually work (we are missing some functions in AGS part to work \
correctly), but right now I just want to build the libraries and Allegro 4.4.2 is an \
important part of this process.</div><div><br></div><div>I am just looking if someone \
has seem these errors before or have a clue on what is needed to \
do.</div><div><br></div><div>Thank \
you.</div><div><br></div><div>Regards,</div><div><br></div><div>Érico</div><div><br></div></div>




-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic