Comments (6)
Did you try to add -DHAVE_CONFIG_H
to compilation flags? If everything works fine, we can add this flag on Win32 too.
from oce.
ping? I would like to remove #ifdef HAVE_CONFIG_H
from inc/*.hxx files (but not src/, this is unnecessary) to let them unconditionnally include oce-config.h, it is extremely annoying to still have to set -DHAVE_CONFIG_H
when compiling a program using OCE.
from oce.
I'll try this this evening !
2011/7/29 dbarbier
[email protected]:
ping? I would like to remove
#ifdef HAVE_CONFIG_H
from inc/*.hxx files (but not src/, this is unnecessary) to let them unconditionnally include oce-config.h, it is extremely annoying to still have to set-DHAVE_CONFIG_H
when compiling a program using OCE.Reply to this email directly or view it on GitHub:
#15 (comment)
from oce.
Please test review/unconditionnaly-include-config-file branch.
from oce.
it builds on MSVC.
There are still some things to do before closing the bug:
- not all defines are really defined
- no define is defined in the "installed" config.h
- there are still HAVE_CONFIG_H checks in the cpp files
- the FULL installation path is taken in the OCE_CONFIG.h : this is not really good in windows since the binaries must be allowed to be installed on different paths
(this is used here and there to define casroot).
This last point is releated to #2
from oce.
I am closing this issue, changes have been committed recently. I guess that there are still issues, but it is better to file specific bug reports.
from oce.
Related Issues (20)
- pthread issues during build on EC2 instance (Amazon Linux 2) HOT 2
- Build oce on MacOsX and RPATH HOT 1
- occt 7.2/7.4 build error: cannot find -lXmu HOT 2
- occt 7.2 build: xlocale.h not found HOT 1
- RWGltf_Writer class is missing
- Request: Add a filetype support table to your documentation
- tkvcaf?
- Confusing documentation for gp::XOY.
- ADD RapidJSON
- Maybe a memory leak in Standard.cxx HOT 3
- How does opencascae get the entity of the profile view HOT 1
- How does opencascade realize partial cut-away view and broken view?
- Installs libraries without SONAME
- OCCT version
- Issue when building - /usr/bin/ld : cannot find -lXi HOT 4
- Oce/Occ versions
- BRepOffsetAPI_MakePipeShell 构建放样实体存在问题 HOT 2
- Error: no image library available ( freeimage ) HOT 2
- [question] is this repo still maintained? (seems now to be behind OCCT) HOT 2
- [Question] How to perform a glVertex3d(x,y,z) ? 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 oce.