robcog-iai / libmongo

Unreal Engine plugin with mongo-c and mongo-cxx third party libraries
BSD 3-Clause "New" or "Revised" License
13 stars 9 forks source link

Intergration help #5

Open ToastyStoemp opened 3 years ago

ToastyStoemp commented 3 years ago

I'm sorry for opening a rather dated project, However I'm a novice to unreal and was hoping to get some help trying to implement your plugin to access my mongodb database. I've added the libmongo db to the build settings but still can't access the c++ libraries as described in the read me. Would love to get some help with this, -Toasty

andreihaidu commented 3 years ago

@ToastyStoemp you add the plugin to your game (GamePlugin - https://docs.unrealengine.com/en-US/ProductionPipelines/Plugins/index.html), you then add it to your Module's build.cs file (https://docs.unrealengine.com/en-US/ProductionPipelines/BuildTools/UnrealBuildTool/ModuleFiles/index.html). And then you can include the headers and use the API.

ToastyStoemp commented 3 years ago

with module build.cs I suppose you mean project.build.cs

image I've done exactly that, but when I create a new empty c++ file from the editor the headers are not accessable. Asif the path's aren't added. image This is a new empty project.

Edit: I've retried in another clean project (where the atomic file wasn't throwing errors) with no difference

andreihaidu commented 3 years ago

@ToastyStoemp did you enable the plugin? (https://docs.unrealengine.com/en-US/ProductionPipelines/Plugins/index.html) It should also appear in the MyProject.uproject file.

ToastyStoemp commented 3 years ago

From the editor Edit->Plugins it does look like the plugin is enabled: image

RiccardoPerelli commented 2 years ago

@ToastyStoemp Hi, i know that maybe is a little bit late, but i'm facing the same problem, did you find a solution? TY :)