there is not trax.h
when i build in ubuntu, the problem is shot as "GOTURN-master/src/native/vot.h:50:22: fatal error: trax.h: No such file or directory", how to fix it?
Have you modified vot.h at all?
Lines 48 and 49 should prevent line 50 from being executed unless you have trax.h:
#ifdef __has_include
if __has_include("trax.h")
Strangely, it seems that trax.h is being found in your include lists but then it is causing a compilation error?
I would try removing trax.h from your include lists.
On Wed, Aug 10, 2016 at 7:12 PM, peerchen [email protected] wrote:
when i build in ubuntu, the problem is shot as "GOTURN-master/src/native/vot.h:50:22: fatal error: trax.h: No such file or directory", how to fix it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/davheld/GOTURN/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AEHoHJSfMAKPbSupqHRHitdvieKOnPlhks5qeoUggaJpZM4JhvsG .
Hi I meet this problem too, how to removing trax.h from my include lists.
I solved this bug just modify
include_directories(src)
to
include_directories(src)
include_directories(src/native)
Besides, I have some fixed other errors which may also occur in your compilation.
1. trax.h missing. (ref to #1 )
Just download it and build it. Then add it into your CMakeList.txt target_link_libraries(${PROJECT_NAME} /path_to_trax/build/libtrax.so)
2. Caffe path setting.
Adding the following items into your CMakeList.txt
set(Caffe_DIR /path_to_caffe/build/install)
set(Caffe_INCLUDE_DIRS /path_to_caffe/build/install/include)
3. CUDA setting.
Just modify
if(CUDA_FOUND)
to
find_package(CUDA REQUIRED)
If cuda is still missing, add
set(CUDA_INCLUDE_DIRS /path_to_cuda/include)
@charliememory - this is great, nice job figuring all of this out! Any chance that you can create a quick pull request with these changes?
@charliememory Thank you! This solves my error.