Jump to page: 1 2
Thread overview
building OpenMesh/D
Sep 26, 2007
Jilani
Sep 26, 2007
jilani
Sep 26, 2007
Bill Baxter
Sep 26, 2007
Bill Baxter
Sep 26, 2007
Bill Baxter
Sep 27, 2007
Jilani
Sep 27, 2007
Bill Baxter
Sep 27, 2007
Jilani
Sep 27, 2007
Jilani
Sep 27, 2007
Bill Baxter
Sep 27, 2007
jilani
Sep 27, 2007
Bill Baxter
Sep 28, 2007
Bill Baxter
Sep 28, 2007
jilani
September 26, 2007
I have tried to build OpenMesh/D but in vain. I did (from the dos command line):
dsss build
But the sytem (*), after a while, hangs infinetely with 100% CPU usage. What
am I missing?
Thank you.
Ji

(*)
- Intel P4 2.4 GH with  512 MB of RAM
- Windows 2000 Pro
- dmd 1.021
September 26, 2007
Jilani wrote:

> I have tried to build OpenMesh/D but in vain. I did (from the dos command
> line): dsss build
> But the sytem (*), after a while, hangs infinetely with 100% CPU usage.
> What am I missing?
> Thank you.
> Ji
> 
> (*)
> - Intel P4 2.4 GH with  512 MB of RAM
> - Windows 2000 Pro
> - dmd 1.021

I recently had a problem similar to this. Upgrading DSSS to the latest version fixed it if I recall correctly.
September 26, 2007
I have the last one (V-0.72.1).
An other hint?
Thanks.
Jilani
September 26, 2007
Jilani wrote:
> I have tried to build OpenMesh/D but in vain. I did (from the dos command line):
> dsss build
> But the sytem (*), after a while, hangs infinetely with 100% CPU usage. What
> am I missing?
> Thank you.
> Ji
> 
> (*)
> - Intel P4 2.4 GH with  512 MB of RAM
> - Windows 2000 Pro
> - dmd 1.021

I think I can confirm that.  Did you get the big linker line to print out first?  That's what I get, then it seems to hang.

My advice would be to not attempt to compile it as a .lib.
It's almost completely templates anyway, so there's not much the compiler can know to instantiate.  I just check in a change that makes it a dsss sourcelibrary rather than library.  So now dsss build will work (but it won't really do much :-)

I actually haven't tried to build it as a lib for a while.  Thanks for pointing it out.

Instead you should try compiling the demo programs in OpenMesh/Apps ... but looks like those have been broken by some recent changes I made. Hang on a bit while I fix those.

--bb
September 26, 2007
Bill Baxter wrote:
> Jilani wrote:
>> I have tried to build OpenMesh/D but in vain. I did (from the dos command line):
>> dsss build
>> But the sytem (*), after a while, hangs infinetely with 100% CPU usage. What
>> am I missing?
>> Thank you.
>> Ji
>>
>> (*)
>> - Intel P4 2.4 GH with  512 MB of RAM
>> - Windows 2000 Pro
>> - dmd 1.021
> 
> I think I can confirm that.  Did you get the big linker line to print out first?  That's what I get, then it seems to hang.
> 
> My advice would be to not attempt to compile it as a .lib.
> It's almost completely templates anyway, so there's not much the compiler can know to instantiate.  I just check in a change that makes it a dsss sourcelibrary rather than library.  So now dsss build will work (but it won't really do much :-)
> 
> I actually haven't tried to build it as a lib for a while.  Thanks for pointing it out.
> 
> Instead you should try compiling the demo programs in OpenMesh/Apps ... but looks like those have been broken by some recent changes I made. Hang on a bit while I fix those.

Ok, should be fixed now.  The OpenMesh/Apps/Decimating should build out of the box.
The GLViewer example depends on the dead Helix project for Quaternion and Matrix44 (http://www.dsource.org/helix).

I should probably write some Quaternion / Matrix templates that work together nicely with the open mesh Vector class...

--bb
September 26, 2007
Tomas Lindquist Olsen wrote:
> Jilani wrote:
> 
>> I have tried to build OpenMesh/D but in vain. I did (from the dos command
>> line): dsss build
>> But the sytem (*), after a while, hangs infinetely with 100% CPU usage.
>> What am I missing?
>> Thank you.
>> Ji
>>
>> (*)
>> - Intel P4 2.4 GH with  512 MB of RAM
>> - Windows 2000 Pro
>> - dmd 1.021
> 
> I recently had a problem similar to this. Upgrading DSSS to the latest
> version fixed it if I recall correctly.

There is definitely still a hanging bug in .72.1.  Gregor said that it's fixed the not-yet-released 0.73.   (The bug I'm talking about comes from failing to close or properly balance nested constructs like parentheses.)

But anyway those hangs usually happen before any linker line appears, probably during dsss's initial scan to find imports.

This seems to be happening after, so I'm not sure what it could be.

I just tried building the docs, though (dsss build --docs), and apparently '--docs' makes dsss revert to trying to build a .lib.  Not sure if that's from necessity or just a bug.  I suspect the latter, because I think dmd generate docs one-file-at-a-time without building a lib.
--bb
September 27, 2007
> Ok, should be fixed now.  The OpenMesh/Apps/Decimating should build out of the box.
But it is a 3.2 GB exec file! Why is it so fat?
Jilani

September 27, 2007
Jilani wrote:
>> Ok, should be fixed now.  The OpenMesh/Apps/Decimating should build out of the box.
> But it is a 3.2 GB exec file! Why is it so fat?
> Jilani
> 

I think you mean 3.2 _MB_.  Big difference.  :-)

It's huge because debugging symbols are on.
Building it with
    buildflags=-O -inline -release
I get a 381 KB exe.

--bb

September 27, 2007
> I think you mean 3.2 _MB_.  Big difference.  :-)
Yes, yes.

> It's huge because debugging symbols are on.
> Building it with
>      buildflags=-O -inline -release
> I get a 381 KB exe.
That's ok now. Thank you :-)
Is there any chance to get GLViewer compiled?
Jilani

September 27, 2007
> I think you mean 3.2 _MB_.  Big difference.  :-)
Yes, yes.

> It's huge because debugging symbols are on.
> Building it with
>      buildflags=-O -inline -release
> I get a 381 KB exe.
That's ok now. Thank you :-)
Is there any chance to get GLViewer compiled?
Jilani

« First   ‹ Prev
1 2