You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm afraid I haven't tested this library enough on such heavy usages. I just ported libHaru to iOS and libHaru is not dedicated to the mobile usage so it could cause some memory issue when you parse such a large document.
I am using the same library for in my iOS application.I have put both folder libPNG and libHaru folder.But as i try to build its failed with this error
"duplicate symbol _main in:pngtest.c" ld: 1 duplicate symbol for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could you please help me where i doing wrong or what exactly i missed ......
@kamarshad the compiler error you mentioned is caused when there is multiple source files or libraries which defines the same symbol. In this case, there must be a function named _main in your project, that is conflicting with _main function of the pngtest.c in libPNG.
Activity
akisute commentedon Dec 8, 2012
I'm afraid I haven't tested this library enough on such heavy usages. I just ported libHaru to iOS and libHaru is not dedicated to the mobile usage so it could cause some memory issue when you parse such a large document.
kamarshad commentedon Jun 26, 2014
Hi akisute ,
I am using the same library for in my iOS application.I have put both folder libPNG and libHaru folder.But as i try to build its failed with this error
"duplicate symbol _main in:pngtest.c" ld: 1 duplicate symbol for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could you please help me where i doing wrong or what exactly i missed ......
Thanks
akisute commentedon Jun 26, 2014
@kamarshad the compiler error you mentioned is caused when there is multiple source files or libraries which defines the same symbol. In this case, there must be a function named
_mainin your project, that is conflicting with _main function of the pngtest.c in libPNG.