I want to compile FreeCad (3d Cad program), It uses OpenCascade technology. OpenCascade would actually be quite cool to have, because it is the engine behind lots of 3d projects.
I already have compiled a decent stack of dependencies, nailed out some bugs and applied patches and I think I am 95% through with the built. But I got stuck on something and maybe somebody sees what I don't.

As the last Stage, when all the OpenCascade Libraries were built, it compiles "DRAWEXE". This is a simple 3d drawer/Viewer. I get an error at the final linking stage i.e. I have DRAWEXE.o

Now it seems It cant find the library functions of the FreeImage library. But I checked that I have this library (in /usr/lib/libfreeimage.so and libfreeimage.a) and I also have FreeImage.h and FreeImagePlus.h (which is a c++ wrapper around FreeImage.h) in /usr/include.

I also checked that the missing functions are present in the header files. So my guess is that it doesn't pick up the library correctly at the linker stage. The Makefile is rather cryptic for my untrained eyes, but I have identified:

1. It seems you didn't attach the makefile?
2. Looking at the code you showed, it seems there are two things:
a- There should be a \ after EVERY line except the last in the variable DRAWEXE_LDADD
b- grep for DRAWEXE_LDADD -- if it isn't somewhere else, you have a big problem in the makefile.
[/code]

Hi -thanks for respond -
yep I somehow missed the makefile, sorry. I work on something different atm, but I will go back to this. In a PM I got also the hint of the commented option #-DHAVE_FREEIMAGE. Will try those things and give an update, but it will need some weeks I guess.

Hi -thanks for respond -
yep I somehow missed the makefile, sorry. I work on something different atm, but I will go back to this. In a PM I got also the hint of the commented option #-DHAVE_FREEIMAGE. Will try those things and give an update, but it will need some weeks I guess.

Did you ever succeed in getting Freecad to go in Puppy?
I'm trying to use a Ubuntu Lucid build in Lupu Puppy 528.
Working my way through dependencies. Stealing a lot from ubuntu repositories and hoping they will work.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum