Discussion:
[Openexr-user] OpenEXR for amd64 platform
veerendra singh
2007-10-10 11:16:29 UTC
Permalink
Hi guys, I tried to find information about how to build OpenEXR for
amd64-bit platform when I could not find any precompiled libs for the same.
But unfortunately, I did not come across any correspondence regarding the
same. Then, I downloaded the source for OpenEXR and Ilmbase and tried to
build it with Visual studio 5, but I found that even they do not have a
inbuilt x64 bit configuration. Furthermore, when I tried to create a x64
config, I got loads of errors. Is there something that I missed here or is
it something people normally dont do?

Thanks,
Veerendra
Florian Kainz
2007-10-10 17:55:54 UTC
Permalink
Hi Veerendra,

OpenEXR will not compile with Visual studio 5 on any platform;
you'll need Visual Studio 7 or 8. OpenEXR makes extensive use
of templates; template support in Visual C++ and earlier is
insufficient.

Florian
Post by veerendra singh
Hi guys, I tried to find information about how to build OpenEXR for
amd64-bit platform when I could not find any precompiled libs for the
same. But unfortunately, I did not come across any correspondence
regarding the same. Then, I downloaded the source for OpenEXR and
Ilmbase and tried to build it with Visual studio 5, but I found that
even they do not have a inbuilt x64 bit configuration. Furthermore, when
I tried to create a x64 config, I got loads of errors. Is there
something that I missed here or is it something people normally dont do?
Thanks,
Veerendra
------------------------------------------------------------------------
_______________________________________________
Openexr-user mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-user
veerendra singh
2007-10-11 05:37:20 UTC
Permalink
Ohh sorry for the misunderstanding, by Visual Studio 5, I meant Visual
Studio 2005 i.e. Visual Studio 8.Thanks.
Post by Florian Kainz
Hi Veerendra,
OpenEXR will not compile with Visual studio 5 on any platform;
you'll need Visual Studio 7 or 8. OpenEXR makes extensive use
of templates; template support in Visual C++ and earlier is
insufficient.
Florian
Post by veerendra singh
Hi guys, I tried to find information about how to build OpenEXR for
amd64-bit platform when I could not find any precompiled libs for the
same. But unfortunately, I did not come across any correspondence
regarding the same. Then, I downloaded the source for OpenEXR and
Ilmbase and tried to build it with Visual studio 5, but I found that
even they do not have a inbuilt x64 bit configuration. Furthermore, when
I tried to create a x64 config, I got loads of errors. Is there
something that I missed here or is it something people normally dont do?
Thanks,
Veerendra
------------------------------------------------------------------------
_______________________________________________
Openexr-user mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-user
Michael Wolf
2007-10-11 08:37:33 UTC
Permalink
On Thu, 11 Oct 2007 07:37:20 +0200, veerendra singh <***@gmail.com> wrote:

Hello Veerendra,
Post by veerendra singh
Ohh sorry for the misunderstanding, by Visual Studio 5, I meant Visual
Studio 2005 i.e. Visual Studio 8.Thanks.
Did the 32bit version build properly?
If not check your paths, they need to be as documented.

If it does, maybe you could post some of the errors you get.

I've got the 64bit version compiled here without problems, but I use different settings as I require static libs.

Cheers,
Mike
Post by veerendra singh
Post by veerendra singh
Hi guys, I tried to find information about how to build OpenEXR for
amd64-bit platform when I could not find any precompiled libs for the
same. But unfortunately, I did not come across any correspondence
regarding the same. Then, I downloaded the source for OpenEXR and
Ilmbase and tried to build it with Visual studio 5, but I found that
even they do not have a inbuilt x64 bit configuration. Furthermore, when
I tried to create a x64 config, I got loads of errors. Is there
something that I missed here or is it something people normally dont do?
Thanks,
Veerendra
--
db&w Bornemann & Wolf GbR
Dagmar Bornemann, Michael Wolf
Seyffer Str. 34
70197 Stuttgart
Germany

http://www.db-w.com
http://www.infinimap.com
tel: +49 (711) 664 525-0
fax: +49 (711) 664 525-1
icq: 252887990
skype: lupus_lux
Florian Kainz
2007-10-23 18:01:21 UTC
Permalink
I don't have a system to test with 64-bit Windows / Visual Studio, but the
code does work on the 32-bit version of Windows, as well as with 64-bit Linux.
What kinds of errors do you get?
Post by veerendra singh
Ohh sorry for the misunderstanding, by Visual Studio 5, I meant Visual
Studio 2005 i.e. Visual Studio 8.Thanks.
Hi Veerendra,
OpenEXR will not compile with Visual studio 5 on any platform;
you'll need Visual Studio 7 or 8. OpenEXR makes extensive use
of templates; template support in Visual C++ and earlier is
insufficient.
Florian
Post by veerendra singh
Hi guys, I tried to find information about how to build OpenEXR for
amd64-bit platform when I could not find any precompiled libs for the
same. But unfortunately, I did not come across any correspondence
regarding the same. Then, I downloaded the source for OpenEXR and
Ilmbase and tried to build it with Visual studio 5, but I found that
even they do not have a inbuilt x64 bit configuration.
Furthermore, when
Post by veerendra singh
I tried to create a x64 config, I got loads of errors. Is there
something that I missed here or is it something people normally
dont do?
Post by veerendra singh
Thanks,
Veerendra
------------------------------------------------------------------------
Post by veerendra singh
_______________________________________________
Openexr-user mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-user
veerendra singh
2007-11-19 08:42:32 UTC
Permalink
hi there.. sorry for replying late..I was away for vacations and also gave
it a try myself to make it work. but the problem I am having starts when I
build ilmbase lib after CreateDLL, I set all the paths correctly.but the
problem appears in post-build event. I guess createDLL is designed to work
tightly with 32bit system, bcoz i get the following build output in visual
studio 2005 when i build project Half after successfully building CreateDLL
project,

:
:
:
CreateDLL v1.1
1>CreateDLL found 63 symbols
1>Exporting DLL
1>Release\half.obj : fatal error LNK1112: module machine type 'x64'
conflicts with target machine type 'X86'
1>createDLL: linking success
1>Installing into Release
1> 1 file(s) copied.
1> 1 file(s) copied.
:
:
:

I don't know what had caused this error, could you please shed some light on
it?

-Thanks

PS: Is it possible for you guys to include a solution file for ilmbase and
openEXR libs, that include a 64bit configuration, coz it might be possible
that we forget certain settings when creating x64 config in visual studio.
Post by Florian Kainz
I don't have a system to test with 64-bit Windows / Visual Studio, but the
code does work on the 32-bit version of Windows, as well as with 64-bit Linux.
What kinds of errors do you get?
Post by veerendra singh
Ohh sorry for the misunderstanding, by Visual Studio 5, I meant Visual
Studio 2005 i.e. Visual Studio 8.Thanks.
Hi Veerendra,
OpenEXR will not compile with Visual studio 5 on any platform;
you'll need Visual Studio 7 or 8. OpenEXR makes extensive use
of templates; template support in Visual C++ and earlier is
insufficient.
Florian
Post by veerendra singh
Hi guys, I tried to find information about how to build OpenEXR
for
Post by veerendra singh
Post by veerendra singh
amd64-bit platform when I could not find any precompiled libs for
the
Post by veerendra singh
Post by veerendra singh
same. But unfortunately, I did not come across any correspondence
regarding the same. Then, I downloaded the source for OpenEXR and
Ilmbase and tried to build it with Visual studio 5, but I found
that
Post by veerendra singh
Post by veerendra singh
even they do not have a inbuilt x64 bit configuration.
Furthermore, when
Post by veerendra singh
I tried to create a x64 config, I got loads of errors. Is there
something that I missed here or is it something people normally
dont do?
Post by veerendra singh
Thanks,
Veerendra
------------------------------------------------------------------------
Post by veerendra singh
Post by veerendra singh
_______________________________________________
Openexr-user mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-user
veerendra singh
2007-11-21 10:59:12 UTC
Permalink
Could somebody please shed some light on this. I am having a tough time
building OpenEXR with win64.Thanks
Post by veerendra singh
hi there.. sorry for replying late..I was away for vacations and also gave
it a try myself to make it work. but the problem I am having starts when I
build ilmbase lib after CreateDLL, I set all the paths correctly.but the
problem appears in post-build event. I guess createDLL is designed to work
tightly with 32bit system, bcoz i get the following build output in visual
studio 2005 when i build project Half after successfully building CreateDLL
project,
CreateDLL v1.1
1>CreateDLL found 63 symbols
1>Exporting DLL
1>Release\half.obj : fatal error LNK1112: module machine type 'x64'
conflicts with target machine type 'X86'
1>createDLL: linking success
1>Installing into Release
1> 1 file(s) copied.
1> 1 file(s) copied.
I don't know what had caused this error, could you please shed some light
on it?
-Thanks
PS: Is it possible for you guys to include a solution file for ilmbase and
openEXR libs, that include a 64bit configuration, coz it might be possible
that we forget certain settings when creating x64 config in visual studio.
Post by Florian Kainz
I don't have a system to test with 64-bit Windows / Visual Studio, but the
code does work on the 32-bit version of Windows, as well as with 64-bit Linux.
What kinds of errors do you get?
Post by veerendra singh
Ohh sorry for the misunderstanding, by Visual Studio 5, I meant Visual
Studio 2005 i.e. Visual Studio 8.Thanks.
Hi Veerendra,
OpenEXR will not compile with Visual studio 5 on any platform;
you'll need Visual Studio 7 or 8. OpenEXR makes extensive use
of templates; template support in Visual C++ and earlier is
insufficient.
Florian
Post by veerendra singh
Hi guys, I tried to find information about how to build OpenEXR
for
Post by veerendra singh
Post by veerendra singh
amd64-bit platform when I could not find any precompiled libs
for the
Post by veerendra singh
Post by veerendra singh
same. But unfortunately, I did not come across any
correspondence
Post by veerendra singh
Post by veerendra singh
regarding the same. Then, I downloaded the source for OpenEXR
and
Post by veerendra singh
Post by veerendra singh
Ilmbase and tried to build it with Visual studio 5, but I found
that
Post by veerendra singh
Post by veerendra singh
even they do not have a inbuilt x64 bit configuration.
Furthermore, when
Post by veerendra singh
I tried to create a x64 config, I got loads of errors. Is there
something that I missed here or is it something people normally
dont do?
Post by veerendra singh
Thanks,
Veerendra
------------------------------------------------------------------------
Post by veerendra singh
Post by veerendra singh
_______________________________________________
Openexr-user mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-user
Continue reading on narkive:
Loading...