I tried compiling this on OS X, and I ran into some issuese...
...I'm only pasting some of the error...
g++ -arch i386 -Xarch_i386 -mmacosx-version-min=10.5 -fPIC -dynamiclib -install_name @executable_path/GradientDomain-pxm.dylib -L"/Users/draphael/PCL/lib/macosx/x86" -L"/Applications/PixInsight32.app/Contents/MacOS" -o "/home/georg/Gradients/macosx/g++/x86/Release"/GradientDomain-pxm.dylib ./x86/Release/GradientsBase.o ./x86/Release/GradientsHdrCompression.o ./x86/Release/GradientsHdrInstance.o ./x86/Release/GradientsHdrInterface.o ./x86/Release/GradientsHdrParameters.o ./x86/Release/GradientsHdrProcess.o ./x86/Release/GradientsMergeMosaic.o ./x86/Release/GradientsMergeMosaicInstance.o ./x86/Release/GradientsMergeMosaicInterface.o ./x86/Release/GradientsMergeMosaicParameters.o ./x86/Release/GradientsMergeMosaicProcess.o ./x86/Release/GradientsModule.o ./x86/Release/RgbPreserve.o -lpthread -lPCL-pxi
Undefined symbols for architecture i386:
"global constructors keyed to _ZN3pcl5AlphaEi", referenced from:
anon in GradientsBase.o
"global constructors keyed to _ZN3pcl23GradientsHdrCompressionC2Ev", referenced from:
anon in GradientsHdrCompression.o
"pcl::GradientsHdrCompression::GradientsHdrCompression()", referenced from:
void pcl::GradientsHdrEngine::Apply<pcl::UInt8PixelTraits>(pcl::Generic2DImage<pcl::UInt8PixelTraits>&, pcl::GradientsHdrInstance const&)in GradientsHdrInstance.o