Tereius / libONVIF

Yet another ONVIF library
GNU General Public License v3.0
164 stars 47 forks source link

Cmake compiler error : soapC.cpp.obj 'File too big' #5

Closed bknhatice closed 3 years ago

bknhatice commented 3 years ago

Hi,

cd after cmake commend. But error: Fatal error: can't write 139 bytes to section .text of CMakeFiles\onvifcommon.dir\generated\soapC.cpp.obj: 'File too big' CMakeFiles\onvifcommon.dir\generated\soapC.cpp.obj: too many sections

can you help me ? Thank you.

Tereius commented 3 years ago

Hi,

it would be very helpful if you would provide more details concerning the compiler, os (32 bit or 64 bit), architecture, a complete log file. Remember you can change the compiler/linker flags by setting: CMAKE_CXX_FLAGS, CMAKE_SHARED_LINKER_FLAGS. Perhaps you have to experiment with those flags as suggested here.