Opened 14 years ago

Closed 14 years ago

#608 closed defect (fixed)

compile error after nvtt changes

Reported by: fabio Owned by:
Priority: Should Have Milestone: Alpha 2
Component: Non-game systems Keywords:
Cc: Patch:

Description

After latest nvtt changes 0ad no longer compile correctly:

test_test.cpp
test_CStr.cpp
/usr/bin/ld: warning: libnvcore.so, needed by ../../../binaries/system/libnvtt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvmath.so, needed by ../../../binaries/system/libnvtt.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libnvimage.so, needed by ../../../binaries/system/libnvtt.so, not found (try using -rpath or -rpath-link)
../../../binaries/system/libnvtt.so: undefined reference to `nv::AlphaBlockDXT5::index(unsigned int) const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::ColorBlock::isSingleColor() const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Image::pixels()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Image::Image()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::FloatImage::createImage(unsigned int, unsigned int) const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::BoxFilter::BoxFilter()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setHeight(unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::String::setString(char const*)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::FloatImage::FloatImage(nv::Image const*)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setLinearSize(unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setTexture2D()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Image::~Image()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::FloatImage::fastDownSample() const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Quantize::FloydSteinberg_BinaryAlpha(nv::Image*, int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::ColorBlock::init(nv::Image const*, unsigned int, unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::AlphaBlockDXT5::setIndex(unsigned int, unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Image::height() const'
../../../binaries/system/libnvtt.so: undefined reference to `vtable for nv::KaiserFilter'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setPixelFormat(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `vtable for nv::TriangleFilter'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Image::allocate(unsigned int, unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setTextureCube()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::FloatImage::downSample(nv::Filter const&, nv::FloatImage::WrapMode) const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::hasDX10Header() const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::swapBytes()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Image::Image(nv::Image const&)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::normalizeNormalMap(nv::FloatImage*)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setFourCC(unsigned char, unsigned char, unsigned char, unsigned char)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::StringBuilder::StringBuilder()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::mem::free(void const*)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::ColorBlock::ColorBlock()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::FloatImage::resize(nv::Filter const&, unsigned int, unsigned int, nv::FloatImage::WrapMode) const'
../../../binaries/system/libnvtt.so: undefined reference to `nvAbort(char const*, char const*, int, char const*)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::ColorBlock::splatX()'
../../../binaries/system/libnvtt.so: undefined reference to `vtable for nv::BoxFilter'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Quantize::FloydSteinberg(nv::Image*, unsigned int, unsigned int, unsigned int, unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::StringBuilder::StringBuilder(char const*)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setWidth(unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setMipmapCount(unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::TriangleFilter::TriangleFilter()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::AlphaBlockDXT5::evaluatePalette(unsigned char*) const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Quantize::BinaryAlpha(nv::Image*, int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::ColorBlock::swizzleDXT5n()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::createNormalMap(nv::Image const*, nv::FloatImage::WrapMode, nv::Vector4 const&, nv::Vector4 const&)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Filter::~Filter()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::KaiserFilter::KaiserFilter(float)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Image::width() const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::Image::scanline(unsigned int) const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::ColorBlock::splatY()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::DDSHeader()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::BlockDXT1::evaluatePalette(nv::Color32*) const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::KaiserFilter::setParameters(float, float)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setPitch(unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::StringBuilder::reset()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::FloatImage::createImageGammaCorrect(float) const'
../../../binaries/system/libnvtt.so: undefined reference to `nv::mem::malloc(unsigned int)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::StringBuilder::~StringBuilder()'
../../../binaries/system/libnvtt.so: undefined reference to `nv::StringBuilder::copy(nv::StringBuilder const&)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::FloatImage::toLinear(unsigned int, unsigned int, float)'
../../../binaries/system/libnvtt.so: undefined reference to `nv::DDSHeader::setNormalFlag(bool)'
collect2: ld returned 1 exit status
make[1]: *** [../../../binaries/system/pyrogenesis_dbg] Errore 1
make: *** [pyrogenesis] Errore 2
make: *** Attesa dei processi non terminati....
test_CLogger.cpp

Change History (1)

comment:1 by Philip Taylor, 14 years ago

Resolution: fixed
Status: newclosed

Oops, yes. r8309 fixes it for me.

Note: See TracTickets for help on using tickets.