rdmenezes / ifcplusplus

Automatically exported from code.google.com/p/ifcplusplus
Other
0 stars 0 forks source link

Rendering result incorrect for I-beams in ubuntu #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Under Ubuntu 12.04, compile using cmake
2. Load the attached ifc file

What is the expected output? What do you see instead?
Output is attached (Screenshot_ubuntu.png). Expected output is also attached 
(Screenshot_windows.png). It is produced by loading the same file using the 
windows version (http://www.ifcplusplus.com/download/IfcPlusPlusViewer.zip)

What version of the product are you using? On what operating system?
r23 on Ubuntu 12.04

Please provide any additional information below.

Original issue reported on code.google.com by lizhi...@gmail.com on 4 Aug 2014 at 6:18

Attachments:

GoogleCodeExporter commented 9 years ago
I don't have a debugging environment for Linux, so I can't fix it.
If you use Linux and if your'e able to find the reason why the profiles are not 
correct under Linux, I would be happy if you could share your solution.

Original comment by fabian.g...@gmail.com on 4 Aug 2014 at 10:17

GoogleCodeExporter commented 9 years ago
Thanks for the reply! Well I'm not really sure if it's a platform problem or a 
version problem, since I don't have a debugging environment for Windows right 
now (sorry) and I used the pre-compiled version of viewer on Windows. I'll try 
find time to compile it on windows (perhaps).

Original comment by lizhi...@gmail.com on 4 Aug 2014 at 10:27

GoogleCodeExporter commented 9 years ago
I thought the problem happens only on Linux. Why would you need a debugging 
environment for Windows then? I have one under Windows, and the example file 
loads without any problems.

Original comment by fabian.g...@gmail.com on 5 Aug 2014 at 7:52

GoogleCodeExporter commented 9 years ago
Hi,
For what is worth: attached is a screen capture on OSX, displaying a correct 
import of the profiles. It uses IFC++ from 
https://github.com/VTREEM/IFCPlusPlus2 which is based on revision 20 plus 
adaptations to make it work on non Windows systems.

Original comment by sylvain....@vtreem.com on 5 Aug 2014 at 7:59

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Sylvain,
did you also try to build an unmodified version of IFC++ from this repository 
on OSX? If so, does the file above load correctly?

Original comment by fabian.g...@gmail.com on 6 Aug 2014 at 10:00

GoogleCodeExporter commented 9 years ago
Hi Fabian,
The IFC++ GoogleCode repository doesn't build "out of the box" on OSX because 
of the Clang compiler (this triggered the creation of the Github repository, 
and specifically the Clang branch: 
https://github.com/VTREEM/IFCPlusPlus2/commits/CLang )

BTW, you could merge the few changes (mainly #defines for Clang, and the 
infamous std::abs() trap) back into the google code repository, so that it 
compiles on Debian, Win32, and OSX :-))

Original comment by sylvain....@vtreem.com on 22 Aug 2014 at 9:24