Subject: CGAL users discussion list
List archive
- From: dlenz <>
- To:
- Subject: [cgal-discuss] Multiple Definitions Error with OFF_reader.h
- Date: Thu, 4 Oct 2018 12:04:56 -0500 (CDT)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=Pass
- Ironport-phdr: 9a23:nfNOBhcaRb04iLw6/5hfOgvYlGMj4u6mDksu8pMizoh2WeGdxcu7ZR7h7PlgxGXEQZ/co6odzbaO7Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahY75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v6bpgRh31hycdLzM3/mHZhNJzgqxGrx2uuxNxzpXIYIyXKPZyYr/Rcc8ESWdHQ81fVzZBAoS5b4YXEuUBOfhXr4/8plATqhaxGBOjBP3uyjBVnHP5wbc20+A/HgHA3Q0sAskDsHvRrNrvNacSVfq5w7XPzTXGdv5b3yr25obPchAku/6MXLRwfNLXyUY1DAzKlVGQppL/MzyJ0eQNtm6W5PdjW+K3k2MrtgV8rzy1ysoiiYTFnIEYx1He+Sh4wYs4I8CzRlRhbt6+CpRQsjmXN4toTcMmRGFloCA6x7IctZ69ZicF048oxxrBZPCdb4eI5RfjWP6QITd+mn1lZKqyiwu2/EWk0OHxWMq53ExJoydEiNXBt3EA2wTW6sedS/t9+kmh2SyI1wDW8uxLPFo7lbTaK5E82LI/ioAfsUDdES/wmUT6kbSbdkoh+uey6uTnZq/qqYObN49xkg3+KLghmtSjAeQkNQgDR3SU+eum273n5EH2XbRKjuYqnanEq5DaPt8WprW5Ag9QyoYs8QyzDzag0NQCnHkINkhJeBydj9uhB1abK//xCbKzgk+njSxw7/HAJLzoRJvXfVbZl7K0cbJw7VwUnAY609FToZkSDrwHMqvbVUr4tdieBRg8ZV/ni937Aclwg9tNEVmEBbWUZfuL4A24o9k3KuzJX7c7/TP0Kvwr/fnr1CZrlloUfK3v1pwSOivhQqZWZn6BaH+pue8vVH8Qt1NnHuPvgVyGFzVUYiTqBv9u1nQAEIujSLz7aMWtjbiGhXrpGMEQYGlMAFSBV3zvctfdVg==
Hi there,
I've run into an issue when including <CGAL/IO/OFF_reader.h> multiple times
into my project - the linker complains of multiple definitions of
read_OFF_internal::fill_point.
The issue is similar to this one:
http://cgal-discuss.949826.n4.nabble.com/multiple-definitions-problem-td2528193.html
Looking into the source, it seems read_OFF_internal::fill_point and
read_OFF_internal::resize are not templated or otherwise dodging the
multiple definition problem, so this makes sense. There may be other
functions in this file with the same issue, I'm not sure.
I can work around this by being careful with my #includes, but wanted to
bring it to your attention, since as mentioned earlier there's no existing
way to catch this automatically.
If I encounter this problem with other files, should I also submit to this
email list? Is there a preferred way to address this issue?
Thanks for all of your great work on this project,
David
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Multiple Definitions Error with OFF_reader.h, dlenz, 10/04/2018
Archive powered by MHonArc 2.6.18.