deepdrive-sim icon indicating copy to clipboard operation
deepdrive-sim copied to clipboard

Build Python Plugin error

Open LemonAniLabs opened this issue 6 years ago • 1 comments

Hi @crizCraig

I got the error after I run this two line

cd Plugins/DeepDrivePlugin/Source/DeepDrivePython python build/build.py --type dev

c1xx: fatal error C1083: Cannot open source file: '../DeepDrivePlugin/Private/SharedMemory/SharedMemory.cpp': No such file or directory

I guess something wrong in link lib but I don't know how to fix it. My platform is Windows

Thanks LemonAniLabs

LemonAniLabs avatar May 25 '18 04:05 LemonAniLabs

Hmm, it looks like the working directory for compilation is not what we expect it to be. You can get around this by setting the DEEPDRIVE_SRC_DIR environment variable to the absolute path of deepdrive-sim/Plugins/DeepDrivePlugin/Source/ or even easier, just let the Unreal build the Python extension for you. The Unreal build is setup to build the Python extension automatically.

crizCraig avatar May 26 '18 01:05 crizCraig