Discussion:
[Openexr-user] Issues when building
Vordok Shimada
2011-09-07 17:50:41 UTC
Permalink
Hi,

I'm trying to build OpenExr-1.6.1 in a Fedora 12 x86-64 system and when
doing make I get this error:

main.cpp: In function ‘int main(int, char**)’:
main.cpp:213: error: ‘strcmp’ was not declared in this scope
make[1]: *** [main.o] Error 1

I have ilmbase and zlib installed. What is wrong here?

Thanks in advance
Piotr Stanczyk
2011-09-07 17:56:49 UTC
Permalink
This is a missing include error.

I am working on getting 1.7.1 out of the door which fixes this and a few other things.

In the meantime, you can either check out the head from CVS or add this line
#include <string.h>
to the file that is causing the failure.


Piore


________________________________
From: openexr-user-bounces+pstanczyk=***@nongnu.org [openexr-user-bounces+pstanczyk=***@nongnu.org] on behalf of Vordok Shimada [***@gmail.com]
Sent: 07 September 2011 10:50
To: openexr-***@nongnu.org
Subject: [Openexr-user] Issues when building

Hi,

I'm trying to build OpenExr-1.6.1 in a Fedora 12 x86-64 system and when doing make I get this error:

main.cpp: In function ‘int main(int, char**)’:
main.cpp:213: error: ‘strcmp’ was not declared in this scope
make[1]: *** [main.o] Error 1

I have ilmbase and zlib installed. What is wrong here?

Thanks in advance

Loading...