Help with OpenCascade 6.2 on ubuntu hardy - beginner
fulcrum
2008/08/21 12:05
Hi
I managed to install open cascade 6.2 on my unbuntu with the seetup.jar installer. Also I was able to run the configure and succesfull make the library (after adding the -ffriend-injection and -fpermissive options to CXX flags)
But now that I have done all this, I want to use this library to write a simple program (just for starters.)
IFSelect_ReturnStatus stat = reader.ReadFile("screw.stp");
return 0;
}
-------------------------------------------------------------------------
to just to check the functionality !!
I am not able to to compile this code !!!
can anyone please tell me the how my makefile should look for this ??
what all should use as the include directories, which libraries I should be linking....??
can anyone please help me out with this...thanks a lot !!
Dirk B
2008/08/21 12:49
Here's a basic Makefile. I compiled your main with it on my Suse box, there are way too many libraries in there, just try to remove the ones you don't need.