Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erro try to run first objectbox c++ code #39

Open
benzidane027 opened this issue Apr 13, 2024 · 0 comments
Open

erro try to run first objectbox c++ code #39

benzidane027 opened this issue Apr 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@benzidane027
Copy link

Describe the bug
hello guys.
this the first time i am using objectbox with c++ that give me that error :

  • i try to add objectbox.dll to system32 but not work

Basic info (please complete the following information):

  • ObjectBox version: latest
  • version: [ C++: 20 ,cmake :3.8]
  • OS: windows 21h2

To Reproduce
See error

Code

#include "main.h"
#include "objectbox.hpp"
#include "objectbox-model.h"
#include "task.obx.hpp"
#include "stdio.h"
using namespace std;

int main()
{
printf("Using ObjectBox version %s\n", obx_version_string());

obx::Store store(create_obx_model());

return
0
}

Logs, stack traces
Severity Code Description Project File Line Suppression State Details
Error LNK1120 4 unresolved externals C:\Users\myPc\source\repos\pro_one\out\build\x64-debug\pro_one C:\Users\myPc\source\repos\pro_one\out\build\x64-debug\pro_one.exe 1

@benzidane027 benzidane027 added the bug Something isn't working label Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant