[Kst] MacOS build

Nicolas Brisset nicolas.brisset at free.fr
Wed Jan 7 21:31:34 UTC 2015


Matthias,

Thanks for all your efforts! 
It would be nice if some users with a Mac could test your build to make sure it works more or less everywhere (probably depending on the Mac OS version).
Then I can upload it to sf.net.

For your issue with the Matlab datasource, the messages look like it's not finding HDF, which is now used by matio, the library providing .mat support. 
In a first step, I suggest to either:
1) use a less recent version of matio which does not depend on HDF libraries (I remember seeing in the change log the introduction of HDF5)
2) deactivate that datasource completely
3) compile the HDF libs and make sure they're used by the Matlab datasource, which probably requires some small changes to cmake files. I have no idea how difficult it is to compile HDF on a Mac, though...

Hang on, it looks like you're making good progress :-)

Nicolas

----- Mail original -----
> De: "Matthias Berse" <Matthias.Berse at raith.de>
> À: "Nicolas Brisset" <nicolas.brisset at airbus.com>, kst at kde.org
> Envoyé: Mercredi 7 Janvier 2015 20:46:23
> Objet: Re: [Kst] MacOS build
> 
> 
> RE: [Kst] MacOS build
> 
> Hi Nicolas,
> 
> after a bit trying different option I got a build without 3rdparty
> plugins, which I think is worth sharing.
> 
> https://github.com/f0rdprefect/homebrew-unofficial/blob/kst-plot-new/Casks/kst-plot.rb
> 
> or
> 
> https://www.dropbox.com/s/ui22p8advu3lsbw/kst2.dmg?dl=1
> 
> 
> As far as the build with kst_3rdparty_build ticked is concerned, this
> is what I get after just invoking make in the directory where cmake
> generates the build files:
> 
> [ 90%] Building CXX object
> src/datasources/CMakeFiles/kst2_datasource_matlab.dir/matlab/moc_matlab.cxx.o
> Linking CXX shared module
> ../../build/bin/kst2.app/Contents/plugins/libkst2_datasource_matlab.so
> Undefined symbols for architecture x86_64:
> "_H5Aclose", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> ...
> "_H5Acreate2", referenced from:
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> ...
> "_H5Aget_space", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Aget_type", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Aopen_name", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Aread", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Awrite", referenced from:
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> ...
> "_H5Dclose", referenced from:
> _Mat_VarFree in libmatio.a(mat.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceData in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> ...
> "_H5Dcreate2", referenced from:
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> ...
> "_H5Dget_space", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadData73 in libmatio.a(mat73.o)
> _Mat_VarReadDataLinear73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> ...
> "_H5Dget_type", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Dopen2", referenced from:
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadData73 in libmatio.a(mat73.o)
> _Mat_VarReadDataLinear73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Dread", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceData in libmatio.a(mat73.o)
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadData73 in libmatio.a(mat73.o)
> _Mat_VarReadDataLinear73 in libmatio.a(mat73.o)
> ...
> "_H5Dvlen_reclaim", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Dwrite", referenced from:
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> ...
> "_H5Eget_auto2", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Eprint1", referenced from:
> _Mat_VarReadDataLinear73 in libmatio.a(mat73.o)
> "_H5Eset_auto2", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Fclose", referenced from:
> _Mat_Close in libmatio.a(mat.o)
> _Mat_Create73 in libmatio.a(mat73.o)
> "_H5Fcreate", referenced from:
> _Mat_Create73 in libmatio.a(mat73.o)
> "_H5Fopen", referenced from:
> _Mat_Open in libmatio.a(mat.o)
> _Mat_Create73 in libmatio.a(mat73.o)
> "_H5Gclose", referenced from:
> _Mat_Close in libmatio.a(mat.o)
> _Mat_VarFree in libmatio.a(mat.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Gcreate2", referenced from:
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> "_H5Gget_num_objs", referenced from:
> _Mat_Open in libmatio.a(mat.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Gget_objname_by_idx", referenced from:
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Gget_objtype_by_idx", referenced from:
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Gopen2", referenced from:
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Iget_name", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Iget_type", referenced from:
> _Mat_VarFree in libmatio.a(mat.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceData in libmatio.a(mat73.o)
> "_H5Iinc_ref", referenced from:
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadData73 in libmatio.a(mat73.o)
> _Mat_VarReadDataLinear73 in libmatio.a(mat73.o)
> "_H5P_CLS_DATASET_CREATE_ID_g", referenced from:
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> "_H5P_CLS_FILE_CREATE_ID_g", referenced from:
> _Mat_Create73 in libmatio.a(mat73.o)
> "_H5Pclose", referenced from:
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_Create73 in libmatio.a(mat73.o)
> "_H5Pcreate", referenced from:
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_Create73 in libmatio.a(mat73.o)
> "_H5Pset_chunk", referenced from:
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> "_H5Pset_deflate", referenced from:
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> "_H5Pset_userblock", referenced from:
> _Mat_Create73 in libmatio.a(mat73.o)
> "_H5Rcreate", referenced from:
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> "_H5Rdereference", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Sclose", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> ...
> "_H5Screate", referenced from:
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> ...
> "_H5Screate_simple", referenced from:
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> ...
> "_H5Sget_simple_extent_dims", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Sget_simple_extent_ndims", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Sselect_elements", referenced from:
> _Mat_VarReadDataLinear73 in libmatio.a(mat73.o)
> "_H5Sselect_hyperslab", referenced from:
> _Mat_VarReadData73 in libmatio.a(mat73.o)
> "_H5T_C_S1_g", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> ...
> "_H5T_NATIVE_DOUBLE_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_NATIVE_FLOAT_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_NATIVE_HSIZE_g", referenced from:
> _Mat_dims_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> ...
> "_H5T_NATIVE_INT_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> ...
> "_H5T_NATIVE_LONG_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_NATIVE_SCHAR_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_NATIVE_SHORT_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_NATIVE_UCHAR_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_NATIVE_UINT_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_dims_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> ...
> "_H5T_NATIVE_ULLONG_g", referenced from:
> _Mat_dims_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_NATIVE_ULONG_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_dims_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_NATIVE_USHORT_g", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_dims_type_to_hid_t in libmatio.a(mat73.o)
> "_H5T_STD_REF_OBJ_g", referenced from:
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Tclose", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceData in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> ...
> "_H5Tcopy", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> ...
> "_H5Tcreate", referenced from:
> _Mat_H5ReadNextReferenceData in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadData73 in libmatio.a(mat73.o)
> _Mat_VarReadDataLinear73 in libmatio.a(mat73.o)
> "_H5Tget_class", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> _Mat_VarReadNextInfo73 in libmatio.a(mat73.o)
> "_H5Tget_size", referenced from:
> _Mat_dims_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceData in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadData73 in libmatio.a(mat73.o)
> ...
> "_H5Tinsert", referenced from:
> _Mat_H5ReadNextReferenceData in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> _Mat_VarRead73 in libmatio.a(mat73.o)
> _Mat_VarReadData73 in libmatio.a(mat73.o)
> _Mat_VarReadDataLinear73 in libmatio.a(mat73.o)
> "_H5Tset_size", referenced from:
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_VarWriteCell73 in libmatio.a(mat73.o)
> _Mat_VarWriteChar73 in libmatio.a(mat73.o)
> _Mat_WriteEmptyVariable73 in libmatio.a(mat73.o)
> _Mat_VarWriteLogical73 in libmatio.a(mat73.o)
> _Mat_VarWriteNumeric73 in libmatio.a(mat73.o)
> _Mat_VarWriteSparse73 in libmatio.a(mat73.o)
> ...
> "_H5Tvlen_create", referenced from:
> _Mat_VarWriteStruct73 in libmatio.a(mat73.o)
> "_H5check_version", referenced from:
> _Mat_Open in libmatio.a(mat.o)
> _Mat_Create73 in libmatio.a(mat73.o)
> "_H5open", referenced from:
> _Mat_class_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_data_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_dims_type_to_hid_t in libmatio.a(mat73.o)
> _Mat_H5ReadClassType in libmatio.a(mat73.o)
> _Mat_H5ReadDatasetInfo in libmatio.a(mat73.o)
> _Mat_H5ReadGroupInfo in libmatio.a(mat73.o)
> _Mat_H5ReadNextReferenceInfo in libmatio.a(mat73.o)
> ...
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: ***
> [build/bin/kst2.app/Contents/plugins/libkst2_datasource_matlab.so]
> Error 1
> make[1]: ***
> [src/datasources/CMakeFiles/kst2_datasource_matlab.dir/all] Error 2
> make: *** [all] Error 2
> 
> Hope that helps?
> 
> Thanks,
> 
> Matthias
> 
> 
> 
> -----Original Message-----
> From: Berse, Matthias [ mailto:Matthias.Berse at raith.de ]
> Sent: Wed 1/7/2015 4:46 PM
> To: Brisset, Nicolas; kst at kde.org
> Subject: Re: [Kst] MacOS build
> 
> Hi Niclas,
> 
> good hint, after having this tried the script originally without
> success, I had the idea to call it from the main source Directory.
> Now it is compiling.
> 
> Does anyone have an idea why the deploy item in qt-creator is greyed
> out? I wanted to give this a try, without success. All in all I can
> conclude, so far I have built KST with qt-creator only and
> macdeployqt somehow messed up that build when I wanted to create an
> app bundle which will run on other machines than mine.
> 
> Now I guess plugins do not compile without errors. This is what I get
> before the build fails:
> 
> In file included from
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/load.c:14:
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/genlib.h:84:15:
> error:
> expected parameter declarator
> extern size_t strlcat(char *dst, const char *src, size_t siz);
> ^
> /usr/include/secure/_string.h:111:44: note: expanded from macro
> 'strlcat'
> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
> ^
> /usr/include/secure/_common.h:39:62: note: expanded from macro
> '__darwin_obsz'
> #define __darwin_obsz(object) __builtin_object_size (object,
> _USE_FORTIF...
> ^
> /usr/include/secure/_common.h:30:32: note: expanded from macro
> '_USE_FORTIFY_LEVEL'
> # define _USE_FORTIFY_LEVEL 2
> ^
> In file included from
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/load.c:14:
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/genlib.h:84:15:
> error:
> expected ')'
> /usr/include/secure/_string.h:111:44: note: expanded from macro
> 'strlcat'
> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
> ^
> /usr/include/secure/_common.h:39:62: note: expanded from macro
> '__darwin_obsz'
> #define __darwin_obsz(object) __builtin_object_size (object,
> _USE_FORTIF...
> ^
> /usr/include/secure/_common.h:30:32: note: expanded from macro
> '_USE_FORTIFY_LEVEL'
> # define _USE_FORTIFY_LEVEL 2
> ^
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/genlib.h:84:15:
> note:
> to match this '('
> /usr/include/secure/_string.h:111:44: note: expanded from macro
> 'strlcat'
> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
> ^
> /usr/include/secure/_common.h:39:53: note: expanded from macro
> '__darwin_obsz'
> #define __darwin_obsz(object) __builtin_object_size (object,
> _USE_FORTIF...
> ^
> In file included from
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/load.c:14:
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/genlib.h:84:15:
> warning:
> type specifier missing, defaults to 'int' [-Wimplicit-int]
> extern size_t strlcat(char *dst, const char *src, size_t siz);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/secure/_string.h:111:44: note: expanded from macro
> 'strlcat'
> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
> ^~~~~~~~~~~~~~~~~~~~
> /usr/include/secure/_common.h:39:31: note: expanded from macro
> '__darwin_obsz'
> #define __darwin_obsz(object) __builtin_object_size (object,
> _USE_FORTIF...
> ^~~~~~~~~~~~~~~~~~~~~
> In file included from
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/load.c:14:
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/genlib.h:84:15:
> error:
> conflicting types for '__builtin___strlcat_chk'
> /usr/include/secure/_string.h:111:3: note: expanded from macro
> 'strlcat'
> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
> ^
> /Users/matt/src/kst-plot/3rdparty/netcdf/src/netcdf/ncgen3/genlib.h:84:15:
> note:
> '__builtin___strlcat_chk' is a builtin with type 'unsigned long (char
> *,
> const char *, unsigned long, unsigned long)'
> /usr/include/secure/_string.h:111:3: note: expanded from macro
> 'strlcat'
> __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
> ^
> 1 warning and 3 errors generated.
> make[5]: *** [load.o] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [3rdparty/netcdf/src/netcdf-stamp/netcdf-build] Error 2
> make[1]: *** [cmake/3rdparty/CMakeFiles/netcdf.dir/all] Error 2
> make: *** [all] Error 2
> 
> I try to build from git sources. This is the revision:
> 
> commit c0ed2122f4eca7ed5f21e0a3f287692e58c3b771
> Author: Barth Netterfield <netterfield at astro.utoronto.ca>
> Date: Thu Dec 4 00:22:49 2014 -0500
> 
> Fix crash in Zoom Mean Centered and shared axis boxes
> 
> Will investigate further. Any tips appreciated. Consider me as a
> hobby self compile guy, but not a very skilled programmer...
> 
> Thanks,
> 
> Matthias
> -----------------------------------------------------------------------
> Raith GmbH
> Matthias Berse
> Development Engineer - R & D
> 
> email: mailto:Matthias.Berse at raith.de
> phone: +49 (231) 95004 351
> fax: +49 (231) 95004 460
> web: http://www.raith.com
> -----------------------------------------------------------------------
> Raith GmbH - Konrad-Adenauer-Allee 8 - 44263 Dortmund - Deutschland /
> Germany
> Geschaeftsfuehrer / managing director: Dr. Ralf Jede //
> Handelsregister / trade register: Dortmund HRB 8984
> Steuer-Nr. / tax number: 315/5765/0135 // Ust.-IdNr. / VAT number: DE
> 124 727 617
> 
> -----Original Message-----
> From: Brisset, Nicolas [ mailto:nicolas.brisset at airbus.com ]
> Sent: Mon 1/5/2015 12:21 PM
> To: Berse, Matthias
> Subject: TR: MacOS build
> 
> Hi Matthias,
> 
> Since I'm not sure you received this mail via the list, I'm sending
> it directly to you.
> I'd avise you to use cmake and the cmake-gui tool to configure the
> build, I've had good success with that getting Kst and dependencies
> to build on Windows.
> I don't know the details of all that Peter did to compile and package
> the Mac version, but if you ask specific questions on the list he
> should be able to answer you. I believe he basically used the script
> referenced below.
> 
> Thanks for your help,
> 
> Nicolas
> 
> De : Brisset, Nicolas
> Envoyé : lundi 5 janvier 2015 09:42
> À : 'kst at kde.org'
> Objet : RE: MacOS build
> 
> Hi Matthias,
> 
> Thanks for your contribution. I can't test it right now (I don't own
> a Mac), but if you add the info to the existing bug report and now
> that you've sent the message to the list, I guess there will be
> people to try it out.
> One hint: I just realized there is a mac build script under
> kst-plot\cmake\mac-release.sh which uses cmake to build the .dmg
> packages. Have you tried it? I believe the script was made by Peter,
> who used to prepare the .dmg packages.
> And one further question: have you succeeded to build plugins (in
> particular the gsl-based ones, which are a large part of the data
> analysis plugins)?
> 
> Thanks again for your efforts,
> 
> Nicolas
> 
> De : kst-bounces at kde.org< mailto:kst-bounces at kde.org > [
> mailto:kst-bounces at kde.org ] De la part de Berse, Matthias
> Envoyé : samedi 3 janvier 2015 20:14
> À : kst at kde.org< mailto:kst at kde.org >
> Objet : [Kst] MacOS build
> 
> 
> 
> Hi,
> 
> since Nicolas asked, I messed a bit with homebrew and cask. The
> result being that I have forked the unofficial repro and included a
> cask for kst-plot.
> 
> You can find it here:
> 
> https://github.com/f0rdprefect/homebrew-unofficial/blob/kst-plot/Casks/kst-plot.rb
> 
> Right now I just zipped the binaries and uploaded them to my dropbox.
> If someone can test it and tell me that they actually work without
> the qtcreator installed, I will be happy to build snapshots every
> once in a while.
> 
> Thanks,
> 
> Matthias
> 
> -----------------------------------------------------------------------
> Raith GmbH
> Matthias Berse
> Development Engineer - R & D
> 
> email: Matthias.Berse at raith.de< mailto:Matthias.Berse at raith.de >
> phone: +49 (231) 95004 351
> fax: +49 (231) 95004 460
> web: www.raith.com< http://www.raith.com >
> 
> -----------------------------------------------------------------------
> Raith GmbH - Konrad-Adenauer-Allee 8 - 44263 Dortmund - Deutschland /
> Germany
> Geschaeftsfuehrer / managing director: Dr. Ralf Jede //
> Handelsregister / trade register: Dortmund HRB 8984
> Steuer-Nr. / tax number: 315/5765/0135 // Ust.-IdNr. / VAT number: DE
> 124 727 617
> AIRBUS HELICOPTERS DEUTSCHLAND GmbH
> Sitz der Gesellschaft / Registered Office: Donauwoerth
> Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board:
> Guillaume Faury
> Geschaeftsfuehrung / Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender / CEO; Ralf Barnscheidt; Johannes
> Kleidorfer; Oliver Schenzle
> 
> 
> CONFIDENTIALITY NOTICE
> 
> This communication and the information it contains is intended for
> the addressee ( s ) named above and for no other persons or
> organizations.
> It is confidential and may be legally privileged and protected by
> law. The unauthorized use, copying or disclosure of this
> communication
> or any part of it is prohibited and may be unlawful.
> If you have received this communication in error, kindly notify us by
> return e-mail and discard and/or delete the communication.
> Thank you very much.
> It is possible for e-mails to be intercepted or affected by viruses.
> Whilst we maintain virus checks on our e-mails, we accept no
> liability for viruses
> or other material which might be introduced with this message.
> 
> 
> 
> 
> 
> -----------------------------------------------------------------------
> Raith GmbH
> Matthias Berse
> Development Engineer - R & D
> 
> email: Matthias.Berse at raith.de
> phone: +49 (231) 95004 351
> fax: +49 (231) 95004 460
> web: www.raith.com
> 
> -----------------------------------------------------------------------
> Raith GmbH - Konrad-Adenauer-Allee 8 - 44263 Dortmund - Deutschland /
> Germany
> Geschaeftsfuehrer / managing director: Dr. Ralf Jede //
> Handelsregister / trade register: Dortmund HRB 8984
> Steuer-Nr. / tax number: 315/5765/0135 // Ust.-IdNr. / VAT number: DE
> 124 727 617
> 
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
> 


More information about the Kst mailing list