|
0 / 0 / 0
Регистрация: 22.12.2016
Сообщений: 69
|
|||||||||||
LNK200125.10.2017, 15:08. Показов 1105. Ответов 4
Метки нет (Все метки)
Скачал HDF5 с офф сайта, установил по прилагаемой инструкции (вот она
Кликните здесь для просмотра всего текста
**************************************** *******************************
* HDF5 Build and Install Suggestions for Windows and Visual Studio * * (Full Version) * **************************************** ******************************* These suggestions are for Visual Studio users. Instructions for building and testing HDF5 applications using CMake can be found in the USING_HDF5_CMake.txt file found in this folder. NOTE: Building applications with the dynamic/shared hdf5 libraries requires that the "H5_BUILT_AS_DYNAMIC_LIB" compile definition be used. The following two sections are helpful if you do not use CMake to build your applications. ======================================== ================================ Using Visual Studio 2010 with HDF5 Libraries built with Visual Studio 2010 ======================================== ================================ 1. Set up path for external libraries and headers The path settings will need to be in the project property sheets per project. Go to "Project" and select "Properties", find "Configuration Properties", and then "VC++ Directories". 1.1 If you are building on 64-bit Windows, find the "Platform" dropdown and select "x64". 1.2 Add the header path to the "Include Directories" setting. 1.3 Add the library path to the "Library Directories" setting. 1.4 Select Linker->Input and beginning with the "Additional Dependencies" line, enter the library names. The external libraries should be listed first, followed by the HDF5 library, and then optionally the HDF5 High Level, Fortran or C++ libraries. For example, to compile a C++ application, enter: szip.lib zlib.lib hdf5.lib hdf5_cpp.lib ======================================== ================================== Using Visual Studio 2008 with HDF5 Libraries built with Visual Studio 2008 ======================================== ================================== 2. Set up the path for external libraries and headers Invoke Microsoft Visual Studio and go to "Tools" and select "Options", find "Projects", and then "VC++ Directories". 2.1 If you are building on 64-bit Windows, find the "Platform" dropdown and select "x64". 2.2 Find the box "Show directories for", choose "Include files", add the header path (i.e. c:\Program Files\HDF_Group\HDF5\1.10.x\include) to the included directories. 2.3 Find the box "Show directories for", choose "Library files", add the library path (i.e. c:\Program Files\HDF_Group\HDF5\1.10.x\lib) to the library directories. 2.4 If using Fortran libraries, you will also need to setup the path for the Intel Fortran compiler. 2.5 Select Project->Properties->Linker->Input and beginning with the "Additional Dependencies" line, enter the library names. The external libraries should be listed first, followed by the HDF5 library, and then optionally the HDF5 High Level, Fortran or C++ libraries. For example, to compile a C++ application, enter: szip.lib zlib.lib hdf5.lib hdf5_cpp.lib ======================================== ================================ 3. Helpful Pointers ======================================== ================================ 3.1 FAQ Many other common questions and hints are located online and being updated in the HDF5 FAQ. For Windows-specific questions, please see: http://www.hdfgroup.org/HDF5/faq/windows.html For all other general questions, you can look in the general FAQ: http://hdfgroup.org/HDF5-FAQ.html **************************************** ******************************** Please send email to help@hdfgroup.org for further assistance.
Кликните здесь для просмотра всего текста
настройки проекта
0
|
|||||||||||
| 25.10.2017, 15:08 | |
|
Ответы с готовыми решениями:
4
Ошибки LNK2001 error LNK2001 |
|
3602 / 2743 / 355
Регистрация: 11.03.2009
Сообщений: 6,304
|
|
| 25.10.2017, 15:15 | |
|
Насколько я помню нужно либу добавлять в проект.
0
|
|
|
0 / 0 / 0
Регистрация: 22.12.2016
Сообщений: 69
|
|||||||
| 25.10.2017, 17:22 [ТС] | |||||||
|
Кликните здесь для просмотра всего текста
0
|
|||||||
|
3602 / 2743 / 355
Регистрация: 11.03.2009
Сообщений: 6,304
|
|
| 25.10.2017, 19:26 | |
|
1
|
|
|
0 / 0 / 0
Регистрация: 22.12.2016
Сообщений: 69
|
||
| 26.10.2017, 07:54 [ТС] | ||
|
kazak, спасибо за помощь, но ошибка была из-за того что я пропустил один пункт
0
|
||
| 26.10.2017, 07:54 | |
|
Помогаю со студенческими работами здесь
5
Error LNK2001
error LNK2001 Error LNK2001 Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |
|
Новые блоги и статьи
|
|||
|
SDL3 для Web (WebAssembly): Обработчик клика мыши в браузере ПК и касания экрана в браузере на мобильном устройстве
8Observer8 02.02.2026
Содержание блога
Для начала пошагово создадим рабочий пример для подготовки к экспериментам в браузере ПК и в браузере мобильного устройства. Потом напишем обработчик клика мыши и обработчик. . .
|
Философия технологии
iceja 01.02.2026
На мой взгляд у человека в технических проектах остается роль генерального директора. Все остальное нейронки делают уже лучше человека. Они не могут нести предпринимательские риски, не могут. . .
|
SDL3 для Web (WebAssembly): Вывод текста со шрифтом TTF с помощью SDL3_ttf
8Observer8 01.02.2026
Содержание блога
В этой пошаговой инструкции создадим с нуля веб-приложение, которое выводит текст в окне браузера. Запустим на Android на локальном сервере. Загрузим Release на бесплатный. . .
|
SDL3 для Web (WebAssembly): Сборка C/C++ проекта из консоли
8Observer8 30.01.2026
Содержание блога
Если вы откроете примеры для начинающих на официальном репозитории SDL3 в папке: examples, то вы увидите, что все примеры используют следующие четыре обязательные функции, а. . .
|
|
SDL3 для Web (WebAssembly): Установка Emscripten SDK (emsdk) и CMake для сборки C и C++ приложений в Wasm
8Observer8 30.01.2026
Содержание блога
Для того чтобы скачать Emscripten SDK (emsdk) необходимо сначало скачать и уставить Git: Install for Windows. Следуйте стандартной процедуре установки Git через установщик. . . .
|
SDL3 для Android: Подключение Box2D v3, физика и отрисовка коллайдеров
8Observer8 29.01.2026
Содержание блога
Box2D - это библиотека для 2D физики для анимаций и игр. С её помощью можно определять были ли коллизии между конкретными объектами. Версия v3 была полностью переписана на Си, в. . .
|
Инструменты COM: Сохранение данный из VARIANT в файл и загрузка из файла в VARIANT
bedvit 28.01.2026
Сохранение базовых типов COM и массивов (одномерных или двухмерных) любой вложенности (деревья) в файл, с возможностью выбора алгоритмов сжатия и шифрования.
Часть библиотеки BedvitCOM
Использованы. . .
|
SDL3 для Android: Загрузка PNG с альфа-каналом с помощью SDL_LoadPNG (без SDL3_image)
8Observer8 28.01.2026
Содержание блога
SDL3 имеет собственные средства для загрузки и отображения PNG-файлов с альфа-каналом и базовой работы с ними. В этой инструкции используется функция SDL_LoadPNG(), которая. . .
|