Skip to content

there is not trax.h #2

Open
Open
@peerchen

Description

@peerchen

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?

Activity

davheld

davheld commented on Aug 14, 2016

@davheld
Owner

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 notifications@github.com 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
#2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEHoHJSfMAKPbSupqHRHitdvieKOnPlhks5qeoUggaJpZM4JhvsG
.

WhiteIsClosing

WhiteIsClosing commented on Oct 13, 2016

@WhiteIsClosing

Hi
I meet this problem too, how to removing trax.h from my include lists.

charliememory

charliememory commented on Oct 21, 2016

@charliememory
Contributor

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)
davheld

davheld commented on Oct 21, 2016

@davheld
Owner

@charliememory - this is great, nice job figuring all of this out! Any chance that you can create a quick pull request with these changes?

akita1987

akita1987 commented on Mar 3, 2017

@akita1987

@charliememory Thank you! This solves my error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @WhiteIsClosing@davheld@peerchen@charliememory@akita1987

        Issue actions

          there is not trax.h · Issue #2 · davheld/GOTURN