Harish Narayanan wrote:
/opt/local/lib/libCGAL.dylib:
/opt/local/lib/libCGAL.4.dylib (compatibility version 4.0.0, current
version 4.0.1)
/opt/local/lib/libgmpxx.4.dylib (compatibility version 7.0.0, current
version 7.1.0)
/opt/local/lib/libmpfr.1.dylib (compatibility version 4.0.0, current
version 4.2.0)
/opt/local/lib/libgmp.10.dylib (compatibility version 11.0.0, current
version 11.1.0)
/opt/local/lib/libboost_thread-mt.dylib (compatibility version 0.0.0,
current version 0.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.0.0)
How do I compile test/unit/quadrature/cpp/test.cpp?
You can get all test compiled if you configure scons with
"enableTests=True" and a "scons test" afterwards
But you can also put the SConstruct snippet below in that quadrature
directory, it is a copy/modified SConstruct file from the demos plus
adding cppunit as lib:
import os, commands
# Get compiler from pkg-config
compiler = commands.getoutput('pkg-config --variable=compiler dolfin')
# Create a SCons Environment based on the main os environment
env = Environment(ENV=os.environ, CXX=compiler)
# Get compiler flags from pkg-config
env.ParseConfig('pkg-config --cflags --libs dolfin')
#Program
env.Append(LIBS='-lcppunit')
env.Program('test',['test.cpp'])
Worked for me.
And Andre: There already exist platform-specific remarks about these
preliminary packages in Dorsal.
Yes, I know, thanks to your list I get my DOLFIN installation running
and the basic ubuntu sc packages installed everytime I have a new
ubuntu installation:) So the buildbots don't use dorsal?
_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help : https://help.launchpad.net/ListHelp