ta3d scans my /home/$USER on startup for resources

You have a problem with TA3D, it doesn't run or it crashes...
/
Vous avez un problème avec TA3D, il ne se lance pas ou plante...
Post Reply
User avatar
yoshi314
Posts: 54
Joined: Sat Feb 23, 2008 3:30 pm
Location: PL
Contact:

ta3d scans my /home/$USER on startup for resources

Post by yoshi314 » Mon Dec 13, 2010 8:37 am

I've finally managed to package ta3d for gentoo. It builds and works fine, but for some strange reason it includes my ENTIRE home directory on resource directories list.

that means that starting it up takes a while, as it goes through my entire home directory looking for...someting (as seen through strace).

log snippet
[Mon Dec 13 09:44:11 2010][ta3d][infos]
[Mon Dec 13 09:44:11 2010][ta3d][infos] [paths] Started from: `/home/yoshi/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [paths] Preferences: `/home/yoshi/.ta3d/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [paths] Cache: `/home/yoshi/.ta3d/cache/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [paths] Savegames: `/home/yoshi/.ta3d/savegames/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [paths] Screenshots: `/home/yoshi/.ta3d/screenshots/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [paths] Logs: `/home/yoshi/.ta3d/log/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] Opened the log file: `/home/yoshi/.ta3d/log/ta3d.log`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [resources] Added `/home/yoshi/.ta3d/resources/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [resources] Added `/usr/share/games/ta3d/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [resources] Added `/usr/share/games/ta3d/resources/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [resources] Added `/home/yoshi/`
[Mon Dec 13 09:44:11 2010][ta3d][infos] [settings] Loaded from `/home/yoshi/.ta3d/ta3d.cfg`
[Mon Dec 13 09:44:11 2010][ta3d][notic] [system] GNU/Linux, Vendor: Unknown Unknown (None)
[Mon Dec 13 09:44:11 2010][ta3d][notic] [system] Desktop: 1280x1024 (32bits)
[Mon Dec 13 09:44:11 2010][ta3d][infos] [system] SDL version: 1.2.14
[Mon Dec 13 09:44:11 2010][ta3d][infos] CPU: 2
how do i work it around? using my local build from svn didn't show that behavior.i suppose i am missing some extra cmake flags.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by zuzuf » Mon Dec 13, 2010 5:03 pm

hm, there is no explicit entry for it so I guess you started TA3D from your home directory (working directory is automatically used as a resource path) which can take a while and require lots of memory since it fills an hashtable with the paths to all the files it finds inside the resource paths (both real files and files in HPI archives) this is used as a virtual file system by the engine. A temporary fix: comment lines 83-84 in ta3d/src/misc/resources.cpp. I am going to disable those lines by default (I still use them when working on the code :P)

PS: done, working directory is now disabled by default.
=>;-D Penguin Powered

User avatar
yoshi314
Posts: 54
Joined: Sat Feb 23, 2008 3:30 pm
Location: PL
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by yoshi314 » Mon Dec 13, 2010 9:36 pm

cool, i'll test it in a moment.

now i only have to review how to invoke ta3d --install to install files off cd properly.

Code: Select all

[100%] Built target yuni-config
-- Looking for the Yuni Framework - Requires: core
-- Looking for the Yuni Framework - failed - the required modules could not be found
yuni-config: /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/tools/yuni-config/../../yuni/core/string/../customstring/customstring.hxx:451: void Yuni::CustomString<ChunkSizeT, ExpandableT, ZeroTerminatedT>::assign(const StringT&, Yuni::CustomString<ChunkSizeT, ExpandableT, ZeroTerminatedT>::Size, Yuni::CustomString<ChunkSizeT, ExpandableT, ZeroTerminatedT>::Size) [with StringT = Yuni::CustomString<>, unsigned int ChunkSizeT = 128u, bool ExpandableT = true, bool ZeroTerminatedT = true, Yuni::CustomString<ChunkSizeT, ExpandableT, ZeroTerminatedT>::Size = unsigned int]: Assertion `size + offset <= len && "Buffer overflow in CustomString::assign(s, size, offset) !"' failed.
CMake Error at CMakeLists.txt:75 (Message):
  The Yuni Framework could not be found.
i guess i'll have to wait a bit, looks like libyuni got broken ;)

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by milipili » Tue Dec 14, 2010 8:46 am

This issue should already have been fixed. Is the bug still present in your case ?
Damien Gerard
Ta3d & Yuni Developer

User avatar
yoshi314
Posts: 54
Joined: Sat Feb 23, 2008 3:30 pm
Location: PL
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by yoshi314 » Tue Dec 14, 2010 5:32 pm

i'll let you know in 3 hours (will update post).

edit: no, it still doesn't build.

libyuni is at r1385 atm.

User avatar
yoshi314
Posts: 54
Joined: Sat Feb 23, 2008 3:30 pm
Location: PL
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by yoshi314 » Wed Dec 15, 2010 8:42 am

ok, it went past that. now i'm stuck further in

Code: Select all

[ 39%] Building CXX object libs/yuni/src/yuni/CMakeFiles/yuni-static-core.dir/core/uri/uri.cpp.o
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp: In function 'TA3D::String TA3D::Paths::ExtractFilePath(const TA3D::String&, bool)':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:186:61: error: conversion from 'void' to non-scalar type 'TA3D::String' requested
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp: In function 'TA3D::String TA3D::Paths::ExtractFileName(const TA3D::String&, bool)':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:191:61: error: conversion from 'void' to non-scalar type 'TA3D::String' requested
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp: In function 'TA3D::String TA3D::Paths::ExtractFileNameWithoutExtension(const TA3D::String&, bool)':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:206:77: error: conversion from 'void' to non-scalar type 'TA3D::String' requested
In file included from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.h:306:0,
                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/file.h:4,
                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/file.h:5,
                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/logs.h:12,
                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs.h:4,
                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/logs/logs.h:22,
                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/gfx/gfx.toolkit.h:23,
                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/TA3D_NameSpace.h:31,
                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:27:
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx: In function 'void Yuni::Core::IO::ExtractFilePath(StringT1&, const StringT2&, bool) [with StringT1 = const Yuni::StringBase<>, StringT2 = bool]':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:186:61:   instantiated from here
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:106:3: error: request for member 'empty' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:107:4: error: passing 'const Yuni::StringBase<>' as 'this' argument of 'Yuni::StringBase<C, K>& Yuni::StringBase<C, ChunkSizeT>::clear() [with C = char, int Chunk = 128]' discards qualifiers
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:110:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:110:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:113:4: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:114:5: error: passing 'const Yuni::StringBase<>' as 'this' argument of 'Yuni::StringBase<C, K>& Yuni::StringBase<C, ChunkSizeT>::clear() [with C = char, int Chunk = 128]' discards qualifiers
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:110:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx: In function 'void Yuni::Core::IO::ExtractFileName(StringT1&, const StringT2&, bool) [with StringT1 = const Yuni::StringBase<>, StringT2 = bool]':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:191:61:   instantiated from here
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:125:3: error: request for member 'notEmpty' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:126:4: error: passing 'const Yuni::StringBase<>' as 'this' argument of 'Yuni::StringBase<C, K>& Yuni::StringBase<C, ChunkSizeT>::clear() [with C = char, int Chunk = 128]' discards qualifiers
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:132:4: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:133:5: error: passing 'const Yuni::StringBase<>' as 'this' argument of 'Yuni::StringBase<C, K>& Yuni::StringBase<C, ChunkSizeT>::clear() [with C = char, int Chunk = 128]' discards qualifiers
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:135:5: error: request for member 'c_str' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx: In function 'void Yuni::Core::IO::ExtractFileName(StringT1&, const StringT2&, bool) [with StringT1 = std::list<Yuni::StringBase<>, std::allocator<Yuni::StringBase<> > >, StringT2 = bool]':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:196:61:   instantiated from here
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:125:3: error: request for member 'notEmpty' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:196:61:   instantiated from here
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:132:4: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:135:5: error: request for member 'c_str' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx: In function 'void Yuni::Core::IO::ExtractFileName(StringT1&, const StringT2&, bool) [with StringT1 = std::vector<Yuni::StringBase<>, std::allocator<Yuni::StringBase<> > >, StringT2 = bool]':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:201:61:   instantiated from here
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:125:3: error: request for member 'notEmpty' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:201:61:   instantiated from here
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:132:4: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:129:39: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:135:5: error: request for member 'c_str' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx: In function 'void Yuni::Core::IO::ExtractFileNameWithoutExtension(StringT1&, const StringT2&, bool) [with StringT1 = const Yuni::StringBase<>, StringT2 = bool]':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:206:77:   instantiated from here
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:147:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:149:3: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:147:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:149:3: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:151:4: error: passing 'const Yuni::StringBase<>' as 'this' argument of 'Yuni::StringBase<C, K>& Yuni::StringBase<C, ChunkSizeT>::operator=(const U&) [with U = bool, C = char, int Chunk = 128]' discards qualifiers
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/ta3d/src/misc/paths.cpp:206:77:   instantiated from here
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:147:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:156:4: error: passing 'const Yuni::StringBase<>' as 'this' argument of 'Yuni::StringBase<C, K>& Yuni::StringBase<C, ChunkSizeT>::clear() [with C = char, int Chunk = 128]' discards qualifiers
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:147:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:159:3: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:147:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:161:4: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:163:5: error: passing 'const Yuni::StringBase<>' as 'this' argument of 'Yuni::StringBase<C, K>& Yuni::StringBase<C, ChunkSizeT>::operator=(const U&) [with U = bool, C = char, int Chunk = 128]' discards qualifiers
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:166:4: error: request for member 'c_str' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:169:3: error: 'npos' is not a member of 'bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:147:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:174:3: error: request for member 'c_str' in 'p', which is of non-class type 'const bool'
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:144:38: error: 'bool' is not a class, struct, or union type
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/logs/handlers/../../io/io.hxx:147:38: error: 'bool' is not a class, struct, or union type

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by milipili » Wed Dec 15, 2010 1:11 pm

Yes those issues are related to the last API changes in LibYuni, for the next stable v0.1.

I won't be available in the next few days so a temporary solution would be to use the r1383 of the Yuni library.
From the ta3d repository's point of view, Yuni is a 3rd party code from another repository (svn:externals), so maybe you should temporary change the link to fetch this revision.
Damien Gerard
Ta3d & Yuni Developer

User avatar
yoshi314
Posts: 54
Joined: Sat Feb 23, 2008 3:30 pm
Location: PL
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by yoshi314 » Thu Jan 06, 2011 8:16 pm

while we're at it, some new build error popped up

Code: Select all

                 from /mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/version/version.cpp:2:
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/version/../string/../customstring/traits/into.h: In static member function 'static bool Yuni::Extension::CustomString::Into<float>::Perform(const StringT&, float&)':
/mnt/data2/tmp/games-strategy-ta3d-9999/work/ta3d/src/libs/yuni/src/yuni/core/version/../string/../customstring/traits/into.h:386:24: error: no match for 'operator!=' in 'Yuni::nullptr != pend'

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by milipili » Sun Jan 09, 2011 12:07 am

Could you try again ? The r1402 should fix your issue.

(https://dev.libyuni.org/projects/yuni-f ... sions/1402)
Damien Gerard
Ta3d & Yuni Developer

User avatar
yoshi314
Posts: 54
Joined: Sat Feb 23, 2008 3:30 pm
Location: PL
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by yoshi314 » Sun Jan 23, 2011 7:33 pm

cool, it seems to be working. i am still having some problems with libyuni - it's about it installing it's development files along with the game, which is more suited for a separate package. i hope to work it around someway.

anyway, here's the gentoo ebuild i hacked together https://github.com/yoshi314/yoshi314-ov ... 999.ebuild

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by milipili » Fri Jan 28, 2011 9:55 pm

What problems do you have ? If specific to yuni perhaps you should use the dedicated mailing list dev@libyuni.org (dev+subscribe@libyuni.org to subscribe, dev+unsubscribe@libyuni.org to unsubscribe)
Damien Gerard
Ta3d & Yuni Developer

User avatar
yoshi314
Posts: 54
Joined: Sat Feb 23, 2008 3:30 pm
Location: PL
Contact:

Re: ta3d scans my /home/$USER on startup for resources

Post by yoshi314 » Mon Jan 31, 2011 8:17 am

well basically, when i install the game, libyuni also gets installed into the system into /usr/include. /usr/lib etc.

i would like to separate that, considering that (from what i understood) game links libyuni statically.

it's more of a game buildsystem issue, not libyuni issue.

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests