Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
142 user(s) are online (72 user(s) are browsing Forums)

Members: 1
Guests: 141

Templario, more...

Headlines

 
  Register To Post  

Boost libraries update?
Quite a regular
Quite a regular


See User information
Hello,

searching for the boost library for amiga, i found that last version is the 1.3.1.

http://www.os4depot.net/index.php?fun ... nt/library/misc/boost.lha

Anyone could try to port the last version?

Retired
Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
I think more than a couple of persons could say "I tried." Meaning it takes more effort than that.

Go to top
Re: Boost libraries update?
Just can't stay away
Just can't stay away


See User information
Much of boost functionality is in just the header files so depending on what is needed you might get away with just installing the boost headers directly into the SDK.

The boost build system (bjam) is really annoying to work with so it is easier to either just compile the relevant .cpp files directly along with any program that needs them or to compile and build single boost libraries manually as needed.

Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
@salass00

thank you

I sent you a PM.

Retired
Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
@salass00

trying to compile the Latest Boost libraries 1.59

Just to begin i modified the bootstrap.sh file:

TOOLSET=""

with

TOOLSET="gcc"


The bootstrap starts, but i encounter the first error, common to all modules:

in file included from command.c jam.h: fatal error: memory.h: No such file or directory




Retired
Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
Perhaps you can replace <memory.h> with <string.h> and see how far you get?

Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
@Thematic

memory.h exists in Sdk....exec...
I even added the directory to path, but the file could be not found.

Moreover, this is the line containing the error:

it's related to codewarrior

#ifndef __MWERKS__
#include<memory.h>
#endif



Edited by AmigaBlitter on 2015/10/8 20:18:53
Edited by AmigaBlitter on 2015/10/8 20:19:46
Retired
Go to top
Re: Boost libraries update?
Home away from home
Home away from home


See User information
@AmigaBlitter
Quote:
memory.h exists in Sdk....exec...
I even added the directory to path, but the file could be not found.

Exec/memory.h won't be the same as the memory.h that you need

I just did a search, and here's the mingw32 version of that file (link:
/*
 * This file is part of the Mingw32 package.
 *
 * memory.h maps to the standard string.h header.
 */

#include    <string.h>


So Thematic's suggestion sounds pretty solid. I suggest adding the file above to your includes.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
Thank you: i will try tomorrow.

Thank you to Thematics and Hans

Retired
Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
Thanks to the dudes mentioned above, i moved alittle forward:

Getting some error as follow:

execunix.c: In function 'exec_cmd':
execunix.c:140:22: error: storage size of 'ignore' isn't known
struct sigaction ignore, saveintr, savequit;
^
execunix.c:140:30: error: storage size of 'saveintr' isn't known
struct sigaction ignore, saveintr, savequit;
^
execunix.c:140:40: error: storage size of 'savequit' isn't known
struct sigaction ignore, saveintr, savequit;
^
execunix.c:201:36: error: '_SC_CLK_TCK' undeclared (first use in this function)
if ( !tps ) tps = sysconf( _SC_CLK_TCK );
^
execunix.c:201:36: note: each undeclared identifier is reported only once for each function it appears in
execunix.c:221:21: error: 'SIG_BLOCK' undeclared (first use in this function)
if (sigprocmask(SIG_BLOCK, &chldmask, &savemask) < 0)
^
execunix.c:240:21: error: 'SIG_SETMASK' undeclared (first use in this function)
sigprocmask(SIG_SETMASK, &savemask, NULL);
^
execunix.c:257:27: error: storage size of 'r_limit' isn't known
struct rlimit r_limit;
^
execunix.c:260:24: error: 'RLIMIT_CPU' undeclared (first use in this function)
setrlimit( RLIMIT_CPU, &r_limit );
^
execunix.c: In function 'exec_wait':
execunix.c:489:25: error: 'SIG_BLOCK' undeclared (first use in this function)
sigprocmask(SIG_BLOCK, &sigmask, NULL);
^
execunix.c:494:25: error: 'SIG_UNBLOCK' undeclared (first use in this function)
sigprocmask(SIG_UNBLOCK, &sigmask, NULL);
^

Retired
Go to top
Re: Boost libraries update?
Just popping in
Just popping in


See User information
@thread

I heard game devs dont use BOOST as much, as they have faster interfaces.

Here is a link to Electronic Arts Standard Template Library

Which have some efficient routines which may improve our software.

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html

https://github.com/paulhodge/EASTL

Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
@asymetrix
That's irrelevant from the point of applications that do use Boost.

This is just like television, only you can see much further.
Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
@asymetrix

Thank you for the informations.

Boost libraries are needed by some game... and would cost more time to adapt other routines



Retired
Go to top
Re: Boost libraries update?
Home away from home
Home away from home


See User information
@AmigaBlitter


WE simply don't have sigaction sigprocmask() etc in our C libraries, they are not particularly meaningful on AmigaOS

To some extent they can be emulated with signal()

Does this thing have a configure script? And if so did you run it or how did you work arround it?

If there is a config.h or similar you may need to manually edit some defines to indicate which eaders or structures / functions are available.


Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
@broadblues

bootstrap.sh is the first file the boosters dude suggested to run. The build prois based on Bjam. I've read everywhere that build and configure boost is a pain...

Here's a tutorial:

https://theseekersquill.wordpress.com/2010/08/24/howto-boost-mingw/

http://www.boost.org/build/doc/html/

www.boost.org/doc/libs/1_41_0/ ... ml#easy-build-and-install

Retired
Go to top
Re: Boost libraries update?
Home away from home
Home away from home


See User information
@AmigaBlitter

Quote:

I've read everywhere that build and configure boost is a pain...


If that's the case on it's tartget systems I'd just give up and go work on something easier and more productive.

I you insist on banging your head against the wall, try and get access to the src of the previous amigaos port and see what was changed.


Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
@broadblues

I will check the minimum boost library required by these games.

As for the original boost libraries ported by ssolie (if i recall well) there are not explanation and the build process is a little change since then (2006)


Retired
Go to top
Re: Boost libraries update?
Home away from home
Home away from home


See User information
@AmigaBlitter

A quick an cursory search of teh src as included in the SDK (or at least one of my older SDKs the latest in on my X1k and I'm on the SAM ATM) shows that execunix.c is part of the tools/build/jam_srx subproject.

If you study that for more than 5 seconds you'll see execamiga.c and a number of other #?amiga.c files, do these exist in your latest srcs? If not you'll need to modify the src tree adding them as required and updating the BJAM srcs in build.sh



Also there is a line #if defined(sun) || defined(__sun) || defined(linux) at the top of execunix.c which should prevent it's compilation.

It would gain you alot to study the differences and additions between the old port and the new code, especially since you need to port jam first before you can start on boost.




Go to top
Re: Boost libraries update?
Quite a regular
Quite a regular


See User information
@broadblues

Thank you for the informations


Retired
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project