You are not logged in.

#1 2014-03-16 14:08:43

tomiia
Member
Registered: 2014-03-16
Posts: 2

Problème de compilation de dawn-rpg, "Cannot locate tolua++ library"

Bonjour
J'ai un problème avec dawn-rpg, il a besoin de tolua++, mais pour une raison inconnue il me dit toujours :

checking for library containing tolua_open... no
Cannot locate tolua++ library. You need this for Dawn to work

Pourtant j'ai bien tolua++ d'installé, il y a bien tolua++.h, libtolua++.a

Des idées ?

ps: je ne sais pas si je suis au bon endroit, désolé

Last edited by tomiia (2014-03-16 14:09:35)

Offline

#2 2014-03-16 14:40:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problème de compilation de dawn-rpg, "Cannot locate tolua++ library"

Please use English or visit http://forums.archlinux.fr/

Offline

#3 2014-03-16 15:38:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,211

Re: Problème de compilation de dawn-rpg, "Cannot locate tolua++ library"

Moving to Other Languages.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2015-03-05 11:29:47

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 389

Re: Problème de compilation de dawn-rpg, "Cannot locate tolua++ library"

Il y a bien une erreur dans le package aur de dawn-rpg, cependant le package est orphan.
De plus  l'erreur est upstream et le depot git n'as pas été mis à jour depuis 3 ans.

Je crains qu'il n'y ait des regressions.

Offline

#5 2017-03-24 05:46:01

JDongian
Member
Registered: 2017-03-24
Posts: 1

Re: Problème de compilation de dawn-rpg, "Cannot locate tolua++ library"

The problem is that the compilation expects libtolua++, but it is incorrectly referenced in the configure. Add toluapp to the search targets in the configure file (on line 4756). Then your compilation should error because the libraries are not linked correctly. In the generated Makefile, change -llua to -llua5.1 and move -llua5.1 and -ltoluapp to the end of the library list (order matters). Then everything should compile.

Offline

#6 2017-03-25 15:41:02

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,414
Website

Re: Problème de compilation de dawn-rpg, "Cannot locate tolua++ library"

Thanks for sharing, JDongian. I think this old thread can be closed now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB