You are not logged in.
Pages: 1
I'm trying to compile this:
and i'm doing it like this:
> cd VPL
> mkdir build
> cd build
> ccmake ..then i press "C"
and I have this error:
CMake Error at CMakeModules/FindTinyXML.cmake:159 (MESSAGE):
TinyXML required but some headers or libs not found. Please specify it's
location with TINYXML_ROOT_DIR variable.
Call Stack (most recent call first):
CMakeLists.txt:259 (find_package)Please help me, I'm using archlinux for many years but nebie and I have no idea how to move on.
Kind Regads,
Marcin.
Offline
Please post the output of
pacman -Qs tinyxmlSakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
$ pacman -Qs tinyxml
local/tinyxml 2.6.2-6
Simple, small XML parser
local/tinyxml2 7.1.0-1
Simple XML parser made for easy integrationOffline
That looks fine. FTR, it's tinyxml2 it's looking for.
What state is that package in?
pacman -Qkk tinyxml2Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
$ pacman -Qkk tinyxml2
tinyxml2: w sumie 19 plików, 0 zmienionych plikówin English I guess:
$ pacman -Qkk tinyxml2
tinyxml2: total 19 files, 0 changed filesOffline
Which download did you use? With the master release 3dimlab-vpl-f9c1202e6288.tar.bz2 I produced
cmake -DVPL_PREFER_SUPPLIED_3RDPARTY_LIBS=OFF ..
-- Found Eigen3: /usr/include/eigen3 (Required is at least version "2.91.0")
-- Performing Test COMPILER_SUPPORT_WNOVARIADICMACRO
-- Performing Test COMPILER_SUPPORT_WNOVARIADICMACRO - Success
-- Performing Test COMPILER_SUPPORT_WEXTRA
-- Performing Test COMPILER_SUPPORT_WEXTRA - Success
-- Performing Test COMPILER_SUPPORT_OPENMP
-- Performing Test COMPILER_SUPPORT_OPENMP - Success
-- Enabling OpenMP in both the VPL and the Eigen library
-- Found JPEG: /usr/lib/libjpeg.so (found version "80")
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.11")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.37")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/test/3dimlab-vpl-f9c1202e6288/buildEdit:
tinyxml2 7.1.0-1
Last edited by loqs (2020-02-11 21:31:05)
Offline
I really don't understand what am I doing, but using
cmake -DVPL_PREFER_SUPPLIED_3RDPARTY_LIBS=OFF .. instead
ccmake .. made compilation done at first stage.
Now I have another issue, but I don't now if this is about arch or 3dimlab and if it is about 3dimlab, then I'm sorry to put this thread here.
$ make
make[1]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
make[2]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
Scanning dependencies of target vplBase13
make[2]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
make[2]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
[ 1%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/Error.o
[ 3%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/FullException.o
[ 4%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/Identifier.o
[ 6%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/LogAppender.o
[ 7%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/LogFilters.o
[ 9%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/Logger.o
[ 10%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/LogChannel.o
[ 12%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/LogIDEAppender.o
[ 14%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/LogLayout.o
[ 15%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/LogRecord.o
[ 17%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/Setup.o
[ 18%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/Singleton.o
[ 20%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/SmallObject.o
[ 21%] Building CXX object src/lib/Base/CMakeFiles/vplBase13.dir/Warning.o
[ 23%] Linking CXX static library ../../../lib/libvplBase13.a
make[2]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
[ 23%] Built target vplBase13
make[2]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
Scanning dependencies of target vplSystem13
make[2]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
make[2]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
[ 25%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/Condition.o
[ 26%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/ExitHandler.o
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/ExitHandler.cpp:27:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/ExitHandler.cpp: In destructor ‘virtual vpl::sys::CExitHandler::~CExitHandler()’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Base/Error.h:76:81: warning: throw will always call terminate() [-Wterminate]
76 | RROR(Name) throw vpl::base::CError(Name, __FILE__, __LINE__)
| ^
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/ExitHandler.cpp:226:13: note: in expansion of macro ‘VPL_THROW_ERROR’
226 | VPL_THROW_ERROR("Destructor CExitHandler::~CExitHandler() failed");
| ^~~~~~~~~~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Base/Error.h:76:81: note: in C++11 destructors default to noexcept
76 | RROR(Name) throw vpl::base::CError(Name, __FILE__, __LINE__)
| ^
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/ExitHandler.cpp:226:13: note: in expansion of macro ‘VPL_THROW_ERROR’
226 | VPL_THROW_ERROR("Destructor CExitHandler::~CExitHandler() failed");
| ^~~~~~~~~~~~~~~
[ 28%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/FileBrowser.o
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp: In member function ‘bool vpl::sys::CFileBrowser::findFirst(const string&, vpl::sys::CFileBrowser::SFileAttr&)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:279:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
279 | while( readdir_r(m_pDir, m_pEntry, &pTemp) == 0 && pTemp )
| ^
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/System/FileBrowser.h:41,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:23:
/usr/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:279:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
279 | while( readdir_r(m_pDir, m_pEntry, &pTemp) == 0 && pTemp )
| ^
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/System/FileBrowser.h:41,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:23:
/usr/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp: In member function ‘bool vpl::sys::CFileBrowser::findNext(vpl::sys::CFileBrowser::SFileAttr&)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:309:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
309 | while( readdir_r(m_pDir, m_pEntry, &pTemp) == 0 && pTemp )
| ^
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/System/FileBrowser.h:41,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:23:
/usr/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:309:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
309 | while( readdir_r(m_pDir, m_pEntry, &pTemp) == 0 && pTemp )
| ^
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/System/FileBrowser.h:41,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:23:
/usr/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp: In member function ‘bool vpl::sys::CFileBrowserU::findFirst(const tString&, vpl::sys::CFileBrowserU::SFileAttr&)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:560:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
560 | while( readdir_r(m_pDir, m_pEntry, &pTemp) == 0 && pTemp )
| ^
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/System/FileBrowser.h:41,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:23:
/usr/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:560:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
560 | while( readdir_r(m_pDir, m_pEntry, &pTemp) == 0 && pTemp )
| ^
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/System/FileBrowser.h:41,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:23:
/usr/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp: In member function ‘bool vpl::sys::CFileBrowserU::findNext(vpl::sys::CFileBrowserU::SFileAttr&)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:590:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
590 | while( readdir_r(m_pDir, m_pEntry, &pTemp) == 0 && pTemp )
| ^
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/System/FileBrowser.h:41,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:23:
/usr/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:590:46: warning: ‘int readdir_r(DIR*, dirent*, dirent**)’ is deprecated [-Wdeprecated-declarations]
590 | while( readdir_r(m_pDir, m_pEntry, &pTemp) == 0 && pTemp )
| ^
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/System/FileBrowser.h:41,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/System/FileBrowser.cpp:23:
/usr/include/dirent.h:183:12: note: declared here
183 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
[ 29%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/Memory.o
[ 31%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/Mutex.o
[ 32%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/NamedPipe.o
[ 34%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/NamedSemaphore.o
[ 35%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/SharedMem.o
[ 37%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/Sleep.o
[ 39%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/Stopwatch.o
[ 40%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/String.o
[ 42%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/Thread.o
[ 43%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/Timer.o
[ 45%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/Timestamp.o
[ 46%] Building CXX object src/lib/System/CMakeFiles/vplSystem13.dir/UserThread.o
[ 48%] Linking CXX static library ../../../lib/libvplSystem13.a
make[2]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
[ 48%] Built target vplSystem13
make[2]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
Scanning dependencies of target vplModule13
make[2]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
make[2]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
[ 50%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/Argv.o
[ 51%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/BinarySerializer.o
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Module/BinarySerializer.cpp: In function ‘bool vpl::mod::BinarySerializer::writeGroupHeader(vpl::mod::CChannel&, const char*, int, int)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Module/BinarySerializer.cpp:148:12: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 32 equals destination size [-Wstringop-truncation]
148 | strncpy(Header.m_pcName, pcName, CSerializable::MAX_NAME_LENGTH);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 53%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/BlockChannel.o
[ 54%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/Compressor.o
[ 56%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/Console.o
[ 57%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/DensityCompressor.o
[ 59%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/GZipCompressor.o
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Module/GZipCompressor.cpp: In constructor ‘vpl::mod::CGZipCompressor::CGZipCompressor(vpl::mod::CChannel*, unsigned int)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Module/GZipCompressor.cpp:46:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
46 | int result = Z_OK;
| ^~~~~~
[ 60%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/Channel.o
[ 62%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/MemoryChannel.o
[ 64%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/Module.o
[ 65%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/Predictor.o
[ 67%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/RLECompressor.o
[ 68%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/SHMSerializer.o
[ 70%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/StreamChannel.o
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Module/StreamChannel.cpp: In member function ‘virtual std::streampos vpl::mod::CIStreamChannel::seekoff(std::streamoff, std::ios_base::seekdir, std::ios_base::openmode)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Module/StreamChannel.cpp:183:113: warning: unused parameter ‘which’ [-Wunused-parameter]
183 | off off, std::ios_base::seekdir way, std::ios_base::openmode which)
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Module/StreamChannel.cpp: In member function ‘virtual std::streampos vpl::mod::CIStreamChannel::seekpos(std::streampos, std::ios_base::openmode)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Module/StreamChannel.cpp:224:13: warning: unused variable ‘val’ [-Wunused-variable]
224 | int val = gptr() - eback();
| ^~~
[ 71%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/View.o
[ 73%] Building CXX object src/lib/Module/CMakeFiles/vplModule13.dir/XMLSerializer.o
[ 75%] Linking CXX static library ../../../lib/libvplModule13.a
make[2]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
[ 75%] Built target vplModule13
make[2]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
Scanning dependencies of target vplImage13
make[2]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
make[2]: Wejście do katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
[ 76%] Building CXX object src/lib/Image/CMakeFiles/vplImage13.dir/DensityVolume.o
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Image.h:31,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Slice.h:27,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/DensityVolume.h:32,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Image/DensityVolume.cpp:23:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Base/Range.h: In member function ‘vpl::CRange vpl::CRange::operator&(const vpl::CRange&)’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Base/Range.h:92:16: warning: implicitly-declared ‘constexpr vpl::CRange::CRange(const vpl::CRange&)’ is deprecated [-Wdeprecated-copy]
92 | return r;
| ^
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Base/Range.h:46:20: note: because ‘vpl::CRange’ has user-provided ‘vpl::CRange& vpl::CRange::operator=(const vpl::CRange&)’
46 | inline CRange& operator = (const CRange& r)
| ^~~~~~~~
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/DensityVolume.h:34,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Image/DensityVolume.cpp:23:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/ImageIO/DicomSlice.h: At global scope:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/ImageIO/DicomSlice.h:53:67: warning: extra ‘;’ [-Wpedantic]
53 | VPL_DECLARE_EXCEPTION(CDicomSliceExeption, "Not implemented.");
| ^
| -
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.h:531,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/DensityVolume.h:33,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Image/DensityVolume.cpp:23:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx: In member function ‘vpl::img::CVolume<T, A>& vpl::img::CVolume<T, A>::operator=(const vpl::img::CVolume<T, A>&) [with T = short int; Allocator = vpl::base::CPartedData]’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:467:34: error: ‘Count’ not specified in enclosing ‘parallel’
467 | for( tSize k = 0; k < Count.z(); ++k )
| ~~~~~~~^~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:466:9: error: enclosing ‘parallel’
466 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(Count.x() * Count.y() * Count.z() > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:473:59: error: ‘Offset1’ not specified in enclosing ‘parallel’
473 | for( tSize i = 0; i < Count.x(); ++i, idx1 += Offset1, idx2 += Offset2 )
| ^~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:466:9: error: enclosing ‘parallel’
466 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(Count.x() * Count.y() * Count.z() > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:473:76: error: ‘Offset2’ not specified in enclosing ‘parallel’
473 | for( tSize i = 0; i < Count.x(); ++i, idx1 += Offset1, idx2 += Offset2 )
| ^~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:466:9: error: enclosing ‘parallel’
466 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(Count.x() * Count.y() * Count.z() > VPL_MIN_OMP_COMPLEXITY)
| ^~~
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.h:531,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/DensityVolume.h:33,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Image/DensityVolume.cpp:23:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx: In member function ‘vpl::img::CVolume<T, A>& vpl::img::CVolume<T, A>::copy(const vpl::img::CVolume<T, A>&, vpl::tSize) [with T = short int; Allocator = vpl::base::CPartedData]’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:230:5: error: ‘MCount’ not specified in enclosing ‘parallel’
230 | for( tSize k = -MCount; k < ZCount; ++k )
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:229:9: error: enclosing ‘parallel’
229 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(XCount * YCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:230:5: error: ‘ZCount’ not specified in enclosing ‘parallel’
230 | for( tSize k = -MCount; k < ZCount; ++k )
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:229:9: error: enclosing ‘parallel’
229 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(XCount * YCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:232:37: error: ‘YCount’ not specified in enclosing ‘parallel’
232 | for( tSize j = -MCount; j < YCount; ++j )
| ^~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:229:9: error: enclosing ‘parallel’
229 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(XCount * YCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:236:41: error: ‘XCount’ not specified in enclosing ‘parallel’
236 | for( tSize i = -MCount; i < XCount; ++i, idx1 += Offset1, idx2 += Offset2 )
| ^~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:229:9: error: enclosing ‘parallel’
229 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(XCount * YCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:236:62: error: ‘Offset1’ not specified in enclosing ‘parallel’
236 | for( tSize i = -MCount; i < XCount; ++i, idx1 += Offset1, idx2 += Offset2 )
| ^~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:229:9: error: enclosing ‘parallel’
229 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(XCount * YCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:236:79: error: ‘Offset2’ not specified in enclosing ‘parallel’
236 | for( tSize i = -MCount; i < XCount; ++i, idx1 += Offset1, idx2 += Offset2 )
| ^~~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:229:9: error: enclosing ‘parallel’
229 | #pragma omp parallel for schedule(static) default(none) shared(Volume) if(XCount * YCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
In file included from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.h:531,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/DensityVolume.h:33,
from /home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/src/lib/Image/DensityVolume.cpp:23:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx: In member function ‘bool vpl::img::CVolume<T, A>::getPlaneXY(vpl::tSize, vpl::img::CImage<T>&) [with T = short int; Allocator = vpl::base::CPartedData]’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1007:5: error: ‘YCount’ not specified in enclosing ‘parallel’
1007 | for( tSize j = 0; j < YCount; ++j )
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1006:9: error: enclosing ‘parallel’
1006 | #pragma omp parallel for schedule(static) default(none) shared(Plane) firstprivate(z) if(XCount * YCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1009:31: error: ‘XCount’ not specified in enclosing ‘parallel’
1009 | for( tSize i = 0; i < XCount; ++i )
| ^~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1006:9: error: enclosing ‘parallel’
1006 | #pragma omp parallel for schedule(static) default(none) shared(Plane) firstprivate(z) if(XCount * YCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx: In member function ‘bool vpl::img::CVolume<T, A>::getPlaneXZ(vpl::tSize, vpl::img::CImage<T>&) [with T = short int; Allocator = vpl::base::CPartedData]’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1028:5: error: ‘ZCount’ not specified in enclosing ‘parallel’
1028 | for( tSize j = 0; j < ZCount; ++j )
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1027:9: error: enclosing ‘parallel’
1027 | #pragma omp parallel for schedule(static) default(none) shared(Plane) firstprivate(y) if(XCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1030:31: error: ‘XCount’ not specified in enclosing ‘parallel’
1030 | for( tSize i = 0; i < XCount; ++i )
| ^~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1027:9: error: enclosing ‘parallel’
1027 | #pragma omp parallel for schedule(static) default(none) shared(Plane) firstprivate(y) if(XCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx: In member function ‘bool vpl::img::CVolume<T, A>::getPlaneYZ(vpl::tSize, vpl::img::CImage<T>&) [with T = short int; Allocator = vpl::base::CPartedData]’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1049:5: error: ‘ZCount’ not specified in enclosing ‘parallel’
1049 | for( tSize j = 0; j < ZCount; ++j )
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1048:9: error: enclosing ‘parallel’
1048 | #pragma omp parallel for schedule(static) default(none) shared(Plane) firstprivate(x) if(YCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1051:31: error: ‘YCount’ not specified in enclosing ‘parallel’
1051 | for( tSize i = 0; i < YCount; ++i )
| ^~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1048:9: error: enclosing ‘parallel’
1048 | #pragma omp parallel for schedule(static) default(none) shared(Plane) firstprivate(x) if(YCount * ZCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx: In member function ‘bool vpl::img::CVolume<T, A>::setPlaneXY(vpl::tSize, const vpl::img::CImage<T>&) [with T = short int; Allocator = vpl::base::CPartedData]’:
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1070:5: error: ‘YCount’ not specified in enclosing ‘parallel’
1070 | for( tSize j = 0; j < YCount; ++j )
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1069:9: error: enclosing ‘parallel’
1069 | #pragma omp parallel for schedule(static) default(none) shared(Plane) firstprivate(z) if(XCount * YCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1072:31: error: ‘XCount’ not specified in enclosing ‘parallel’
1072 | for( tSize i = 0; i < XCount; ++i )
| ^~~~~~
/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/include/VPL/Image/Volume.hxx:1069:9: error: enclosing ‘parallel’
1069 | #pragma omp parallel for schedule(static) default(none) shared(Plane) firstprivate(z) if(XCount * YCount > VPL_MIN_OMP_COMPLEXITY)
| ^~~
make[2]: *** [src/lib/Image/CMakeFiles/vplImage13.dir/build.make:63: src/lib/Image/CMakeFiles/vplImage13.dir/DensityVolume.o] Błąd 1
make[2]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
make[1]: *** [CMakeFiles/Makefile2:327: src/lib/Image/CMakeFiles/vplImage13.dir/all] Błąd 2
make[1]: Opuszczenie katalogu '/home/marcin/vpl/new/3dimlab-vpl-f9c1202e6288/build'
make: *** [Makefile:130: all] Błąd 2Offline
I do not know the state of OMP support in gcc provided by arch or why the compiler passed the cmake test COMPILER_SUPPORT_OPENMP but then fails to build.
As a workaround setting CXX=/usr/bin/clang++ which fails the test successfully compiled.
Offline
fails the test successfully
I'm sorry, @loqs, you write the best posts on these forums, but this one made me chuckle.
Offline
Pages: 1