mrdekk / coral-repo

Automatically exported from code.google.com/p/coral-repo
0 stars 0 forks source link

Ubuntu 32bit build - changes required #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Build coral on 32bit Ubuntu 10.04
2.
3.

What is the expected output?
Build as expected as on 64bit Ubuntu 64bit

What do you see instead?
Build failure

What version of the product are you using? On what operating system?

Please provide any additional information below.
On the 32bit OS, malloc calls requires #include <stdlib.h>

Modified file attached

Original issue reported on code.google.com by Yue.Nich...@gmail.com on 4 Dec 2011 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
Interesting. If you add <stdlib.h> manually, coral can be built?

Because I'm not sure coral can be compiled on 32bit platform... :(

Original comment by dorian.f...@gmail.com on 4 Dec 2011 at 6:19

GoogleCodeExporter commented 9 years ago
Yes, the patch will allow Coral to build.

FYI, I have successfully build and run (samples run at a good interactive 
speed) on a circa 2003 laptop with 512MB RAM and some old Radeon ATI graphics 
card.

This gives me confidence that the core of Coral is not some bloat ware and the 
architecture/design thus far is sound :-)

Original comment by Yue.Nich...@gmail.com on 4 Dec 2011 at 10:30

GoogleCodeExporter commented 9 years ago
Commited in 
https://code.google.com/p/coral-repo/source/detail?r=57983b8d0645720782a2ea66140
e5e185ac19b06

stdlib.h seems to be from C (malloc etc...), maybe Andrea will have a better 
idea...

Anyway, everything seems to work. :)

Original comment by dorian.f...@gmail.com on 6 Dec 2011 at 8:29