For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Bug in 5.2.3 configure.in

Anonymous's picture
Forums: 

There appears to be a typeo in the 5.2.3 version of configure.in for OpenCASCADE. Line 518 of that file sets CXXFLAGS_save=$CPPFLAGS instead of to $CXXFLAGS. This will prevent preservation of "-DCSFDB -DNO_CXX_EX
CEPTION -DNo_Exception -DNDEBUG". Note -DCSFDB is needed for PTKernel DBC_VArrayNodeOfVArrayOfCharacter_0.cxx compile under Linux.

Also, it is considered bad practice to use a "/" in the SUBDIRS variable for automake. As per the automake manual...

"The directories mentioned in SUBDIRS must be direct children of the current directory. For instance, you cannot put src/subdir into SUBDIRS. Instead you should put SUBDIRS = subdir into src/Makefile.am. Automake can be used to construct packages of arbitrary depth this way."
http://www.gnu.org/software/automake/manual/html_mono/automake.html#Top%20level

So, someone with privileges needs to also change the top level Makefile.am to use "SUBDIRS = adm" and add a single line Makefile.am to the adm directory with "SUBDIRS = make".