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

core-base/common.h cannot be found. #10

Closed
HyperLethalVector opened this issue Aug 25, 2017 · 12 comments
Closed

core-base/common.h cannot be found. #10

HyperLethalVector opened this issue Aug 25, 2017 · 12 comments

Comments

@HyperLethalVector
Copy link

Hi, I seem to be missing a file after downloading the source and accompanying mLib external.

Error 45 error C1083: Cannot open include file: 'core-base/common.h': No such file or directory d:\bundlefusion-master\friedliver\source\mLibCuda.h 2 1 FriedLiver

is there something I'm still missing? I'm using Cuda 7.0 to compile.

@neopostmodern
Copy link

Not sure if related, but maybe it helps.

I get the exact same error (VS2013 Community with Update 5, Windows 10 without Anniversary Update, CUDA 7.0 but with recent driver) and the next error is:

Error	2	error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"sm_35,compute_35\" --use-local-env --cl-version 2013 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -rdc=true -IInclude\cutil\inc -I"C:\Users\C\Downloads\BundleFusion-master-1\BundleFusion-master\FriedLiver" -ISource\DXUT\Optional -ISource\DXUT\Core -IInclude\Uplink -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\include"     --keep-dir x64\Debug -maxrregcount=62  --machine 64 --compile -cudart static  -g   -DWIN32 -D_DEBUG -DDEBUG -DPROFILE -D_CONSOLE -DD3DXFX_LARGEADDRESS_HANDLE -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W3 /nologo /Od /Zi /RTC1 /MDd  " -o x64\Debug\CUDACache.cu.obj "C:\Users\C\Downloads\BundleFusion-master-1\BundleFusion-master\FriedLiver\Source\CUDACache.cu"" exited with code 2.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 7.0.targets	593	9	FriedLiver

@neopostmodern
Copy link

So, after a lot of digging around I think this is because it doesn't find the mLib submodule.
Check that you're code has this structure:

BundleFusion-master/
  external/
    mLib/ # this is the submodule you replaced
      data/
      src/
      [...]
  FriedLiver/
    [...]
    FriedLiver.sln
    [...]
mLibExternal/ # you downloaded this from Dropbox
  include
  libsWindows
  [...]

(or have a look at this run-through I am trying to document: https://bericht.neopostmodern.com/posts/artist-guide-to-bundlefusion)

@HyperLethalVector
Copy link
Author

Hi,

it seems I was missing the entire mLib section,
when I pulled from bundlefusions repository, it didn't pull the additional mLib git repository.

Setting the folder structure up the way you described seemed to do the trick for compiling.

Running I get the following error:
The code execution cannot proceed because FreeImage.dll was not found. Reinstalling the program may fix this problem.

@HyperLethalVector
Copy link
Author

Nevermind, after reading your post (Thanks for that by the way!)

I successfully ran the program (Needed to switch to release).

I will test it tomorrow with a depth camera and see how we go! :D

@HyperLethalVector
Copy link
Author

Sadly there's no hook for the realsense sensors (even though it's defined in code)

I'll mark this issue as resolved though, as it works with my xbox one kinect

@VVingerfly
Copy link

@HyperLethalVector Hi, do you run the code with Kinect One and perform real-time reconstruction successfully? When I run the code with VS2015, it just crashed.

What's your computer configurations when running this code?

Thanks you!

Best Regards,
Wei

@happydj94xk4
Copy link

happydj94xk4 commented Sep 6, 2017

@neopostmodern and @HyperLethalVector
Hi both, I ran into MSB3721 problem the same as described by @neopostmodern above, but can't access https://bericht.neopostmodern.com/posts/artist-guide-to-bundlefusion to get the solution.
May you describe the solution briefly?

Thanks,
Meng

@neopostmodern
Copy link

@happydj94xk4 — sorry, server outage. It's online again now.

You need to set up the directories correctly, see the previous comment of mine or the post (which is more detailed).

@Jaiy
Copy link

Jaiy commented Dec 1, 2017

@neopostmodern
Hi, I have read your document, it's useful for me, thanks a lot. I have built the solution successfully, but when I try to run it, it failed as follow. The command window stucked after running, in the command it shows the error——cudaSafeCall() Runtime API error 74: misaligned address. I'm using CUDA 6.5, VS2013,Win8.

@neopostmodern
Copy link

I think they advise against anything other than CUDA 7. Most likely your 6.5 is the issue, but I'm guessing here, so don't nail me down on that. But it's the first thing I'd try.

@yaoy908
Copy link

yaoy908 commented Dec 6, 2017 via email

@Jaiy
Copy link

Jaiy commented Dec 7, 2017

@neopostmodern
Hi, thanks for your kind help, I have solve the problem by changing the CUDA version, it's strange, but it did work. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants