Проблемы с созданием схемы ODB и файлов запросов для проекта C++C++

Программы на C++. Форум разработчиков
Ответить Пред. темаСлед. тема
Anonymous
 Проблемы с созданием схемы ODB и файлов запросов для проекта C++

Сообщение Anonymous »


I am working on a C++ project using ODB for database management. I encountered several errors while attempting to generate schema and query files using ODB commands. Here's the command I've been trying:

odb --database sqlite --generate-schema --generate-query -I../config -I../communication/toComputer -I../window/patientWindows Patients.hpp I received errors related to missing include files and incorrect directory paths. For example: fatal error: global.hpp: No such file or directory

I've verified the files exist and tried adjusting the include paths without success. Here are the key files and their locations relative to the command execution directory:
  • Patients.hpp and Patients.cpp in src/database
  • Dependencies in src/config, src/communication/toComputer, and src/window/patientWindows

Could someone guide me on the correct way to structure the ODB command with the appropriate include paths, or how to resolve these include file errors?


Источник: https://stackoverflow.com/questions/781 ... -c-project
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «C++»