sigc++ problems

4 posts / 0 new
Last post
Antikken
Antikken's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2011-05-19 22:37
sigc++ problems

I'm trying to port something over from linux world. Made some makefiles on the pc/linux. Tranfered it to the amiga. After replacing some bash with sh and gawt with nawt i can now run make. But i get some errors with sigc++. Seems to be many related to sigc++.

In file included from ./../../protocol/extensions.h:47,
from ./../../protocol/peer_connection_base.h:47,
from block.cc:44:
./../../torrent/download_info.h:43:27: error: sigc++/signal.h: No such file or directory

Seems that this signal.h doesn't exist. Hmmm.. Any help?

And this one,is it ok or need to change and into what? :)

build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu

kas1e
kas1e's picture
Offline
Last seen: 3 months 2 weeks ago
Joined: 2010-11-30 15:30
build_triplet =


build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu

That is wrong. "build" mean the platform on which you are runing the build process, and if you do it on linux then that part can be ok as you already have: build_triplet = i686-pc-linux-gnu, but if that on amigaos4, then should be ppc-amigaos. As about "host", it mean a platform on which builded stuff will runs, so in your case should be host_triplet = ppc-amigaos (and does not matter if that will be on cross-compiler , or native) I.e if you on crosscompiler:


build_triplet=i686-pc-linux-gnu
host_triplet=ppc-amigaos

And if on aos4 directly:


build_triplet=ppc-amigaos
host_triplet=ppc-amigaos

Then, all the includes and libs will gets from aos4 sdk, and all will be fine. There is also 3st option related to building process with which you can meet someday : target. But that one mostly irrelevant, so you can skip/delete it most of the time.

If you still in interst in the details, then signal.h are here: SDK:Local/common/include/sigc++/signal.h. Usually when you will have any "no such file or directory", just go to the SDK directory and do searching in the whole for particular file. If you still have error, then check source itself. Pretty possible that you have not #include <sigc++/signal.h>, but #include "sigc++/signal.h" instead.

In your case pretty possible that you have and wrong makefile, and something in the source itself, check it step by step.

salass00
salass00's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2011-02-03 11:27
@Antikken You can get

@Antikken

You can get libsigc++ development files from here:
libsigc.lha

Antikken
Antikken's picture
Offline
Last seen: 12 years 5 months ago
Joined: 2011-05-19 22:37
Got that issue fixed. :-)

Got that issue fixed. :-)

Log in or register to post comments