Comments (35)
when building the HDF5 libraries on windows, the thread-safe option has more
dependencies and build steps to go through before it can be built successfully.
in the release_docs/INSTALL_Windows.txt file you will find the extra
dependencies and build steps in detail, but essentially you will need
pthreads-win32 library compiled for 64bit.
i am keeping a set of notes of my adventures building on windows, once i get
pthreads-win32 built on windows i will post the necessary information... if any.
Original comment by [email protected]
on 17 Nov 2010 at 8:00
from alembic.
Issue 81 has been merged into this issue.
Original comment by [email protected]
on 17 Nov 2010 at 6:11
from alembic.
you will need to build pthreads from source, the latest source package fails on
windows 64bit. information about the cvs repository can be found here...
http://sourceware.org/pthreads-win32/
i read somewhere that using pthreads on windows doubles the memory usage!? lets
hope its not an issue.
Original comment by [email protected]
on 18 Nov 2010 at 12:53
from alembic.
Hmmm... Perhaps we can evaluate building HDF5 without thread safety. I found
this message, which was intriguing:
http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/2010-March/002802.html
A native hdf5-group solution like this would be ideal, but we definitely
wouldn't want to rely on maintaining our own fork of HDF5.
Original comment by [email protected]
on 18 Nov 2010 at 1:37
from alembic.
Changing priority in relation to 1.0
Original comment by [email protected]
on 20 Nov 2010 at 2:11
- Added labels: Priority-P3
- Removed labels: Priority-NULL
from alembic.
ok, i recently updated from joe's development clone and i am getting this build
error when building AlembicAbcGeom...
.../AbcGeom/OSimpleXform.h(164) : error C2864:
'Alembic::AbcGeom::OSimpleXformSchema::ODefaultedDoubleProperty::SIMPLE_XFORM_DE
LTA_TOLERANCE' : only static const integral data members can be initialized
within a class
a little research into the subject leads me to this...
http://stackoverflow.com/questions/370283/why-cant-i-have-a-non-integral-static-
const-member-in-a-class
there are a few different suggestions, but the suggested the most is to declare
in the header file but define in a source file. i did so and i have made my
first windows specific source code modification, but i dont know if this change
is the proper way to make it portable. i am going to make the google hosted
windows dev clone and push the change to that repo for review.
Original comment by [email protected]
on 22 Nov 2010 at 1:00
from alembic.
i am not sure of the proper way for offsite people to post reviews, any
guidance on the matter would be appreciated. until then, small cmake adjustment
to avoid the 'Command line error D8021 : invalid numeric argument '/Werror' on
windows. i have yet to find the proper windows equivalent, if there even is
one.
https://code.google.com/r/carons-windows/source/detail?r=02f01b748c54ff7e8d5daec
5db84b83145941043
Original comment by [email protected]
on 22 Nov 2010 at 1:24
from alembic.
fix for 'only static const integral data members can be initialized within a
class' error happening on windows. i can compile AlembicAbcGeom now...
https://code.google.com/r/carons-windows/source/detail?r=91852575ce40ccd365c4e3b
1f6c4f9a8140aef17
Original comment by [email protected]
on 22 Nov 2010 at 1:31
from alembic.
'AlembicGLUtil' will need some love to get it compiling out of the box on
windows. i was able to build by changing the includes to point to windows
variants of the header files, copying around some header files, and adding some
additional include directories for glew and glut.
at first glance 'GLUtil\Foundation.h' needs specific windows preprocessor
conditions for the correct include files. also the windows user will need to
get satisfy some dependencies, glew and glut. this information should be added
to the windows build notes. lastly, some additions to the cmake files to add
these include/lib directories to the generated project would help windows
building experience.
Original comment by [email protected]
on 22 Nov 2010 at 3:00
from alembic.
added the preprocessor conditions...
https://code.google.com/r/carons-windows/source/detail?r=205ba36c6384380ae845981
a68db6a2fdbbca253
Original comment by [email protected]
on 22 Nov 2010 at 3:17
from alembic.
Hey, thanks again for the work! I've moved the definition of
SIMPLE_XFORM_DELTA_TOLERANCE outside of the class; there's no real need for it
to be a class member. It's still in OSimpleXform.h, inside the
Alembic::AbcGeom namespace, and has been renamed to
"kSIMPLE_XFORM_DELTA_TOLERANCE".
In the top-level CMakeLists.txt, I've put the compiler directive for "-WError"
to be inside an "IF( NOT WINDOWS )" block, rather than "IF( LINUX )", since
we'll still want that for OS X ("DARWIN").
In GLUtil/Foundation.h, I've added the following:
#ifdef WIN32
#include <GL/wglew.h>
#endif
#ifdef WIN64
#include <GL/wglew.h>
#else
#include <GL/glxew.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#include <GL/glut.h>
#endif // ifdef WIN64
#endif // ifdef PLATFORM_DARWIN
Original comment by [email protected]
on 22 Nov 2010 at 5:21
from alembic.
You can see the changes I've made here:
http://code.google.com/r/ardent-embic/source/detail?r=83782174441eee0e100c06f86c
13c856ce28279f
and here:
http://code.google.com/r/ardent-embic/source/detail?r=8e074a5c8948eef379e2e59eb2
ea206ec296d9d9
Original comment by [email protected]
on 22 Nov 2010 at 5:23
from alembic.
thanks for the review and improvements, i will pull from your repo when i
continue working.
i was able to build all core alembic libraries, but nearly all the tests that
actually use alembic still failed. they are all linker errors and i suspect its
showing me issues with my earlier build steps and/or project settings. i get a
lot of unresolved external symbols and issues with symbols already being
defined in other obj files. lots of work still ahead!
since i am on windows IlmThread doesn't build with pthread/semaphore. is this
an issue? i would assume IlmThread abstracts any differences between threading
in a linux environment and a windows environment, but there maybe lack of
support for certain things with IlmThread on windows? i could be way off base
with this.
Original comment by [email protected]
on 22 Nov 2010 at 7:59
from alembic.
Hey Steve, I wanted to let you know that I've fixed 32-bit support for Alembic.
If you want, pull from my dev clone (ardent-embic), and you'll get it. I'll
probably bring those changes into the main repo today or tomorrow.
But, this means we don't need to work so danged hard to get HDF5 working with
64 bit on Windows :)
Original comment by [email protected]
on 13 Dec 2010 at 6:39
from alembic.
Original comment by [email protected]
on 19 Jan 2011 at 12:16
- Added labels: EstimateInDays-5
from alembic.
Simple question, is this done?
Original comment by [email protected]
on 24 Feb 2011 at 3:04
from alembic.
no its not, sorry. i am no build engineer, so i don't know what the issues are
anymore. i might try with 0.9.2 soon, but i suspect the issue isn't with
alembic but with all its dependencies. making sure they all compile with the
correct configurations.
if you are a developer, maybe you could give it a go with the latest 0.9.2?
Original comment by [email protected]
on 24 Feb 2011 at 6:55
from alembic.
Actually, there's some news on this front! One of the engineers here just
yesterday managed to get everything built on Windows, and all the tests pass.
As intimated, the most difficult part was building HDF5. He's going to clean
up his build setup a bit, then give me a detailed recipe for doing this. I'll
post that to the alembic-discussion list (and here) once I get that.
Original comment by [email protected]
on 24 Feb 2011 at 7:12
from alembic.
ah, great news joe! i wasn't 100% sure it was hdf5 but i had a gut feeling it
was related to threading configurations on the different platforms.
Original comment by [email protected]
on 24 Feb 2011 at 7:21
from alembic.
Excellent, thanks
Original comment by [email protected]
on 25 Feb 2011 at 6:56
from alembic.
Community interest and efforts lead me to think that for 1.0 release we should
make sure the library still builds on windows. I suspect will either just work
or only require small effort (e.g. 1 day)
Original comment by [email protected]
on 7 Jul 2011 at 10:16
- Added labels: EstimateInDays-1, Priority-P1
- Removed labels: EstimateInDays-5, Priority-P3
from alembic.
Original comment by [email protected]
on 8 Jul 2011 at 6:30
- Changed state: InProgress
from alembic.
For 1.0 due to the amount of effort it takes to build on windows we will
rebuild Alembic libraries and the command line tools and maya plugins, Ri
procedural, and houdini plugins (this seems to imply we'll do windows vista and
32 and 64, and maya 2011 and maya 2012 - though I'm guessing for this list). We
want to do something "reasonable".
Original comment by [email protected]
on 11 Jul 2011 at 8:34
- Changed title: Build binaries for windows for 1.0
from alembic.
We are moving this to a milestone 1.1 release item.
Also, I am assigning this to Erik as he was going to follow up with one of our
partners about their well done Windows implementation.
Thanks, Scott
Original comment by [email protected]
on 5 Aug 2011 at 1:14
- Added labels: Milestone-1.1
- Removed labels: Milestone-1.0
from alembic.
Bumping prio, as we need windows build support and community needs this. Joe
had begun this work, spent a week on it, but ultimately did not succeed.
See lots of recent traffic on mailing lists - long thread, but for example:
------
Helge Mathee [email protected] to alembic-discus.
I have changed the repo to
http://code.google.com/r/helgemathee-alembic-softimage/
Original comment by [email protected]
on 24 Aug 2011 at 11:23
- Added labels: EstimateInDays-4, Priority-P0
- Removed labels: EstimateInDays-1, Priority-P1
from alembic.
Original comment by [email protected]
on 24 Aug 2011 at 11:39
from alembic.
Joe was claiming that HDF5 isn't multi thread safe on windows, however I think
he just missed this part on the HDF5 web side under the FAQ:
---
Can I use thread-safe feature on Windows?
Yes, we do support this feature. Please see the details in section "How to
build HDF5 with Thread-Safe Feature", in the document INSTALL_WINDOWS.txt
Original comment by [email protected]
on 24 Aug 2011 at 11:45
- Changed title: Build binaries for windows for 1.0 - also make windows HDF5 calls multithread safe
from alembic.
the 2nd - 5th post on this thread mentions pthreads, its potential to cause
memory consumption to double, and joe's research on the hdf5 list mentioning
someones experimental support for thread safety with out the dependency.
Original comment by [email protected]
on 25 Aug 2011 at 12:03
from alembic.
Original comment by [email protected]
on 26 Aug 2011 at 11:14
- Added labels: Milestone-1.0.1
- Removed labels: Milestone-1.1
from alembic.
Moving to 1.0.2 point/patch release
Original comment by [email protected]
on 12 Sep 2011 at 10:07
- Added labels: Milestone-1.0.2
- Removed labels: Milestone-1.0.1
from alembic.
Moving to 1.0.3. Can move back if we need to.
Original comment by [email protected]
on 27 Sep 2011 at 12:28
- Added labels: Milestone-1.0.3
- Removed labels: Milestone-1.0.2
from alembic.
Original comment by [email protected]
on 25 Oct 2011 at 12:59
- Added labels: Milestone-1.1, Priority-P2
- Removed labels: Milestone-1.0.3, Priority-P0
from alembic.
Original comment by miller.lucas
on 24 Jan 2012 at 1:40
from alembic.
Closing these old tickets out. Please reopen new tickets if they are relevant
to you and not completed satisfactorily.
Original comment by [email protected]
on 4 Jun 2012 at 5:53
- Changed state: Done
- Now blocking: #87
from alembic.
Original comment by miller.lucas
on 13 Sep 2013 at 6:00
from alembic.
Related Issues (20)
- Deduplication of vertex normal attributes HOT 11
- Animated meshes w/SubDivisionMesh boolean attribute: creases not restored upon import in Maya HOT 4
- Crash in AbcExport, nHair and Maya 2013 HOT 5
- build fail on linux x86_64 platform HOT 3
- shadingGroup per faceSet not rendered HOT 4
- AbcExport Should util::isAnimated skip shadingEngines? HOT 2
- When building alembic with a specific library path, alembic still attempts to use system-level libGLEW.
- AbcView - 1.0.7 doesn't show param values when array length is not > 1 HOT 4
- cask doesn't support all types that Alembic supports HOT 6
- cask: Archives written by cask treats every frame as one second HOT 5
- Check CoreType from Python HOT 2
- Maya Export Import Nurbs with periodic form issue HOT 6
- cask: New archives treat every frame as one second HOT 3
- Compiling and Linking Boost.Thread 1.44 with Alembic HOT 2
- Allow ability to specify explicit install location HOT 1
- Maya: Add namespace on import HOT 3
- Compile Alembic 1.5.5 on Windows 8 MSVC 12 2013 64-bit statically, missing members in AlembicAbcGeom HOT 2
- 0yne HOT 1
- integrate Alembic in c++ application using gcc 4.8 and std=c++11 HOT 2
- Import - Merge but ignore uvs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alembic.