Ok, thanks. So I have to learn to use CMake first, whatever this is.
With best regards Gerhard -----Ursprüngliche Nachricht----- Von: Hdf-forum [mailto:[email protected]] Im Auftrag von [email protected] Gesendet: Freitag, 19. August 2016 15:59 An: [email protected] Betreff: Hdf-forum Digest, Vol 86, Issue 16 Send Hdf-forum mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of Hdf-forum digest..." Today's Topics: 1. HDF5 running on ARM V 7 processor (Gerhard Kreuzer) 2. Re: HDF5 running on ARM V 7 processor (Peter Steinbach) 3. Re: HDF5 running on ARM V 7 processor (Gerd Heber) ---------------------------------------------------------------------- Message: 1 Date: Fri, 19 Aug 2016 15:34:43 +0200 From: "Gerhard Kreuzer" <[email protected]> To: <[email protected]> Subject: [Hdf-forum] HDF5 running on ARM V 7 processor Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" Hi Gerd, my problem is, that I am not familar with low level cross compiling. I can write C/C++ projects with my VS2015 and this projects get compiled to my target hardware, no problem. If there is some project which contains the source for HDF5 PInvoke 1.8, this would work. I also can reference native (unmanaged) dlls from managed (C# or VB.net) code, so there is a way I can use such dlls containing the HDF5 stuff. I actually wrote runtime critical code, which controls some hardware in C++ and packed this code blocks in a dll, which is called by my application written in VB.net. Works fine. If HDF5 isn't native and is based on some ,net Framework version, than my .net Framework is CF 3.9, which is a subset of the full framework, cause it is for embedded systems. Now it depends what HDF5 is using, if there is only native file IO there isn't a problem ahead I think, but if it is using more complex functions of the framework, maybe we run into troubles. So is there a way to get a VS2015 project containing the HDF5 stuff and compile it into one / or more dlls? You did it for Raspi, but you used the Linux derivate running there, sorry, but I can't use any kind of Linux here. With best regards Gerhard -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachment s/20160819/b52cf9c5/attachment-0001.html> ------------------------------ Message: 2 Date: Fri, 19 Aug 2016 15:52:02 +0200 From: Peter Steinbach <[email protected]> To: [email protected] Subject: Re: [Hdf-forum] HDF5 running on ARM V 7 processor Message-ID: <[email protected]> Content-Type: text/plain; charset=windows-1252; format=flowed Hi Gerhard, a naive question .... did you try building hdf5 on your target platform with cmake directly? As long as you have cmake and visual studio installed, I don't see a problem. cmake can generate the solutions and even call visual studio to do the compilation. Best, P ------------------------------ Message: 3 Date: Fri, 19 Aug 2016 13:58:17 +0000 From: Gerd Heber <[email protected]> To: HDF Users Discussion List <[email protected]> Subject: Re: [Hdf-forum] HDF5 running on ARM V 7 processor Message-ID: <blupr17mb0113c3080ee3e93d5c111f1ea4...@blupr17mb0113.namprd17.prod.outlook. com> Content-Type: text/plain; charset="us-ascii" The HDF.PInvoke source code is on GitHub: https://github.com/HDFGroup/HDF.PInvoke We don't maintain Visual Studio projects for the native HDF5 DLLs. We use CMake (https://cmake.org/) to generate them. You should be able to create a VS solution for x86 or x86_64, and then then switch the back end to your ARM compiler. WARNING: The size of certain types is established as part of the configuration process. Make sure those number match your target system. G. From: Hdf-forum [mailto:[email protected]] On Behalf Of Gerhard Kreuzer Sent: Friday, August 19, 2016 8:35 AM To: [email protected] Subject: [Hdf-forum] HDF5 running on ARM V 7 processor Hi Gerd, my problem is, that I am not familar with low level cross compiling. I can write C/C++ projects with my VS2015 and this projects get compiled to my target hardware, no problem. If there is some project which contains the source for HDF5 PInvoke 1.8, this would work. I also can reference native (unmanaged) dlls from managed (C# or VB.net) code, so there is a way I can use such dlls containing the HDF5 stuff. I actually wrote runtime critical code, which controls some hardware in C++ and packed this code blocks in a dll, which is called by my application written in VB.net. Works fine. If HDF5 isn't native and is based on some ,net Framework version, than my .net Framework is CF 3.9, which is a subset of the full framework, cause it is for embedded systems. Now it depends what HDF5 is using, if there is only native file IO there isn't a problem ahead I think, but if it is using more complex functions of the framework, maybe we run into troubles. So is there a way to get a VS2015 project containing the HDF5 stuff and compile it into one / or more dlls? You did it for Raspi, but you used the Linux derivate running there, sorry, but I can't use any kind of Linux here. With best regards Gerhard -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/attachment s/20160819/683a5acf/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org ------------------------------ End of Hdf-forum Digest, Vol 86, Issue 16 ***************************************** _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
