question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compilation errors with latest commit

See original GitHub issue

I am not able to successfully compile the cuda dependences with sh make.sh in the latest commit.

  1. There is no nms_cuda.cpp file src. After adding and making the required changes as in roi_pooling/roi_crop, I keep getting lots of errors regarding gcc and dlls.

  2. This is the error I get while compiling nms_cuda.cpp:

                 from /opt/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/ATen/Retainable.h:3,
                 from /opt/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/ATen/Allocator.h:6,
                 from /opt/anaconda3/lib/python3.6/site-packages/torch/utils/ffi/../../lib/include/ATen/ATen.h:5,
                 from /home/gullals/Desktop/faster-rcnn.pytorch/lib/model/nms/src/nms_cuda.cpp:3:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
  1. This is the error I get while compiling all other modules (roi_pooling/roi_align/roi_crop):
roi_pooling.cpp:4:21: error: expected constructor, destructor, or type conversion before ‘(’ token
 extern"C" __declspec(dllexport) int roi_pooling_forward(int pooled_height, int pooled_width, float spatial_scale

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
jwyangcommented, Jun 26, 2018

sorry about that, i made a mistake and now i have recovered the previous version to master. try again!

0reactions
jwyangcommented, Jun 29, 2018

closing this issue for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Compile error with latest commit. · Issue #2397 · cheat-engine ...
Compile Project, Mode: Release 64-Bit, Target: bin\cheatengine-x86_64.exe: Exit code 1, Errors: 1 newvirtualstringtree.pas(8,32) Fatal: Cannot find laz.
Read more >
New git version causing compilation error - Stack Overflow
I'm using Git PowerShell to compile Fortran code with gfortran on windows 10. Recently, I had to restart my computer. When reopened, git...
Read more >
Git happens! 6 Common Git mistakes and how to fix them
Another common Git pitfall is committing too early. You missed a file, forgot to save it, or need to make a minor change...
Read more >
Is it acceptable to commit code that doesn't compile?
If it's cluttered in a sea of "WIP", "not compiling", "test", etc., it becomes hard to understand the reason of the change. It's...
Read more >
Build with segfault(latest commit)(gcc error..) - Questions
I encounter segfault in the lastest commit(d6d6367b0105bc5f155a963ea11e59c7913a2cf0). My options USE_LLVM ON USE_CUDA ON My environments ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found