View previous topic :: View next topic |
Author |
Message |
hotzenplotz
Joined: 25 Mar 2006 Posts: 15
|
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Sun Jun 18, 2006 10:22 am Post subject: Re: Problems with Harmonia & Build |
|
|
There is not information in your report for me to even guess at what's happening. Please try to give all the details that are relevent.
For example, the AssertError you have - is in Build itself or an executable created via Build? If in Build, what file and line number is it. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
hotzenplotz
Joined: 25 Mar 2006 Posts: 15
|
Posted: Mon Jun 19, 2006 11:00 am Post subject: |
|
|
Sorry It is the executable. Fact is if I compile the same code in the older version it works. What infos do you need else? You can test it by yourself if you have the time. http://harmonia.terrainformatica.com/ example hello world. It wasn't this code but I think with this code it don't work too. |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Mon Jun 19, 2006 7:54 pm Post subject: |
|
|
hotzenplotz wrote: | Sorry It is the executable. Fact is if I compile the same code in the older version it works. What infos do you need else? You can test it by yourself if you have the time. http://harmonia.terrainformatica.com/ example hello world. It wasn't this code but I think with this code it don't work too. |
I'd love to test it, but I've just spent the last 30 minutes trying to work how how to download a copy of harmonia and still can't understand how to do it. Why isn't there a simple "DOWNLOAD" button on the Harmonia web site?
Ok, so how does one get a copy of harmonia... anyone ... ? _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Mon Jun 19, 2006 8:17 pm Post subject: |
|
|
It's an svn checkout so try something like this in a win32 console:
Code: | c:\>mkdir harmonia
c:\>cd harmonia
c:\harmonia>svn co svn://harmonia.dyndns.org .
|
Make sure you have the "period" after the svn command above so that the checkout goes to the current directory.
-JJR |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Tue Jun 20, 2006 12:33 am Post subject: |
|
|
Found it!
Build creates a response file for the linker and places the linker switches on a separate line in that file. It turns out that if I append the switches to the last line rather than placing them on a separate line, the hello2.d program compiles and runs.
This is one weird linker.
Try using Build with the -R=no switch so it doesn't use a response file. _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
hotzenplotz
Joined: 25 Mar 2006 Posts: 15
|
Posted: Tue Jun 20, 2006 12:53 pm Post subject: |
|
|
Thanks! So it isn't build? But why works the old build util without problems on the same platform? |
|
Back to top |
|
|
Derek Parnell
Joined: 22 Apr 2004 Posts: 408 Location: Melbourne, Australia
|
Posted: Tue Jun 20, 2006 4:54 pm Post subject: |
|
|
hotzenplotz wrote: | Thanks! So it isn't build? But why works the old build util without problems on the same platform? |
It is Build's problem because I changed it to create the response file according to the OptLink specifications but it turns out that either the specifications are wrong or OptLink is wrong, and Walter is never going to update OptLink (its too hard for him to bother). _________________ --
Derek
skype name: derek.j.parnell |
|
Back to top |
|
|
|