<div dir="auto">Looks like there are for some reason missing includes, I will fix and test this on Fedora over the weekend.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Dne pá 12. 5. 2023 20:12 uživatel Bill Gee <<a href="mailto:bgee@campercaver.net">bgee@campercaver.net</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks!  That made a difference.  I still get an error, but it happens <br>
later in the process.  This happens after a bunch of other g++ commands <br>
have run.<br>
<br>
====================== Paste text =============<br>
g++ -c -DIMG_API_VERSION=1 -Wall -DTHLINUX -O2 -DPROJ_VER=9 <br>
-I/usr/include -Iextern -Iextern/shapelib -Iextern/quickhull -std=c++17 <br>
-o thdb1d.o thdb1d.cxx<br>
In file included from extern/quickhull/QuickHull.hpp:10,<br>
                  from thdb1d.cxx:53:<br>
extern/quickhull/Structs/Mesh.hpp:41:30: error: ‘uint8_t’ in namespace <br>
‘std’ does not name a type; did you mean ‘wint_t’?<br>
    41 |                         std::uint8_t <br>
m_isVisibleFaceOnCurrentIteration : 1;<br>
       |                              ^~~~~~~<br>
       |                              wint_t<br>
extern/quickhull/Structs/Mesh.hpp:42:30: error: ‘uint8_t’ in namespace <br>
‘std’ does not name a type; did you mean ‘wint_t’?<br>
    42 |                         std::uint8_t m_inFaceStack : 1;<br>
       |                              ^~~~~~~<br>
       |                              wint_t<br>
extern/quickhull/Structs/Mesh.hpp:43:30: error: ‘uint8_t’ in namespace <br>
‘std’ does not name a type; did you mean ‘wint_t’?<br>
    43 |                         std::uint8_t <br>
m_horizonEdgesOnCurrentIteration : 3; // Bit for each half edge assigned <br>
to this face, each being 0 or 1 depending on whether the edge belongs to <br>
horizon edge<br>
       |                              ^~~~~~~<br>
       |                              wint_t<br>
extern/quickhull/Structs/Mesh.hpp: In constructor <br>
‘quickhull::MeshBuilder<T>::Face::Face()’:<br>
extern/quickhull/Structs/Mesh.hpp:50:42: error: class <br>
‘quickhull::MeshBuilder<T>::Face’ does not have any field named <br>
‘m_isVisibleFaceOnCurrentIteration’<br>
    50 | <br>
m_isVisibleFaceOnCurrentIteration(0),<br>
       | <br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
extern/quickhull/Structs/Mesh.hpp:51:42: error: class <br>
‘quickhull::MeshBuilder<T>::Face’ does not have any field named <br>
‘m_inFaceStack’<br>
    51 |                                          m_inFaceStack(0),<br>
       |                                          ^~~~~~~~~~~~~<br>
extern/quickhull/Structs/Mesh.hpp:52:42: error: class <br>
‘quickhull::MeshBuilder<T>::Face’ does not have any field named <br>
‘m_horizonEdgesOnCurrentIteration’<br>
    52 | <br>
m_horizonEdgesOnCurrentIteration(0)<br>
       | <br>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
make: *** [Makefile:151: thdb1d.o] Error 1<br>
================================ End of pasted text ================<br>
<br>
When I built therion 6.1.6 on Fedora 37, I used cmake instead of make. <br>
Trying that process, I get yet another error!<br>
<br>
============== Begin pasted text ===============<br>
/home/bgee/Installs/therion-6.1.7/loch/lxFile.cxx: In member function <br>
‘bool lxFile::HasAnyWalls()’:<br>
/home/bgee/Installs/therion-6.1.7/loch/lxFile.cxx:1345:30: error: no <br>
match for ‘operator!=’ (operand types are ‘lxFileSize’ and ‘<unnamed enum>’)<br>
  1345 |       if (shi->m_sectionType != LXFILE_SHOT_SECTION_NONE) {<br>
       |           ~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~~<br>
       |                |                |<br>
       |                lxFileSize       <unnamed enum><br>
/home/bgee/Installs/therion-6.1.7/loch/lxMath.h:77:6: note: candidate: <br>
‘bool operator!=(const lxVec&, const lxVec&)’<br>
    77 | bool operator != ( const lxVec& p, const lxVec& q );<br>
       |      ^~~~~~~~<br>
/home/bgee/Installs/therion-6.1.7/loch/lxMath.h:77:33: note:   no known <br>
conversion for argument 1 from ‘lxFileSize’ to ‘const lxVec&’<br>
    77 | bool operator != ( const lxVec& p, const lxVec& q );<br>
       |                    ~~~~~~~~~~~~~^<br>
make[2]: *** [loch/CMakeFiles/common-utils.dir/build.make:76: <br>
loch/CMakeFiles/common-utils.dir/lxFile.cxx.o] Error 1<br>
make[1]: *** [CMakeFiles/Makefile2:3821: <br>
loch/CMakeFiles/common-utils.dir/all] Error 2<br>
make: *** [Makefile:146: all] Error 2<br>
<br>
=================== End pasted text ===============<br>
<br>
===============<br>
Bill Gee<br>
<br>
On 5/12/23 12:40, Matěj Plch wrote:<br>
> Hi, Therion 6.1.7 does not include internal copy of fmt library, you <br>
> need to install package fmt-devel.<br>
> <br>
> Dne pá 12. 5. 2023 17:03 uživatel Bill Gee <<a href="mailto:bgee@campercaver.net" target="_blank" rel="noreferrer">bgee@campercaver.net</a> <br>
> <mailto:<a href="mailto:bgee@campercaver.net" target="_blank" rel="noreferrer">bgee@campercaver.net</a>>> napsal:<br>
> <br>
>     I gave it a shot today to see if I could duplicate Rodrigo's<br>
>     problem.  I<br>
>     got a completely different error:<br>
> <br>
>     ===========================<br>
>     [bgee@main2 build]$ cmake ..<br>
>     CMake Error at cmake/Dependencies.cmake:8 (find_package):<br>
>         By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this<br>
>     project has<br>
>         asked CMake to find a package configuration file provided by<br>
>     "fmt", but<br>
>         CMake did not find one.<br>
> <br>
>         Could not find a package configuration file provided by "fmt"<br>
>     with any of<br>
>         the following names:<br>
> <br>
>           fmtConfig.cmake<br>
>           fmt-config.cmake<br>
> <br>
>         Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set<br>
>     "fmt_DIR"<br>
>         to a directory containing one of the above files.  If "fmt"<br>
>     provides a<br>
>         separate development package or SDK, be sure it has been installed.<br>
>     Call Stack (most recent call first):<br>
>         CMakeLists.txt:18 (include)<br>
>     ===============================<br>
> <br>
>     This is Fedora 38.  The compile of 6.1.6 on Fedora 37 worked correctly<br>
>     for me.  6.1.6 still works after the upgrade to Fedora 38.  I did not<br>
>     recompile it.<br>
> <br>
> <br>
> <br>
>     -- <br>
>     ===============<br>
>     Bill Gee<br>
>     _______________________________________________<br>
>     Therion mailing list<br>
>     <a href="mailto:Therion@speleo.sk" target="_blank" rel="noreferrer">Therion@speleo.sk</a> <mailto:<a href="mailto:Therion@speleo.sk" target="_blank" rel="noreferrer">Therion@speleo.sk</a>><br>
>     <a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
>     <<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a>><br>
> <br>
> <br>
> _______________________________________________<br>
> Therion mailing list<br>
> <a href="mailto:Therion@speleo.sk" target="_blank" rel="noreferrer">Therion@speleo.sk</a><br>
> <a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank" rel="noreferrer">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>