Skip to content

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

Description

@benzidane027

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions