Skip to content

Commit 3035198

Browse files
committed
Fix FTBFS on ARM introduced in PR #103
PR #103 tried to fix a linking issue in Visual Studio 2013 on Windows 7. It added multiple explicit template instantiations which violates the standard and results in failure to build from source on ARM. Further testing failed to reproduce the linking issue with Visual Studio 2013 on Windows 8.1. Thus this commit removes the explicit template instantiations.
1 parent 2794f3c commit 3035198

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

examples/protonect/include/libfreenect2/depth_packet_processor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ struct LIBFREENECT2_API DepthPacket
4444
size_t buffer_length;
4545
};
4646

47-
// explicit instantiation and export to make vsc++ happy
48-
template class LIBFREENECT2_API PacketProcessor<DepthPacket>;
4947
typedef PacketProcessor<DepthPacket> BaseDepthPacketProcessor;
5048

5149
class LIBFREENECT2_API DepthPacketProcessor : public BaseDepthPacketProcessor

examples/protonect/include/libfreenect2/rgb_packet_processor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ struct LIBFREENECT2_API RgbPacket
4545
size_t jpeg_buffer_length;
4646
};
4747

48-
// explicit instantiation and export to make vsc++ happy
49-
template class LIBFREENECT2_API PacketProcessor<RgbPacket>;
5048
typedef PacketProcessor<RgbPacket> BaseRgbPacketProcessor;
5149

5250
class LIBFREENECT2_API RgbPacketProcessor : public BaseRgbPacketProcessor

0 commit comments

Comments
 (0)