GithubHelp home page GithubHelp logo

Compile Error about xmp HOT 6 CLOSED

nvlabs avatar nvlabs commented on June 1, 2024
Compile Error

from xmp.

Comments (6)

TerenceLiu98 avatar TerenceLiu98 commented on June 1, 2024

I am using gcc version 7.40 ubuntu18.04.1 and cuda 9.1

from xmp.

luitjens avatar luitjens commented on June 1, 2024

from xmp.

TerenceLiu98 avatar TerenceLiu98 commented on June 1, 2024

@luitjens I modified the header by myself. When I compile the file it came up "fatal error: xmp.h: No such file or directory", then I thought the header path might be wrong,

from xmp.

TerenceLiu98 avatar TerenceLiu98 commented on June 1, 2024

I modified the header again and this time it came up wtih :

/tmp/ccTMzBKy.o: In function `main':
rsa.cc:(.text+0x175): undefined reference to `xmpHandleCreate'
rsa.cc:(.text+0x192): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x199): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x20d): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x22a): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x231): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x2a4): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x2c1): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x2c8): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x33c): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x359): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x360): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x3d5): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x3f2): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x3f9): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x46e): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x48b): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x492): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x507): undefined reference to `xmpIntegersCreate'
rsa.cc:(.text+0x524): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x52b): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x62d): undefined reference to `xmpIntegersImport'
rsa.cc:(.text+0x64e): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x655): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x6df): undefined reference to `xmpIntegersImport'
rsa.cc:(.text+0x700): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x707): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x792): undefined reference to `xmpIntegersImport'
rsa.cc:(.text+0x7b3): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x7ba): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x84a): undefined reference to `xmpIntegersImport'
rsa.cc:(.text+0x86b): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x872): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0x902): undefined reference to `xmpIntegersPowm'
rsa.cc:(.text+0x91f): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0x926): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xa01): undefined reference to `xmpIntegersPowm'
rsa.cc:(.text+0xa1e): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xa25): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xaea): undefined reference to `xmpIntegersCmp'
rsa.cc:(.text+0xb07): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xb0e): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xbe7): undefined reference to `xmpIntegersDestroy'
rsa.cc:(.text+0xc04): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xc0b): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xc77): undefined reference to `xmpIntegersDestroy'
rsa.cc:(.text+0xc94): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xc9b): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xd07): undefined reference to `xmpIntegersDestroy'
rsa.cc:(.text+0xd24): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xd2b): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xd97): undefined reference to `xmpIntegersDestroy'
rsa.cc:(.text+0xdb4): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xdbb): undefined reference to `cudaGetErrorString'
rsa.cc:(.text+0xe20): undefined reference to `xmpHandleDestroy'
rsa.cc:(.text+0xe3d): undefined reference to `cudaGetLastError'
rsa.cc:(.text+0xe44): undefined reference to `cudaGetErrorString'
collect2: error: ld returned 1 exit status
···

from xmp.

luitjens avatar luitjens commented on June 1, 2024

from xmp.

TerenceLiu98 avatar TerenceLiu98 commented on June 1, 2024

I fixed the problem. I am using the Linux version downloaded from the "https://nvlads.github.io/xmp" and it provided the older version of xmp.h and I followed the new api docs. Thanks anyway!

from xmp.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.