[Radiance-general] dxf2rad
Tom Young
thdyoung at mac.com
Wed Oct 24 02:49:41 PDT 2007
hi Iebele
That worked great.
Very nice.
big thanks.
Tom
On 23 Oct 2007, at 19:28, iebele wrote:
> Hi Tom,
>
> I think Rob is right.
> If you don't solve it with Rob's suggestion, try these:
>
> http://www.toren.com/radiance/dxfimport_so_tom.h
> http://www.toren.com/radiance/dxfimport_so_tom.cpp
>
> Also you should use g++ instead of gcc, sorry for that, like this:
>
> # g++ -o tom dxfimport_so_tom.cpp
>
> And to test it:
> # ./tom
>
> Good luck,
>
> Iebele
>
>> Tom Young wrote:
>>
>>> thanks Iebele
>>>
>>> <<gcc -o dxfimport dxfimport_so.cpp dxf1.dxf
>>> In file included from dxfimport_so.cpp:13:
>>> dxfimport_so.h:12:20: error: malloc.h: No such file or directory>>
>>>
>>> I should say that I'm no geek.
>>>
>>> I did man gcc and the page went on forever!
>>>
>>> I don't understand what the two arguments of this gcc app are doing.
>>>
>>> I appreciate your making them available but don't understand
>>> what's to be done.
>>>
>>> Am I generating a usable OSX script to be shebanged or put into
>>> the Path to use from Terminal ? If so where is that script ?
>>
>> That error makes me think you have gcc installed on your machine,
>> but not all of the libraries. Have you done a full install of
>> Xcode? Make sure that's been done first, then you may also need
>> to run this as root (do you know about the sudo command, which
>> runs things as root?). After it's been compiled (yes, gcc is a
>> compiler so it's not making a script but an actual executable),
>> you will move the binary to /usr/local/bin with all the other
>> Radiance binaries (you would do this with sudo too, i.e. "sudo mv
>> dxfimport /usr/local/bin"). sudo will ask you for the
>> administrative password, which you likely set up when you set up
>> your Mac initially. Hope this helps (and does not hurt)!
>>
>> - Rob Guglielmetti
>> www.rumblestrip.org
>>
>> _______________________________________________
>> Radiance-general mailing list
>> Radiance-general at radiance-online.org
>> http://www.radiance-online.org/mailman/listinfo/radiance-general
>>
>>
>
>
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
Tom Young Architects
19 Bassett Street
London
NW5 4PG
020 7482 6150
07765 378 502
thdyoung at mac.com
http://homepage.mac.com/thdyoung/FileSharing1.html
http://localstinker.blogspot.com/
http://www.localstink.com/rktat/index.html
More information about the Radiance-general
mailing list