shared resources folder question

44 views
Skip to first unread message

Michele Fiorentino

unread,
Jun 13, 2012, 4:27:54 AM6/13/12
to oce-dev
Der developers,

i am developing a step importer for CAD research. I am using oce and i
notice that all resources are in %CASROOT%\share\oce\src while seems
to be that default research path in opencascade is %CASROOT%\src. I
don't like to set too many environment variables so actually i move
the folder as the default. My question is if i do it wrong?

thanks
Michele

D. Barbier

unread,
Aug 15, 2012, 2:24:58 PM8/15/12
to oce...@googlegroups.com
Hello,

And if you append \share\oce to your current CASROOT setting, does it work?

Denis

D. Barbier

unread,
Aug 18, 2012, 3:00:52 AM8/18/12
to oce...@googlegroups.com

On 2012/8/16 Michele Fiorentino wrote:
>
>> Hello,
>>
>> >And if you append \share\oce to your current CASROOT setting, does it
>> > work?
>>

> yes, it works. I Just wondered why was different form "standard" expect
> directory. Does OCE has some changes in it so the reason to keep it
> separate?

Hello,

The problem is that OCCT layout does not fit all needs. For instance on Linux distributions, binary packages often install libraries in /usr/lib and architecture-independent files in /usr/share (this is why resource files are installed in /usr/share/oce/src).

One more point: normally you do not have to set any environment variable if you compile OCE from sources, files are searched in paths which had been defined during CMake stage.

Denis

Reply all
Reply to author
Forward
0 new messages