Comments (10)
@ZeroCrunch @francis-brissette This fix is on the develop branch, thanks Jamie!
from openexr.
Is there a way to manually generate all the needed files?
from openexr.
I figure it out. Still a workaround, though.
cd IlmBase/Half/
g++ eLut.cpp -o eLut && ./eLut > eLut.h
g++ toFloat.cpp -o toFloat && ./toFloat > toFloat.h
*compile IlmBase*
cd OpenEXR/IlmImf/
g++ b44ExpLogTable.cpp -o b44ExpLogTable -pthread -I../../IlmBase/Half/ ../../IlmBase/Half/libHalf.a ../../IlmBase/Iex/libIex-2_1.a ../../IlmBase/IlmThread/libIlmThread-2_1.a
./b44ExpLogTable > b44ExpLogTable.h
./b44ExpLogTable > ../b44ExpLogTable.h
from openexr.
I have the same issue with Ninja on Window:
cd openexr\IlmBase
mkdir build
cd build
cmake .. -G Ninja
cmake --build .
Output:
ninja: error: 'Half/toFloat.h', needed by 'Half/CMakeFiles/Half.dir/half.cpp.obj', missing and no known rule to make it
Anyone have a fix?
from openexr.
Anyone managed to get this working?
from openexr.
@ZeroCrunch ,
In openexr/IlmBase/Half/CMakeLists.txt, I updated the code to the followin:g:
...
SET_SOURCE_FILES_PROPERTIES(
half.cpp
PROPERTIES
OBJECT_DEPENDS
toFloat
OBJECT_DEPENDS
eLut
)
IF(BUILD_SHARED_LIBS)
ADD_DEFINITIONS(-DHALF_EXPORTS)
ENDIF()
ADD_LIBRARY ( Half ${LIB_TYPE}
half.cpp
)
INSTALL ( TARGETS
Half
DESTINATION
lib
)
...
It worked on my side.
Cheers,
Francis
from openexr.
This looks like the correct fix to me - it would be a good PR.
from openexr.
What worked for me in the end was:
PROPERTIES
OBJECT_DEPENDS
"${CMAKE_CURRENT_BINARY_DIR}/toFloat.h;${CMAKE_CURRENT_BINARY_DIR}/eLut.h"
from openexr.
@meshula, will you take care of this bug & fix?
from openexr.
Looking into the backlog of open OpenEXR issues. This seems to have been resolved in the v2.3.0 release.
Closing the issue for now, feel free to re-open or file a new issue if you need further help.
from openexr.
Related Issues (20)
- MacPorts deprecation needs to be removed HOT 2
- OpenEXR - Python IntelliSense HOT 5
- Imath - Remove Enumerated Class and replace with Enum Class HOT 1
- Unable to build openexr with python bindings via cmake HOT 4
- Delete empty classic board HOT 1
- ImportError: /home/mona/Downloads/blender-3.5.1-linux-x64/3.5/python/lib/python3.10/site-packages/OpenEXR.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZTIN13IlmThread_3_14TaskE
- Imf library missing? HOT 1
- CVE-2023-5841: […] Heap Overflow in Scanline Deep Data Parsing HOT 6
- testDWAACompression failed with 3.1.11 under aarch64
- GCC 14 exrcheck -c error HOT 1
- CompressionAttribute::readValueFrom() should use isValidCompression()? HOT 2
- PR 1634 broke bad tile error detection
- SonarCloud Analysis broken by recent update to sonar-scanner HOT 3
- Allow multithreading in python
- About 3.2.126 release HOT 7
- exrenvmap: observed imprecise conversion of cubemap to lat/lon HOT 11
- Provide an API using numpy arrays in python HOT 11
- An integer overflow in file exrmultipart.cpp HOT 3
- Incorrect Values When Reading DWA Compressed Layer With OpenEXRCore HOT 10
- understanding openEXR's 3D coordinate system HOT 7
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 openexr.