View mode: basic / threaded / horizontal-split · Log in · Help
October 31, 2012
Unexpected OPTLINK Termination while building dwt helloworld
Hi!

As usual, I have everything not as it should :)

I have built dwt.After that I have created MS VS solution,in 
which I have configured paths.And when I was trying to build 
helloworld,I received messagebox
with this stuff:Unexpected OPTLINK Termination at EIP = 00428DA3

Tell me please,what should I do to fix it?
October 31, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
On 2012-10-31 11:42, Zhenya wrote:
> Hi!
>
> As usual, I have everything not as it should :)
>
> I have built dwt.After that I have created MS VS solution,in which I
> have configured paths.And when I was trying to build helloworld,I
> received messagebox
> with this stuff:Unexpected OPTLINK Termination at EIP = 00428DA3
>
> Tell me please,what should I do to fix it?

What you usually can do is try to pass the files in a different order to 
the compiler/linker. Also try different flags. I'm not very familiar 
with the Windows platform, try posting a the learn or main D newsgroup. 
If that fails there's an alternative linker, called "ulink" or similar, 
that you could try.

-- 
/Jacob Carlborg
October 31, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
On Wednesday, 31 October 2012 at 12:01:11 UTC, Jacob Carlborg 
wrote:
> On 2012-10-31 11:42, Zhenya wrote:
>> Hi!
>>
>> As usual, I have everything not as it should :)
>>
>> I have built dwt.After that I have created MS VS solution,in 
>> which I

>> have configured paths.And when I was trying to build 
>> helloworld,I
>> received messagebox
>> with this stuff:Unexpected OPTLINK Termination at EIP = 
>> 00428DA3
>>
>> Tell me please,what should I do to fix it

If you're comfortable building dmd, the latest git head has a fix 
for a similar issue and is worth a try.
October 31, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
On Wednesday, 31 October 2012 at 14:33:05 UTC, cal wrote:
> On Wednesday, 31 October 2012 at 12:01:11 UTC, Jacob Carlborg 
> wrote:
>> On 2012-10-31 11:42, Zhenya wrote:
>>> Hi!
>>>
>>> As usual, I have everything not as it should :)
>>>
>>> I have built dwt.After that I have created MS VS solution,in 
>>> which I
>
>>> have configured paths.And when I was trying to build 
>>> helloworld,I
>>> received messagebox
>>> with this stuff:Unexpected OPTLINK Termination at EIP = 
>>> 00428DA3
>>>
>>> Tell me please,what should I do to fix it
>
> If you're comfortable building dmd, the latest git head has a 
> fix for a similar issue and is worth a try.

Thank you)
Maybe I will try it,although I do not know how.
October 31, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
On 2012-10-31 16:08, Zhenya wrote:

> Thank you)
> Maybe I will try it,although I do not know how.

1. Create a new folder, "dlang"
2. In the dlang folder clone DMD, druntime and Phobos using this command 
"git clone <address>" where "<address>" is one of the git addresses below
3. Install DVM
4. From dlang run "dvm compile ."
5. You will have a compiled binary in dlang\dmd\bin32\dmd

DMD: git://github.com/D-Programming-Language/dmd.git
druntime: git://github.com/D-Programming-Language/druntime.git
Phobos: git://github.com/D-Programming-Language/phobos.git
DVM: https://bitbucket.org/doob/dvm/wiki/Home

-- 
/Jacob Carlborg
October 31, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
On Wednesday, 31 October 2012 at 18:05:07 UTC, Jacob Carlborg 
wrote:
> On 2012-10-31 16:08, Zhenya wrote:
>
>> Thank you)
>> Maybe I will try it,although I do not know how.
>
> 1. Create a new folder, "dlang"
> 2. In the dlang folder clone DMD, druntime and Phobos using 
> this command "git clone <address>" where "<address>" is one of 
> the git addresses below
> 3. Install DVM
> 4. From dlang run "dvm compile ."
> 5. You will have a compiled binary in dlang\dmd\bin32\dmd
>
> DMD: git://github.com/D-Programming-Language/dmd.git
> druntime: git://github.com/D-Programming-Language/druntime.git
> Phobos: git://github.com/D-Programming-Language/phobos.git
> DVM: https://bitbucket.org/doob/dvm/wiki/Home

Thank you very much:)
October 31, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
On Wednesday, 31 October 2012 at 18:48:20 UTC, Zhenya wrote:
> On Wednesday, 31 October 2012 at 18:05:07 UTC, Jacob Carlborg 
> wrote:
>> On 2012-10-31 16:08, Zhenya wrote:
>>
>>> Thank you)
>>> Maybe I will try it,although I do not know how.
>>
>> 1. Create a new folder, "dlang"
>> 2. In the dlang folder clone DMD, druntime and Phobos using 
>> this command "git clone <address>" where "<address>" is one of 
>> the git addresses below
>> 3. Install DVM
>> 4. From dlang run "dvm compile ."
>> 5. You will have a compiled binary in dlang\dmd\bin32\dmd
>>
>> DMD: git://github.com/D-Programming-Language/dmd.git
>> druntime: git://github.com/D-Programming-Language/druntime.git
>> Phobos: git://github.com/D-Programming-Language/phobos.git
>> DVM: https://bitbucket.org/doob/dvm/wiki/Home
>
> Thank you very much:)

Unfortunally this don't help.If anybody build dwt heloworld under 
windows succesfully,write please short howto.
November 01, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
Hi Zhenya
>
> Unfortunally this don't help.If anybody build dwt heloworld 
> under windows succesfully,write please short howto.

I'd build dwt and snippets successfully under Win7-64, dmd2.060 
like several weeks ago,
I mostly followed procedure by 
https://github.com/d-widget-toolkit/dwt.
I could not recall any specific actions in addition.

Thanks,
Oleg.
November 01, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
On Thursday, 1 November 2012 at 09:39:17 UTC, Oleg Kuporosov 
wrote:
>
>        Hi Zhenya
>>
>> Unfortunally this don't help.If anybody build dwt heloworld 
>> under windows succesfully,write please short howto.
>
> I'd build dwt and snippets successfully under Win7-64, dmd2.060 
> like several weeks ago,
> I mostly followed procedure by 
> https://github.com/d-widget-toolkit/dwt.
> I could not recall any specific actions in addition.
>
> Thanks,
> Oleg.

I also built dwt,but I can't build any program with it,becouse 
linker says:

test.obj(test)  Offset 000E5H Record Type 0088
 Error 118: Filename Expected
D:/Zhenya/Programming/DProgramming/DWT/dwt/lib/dwt-base
November 01, 2012
Re: Unexpected OPTLINK Termination while building dwt helloworld
On Thursday, 1 November 2012 at 16:51:00 UTC, Zhenya wrote:
> On Thursday, 1 November 2012 at 09:39:17 UTC, Oleg Kuporosov 
> wrote:
>>
>>       Hi Zhenya
>>>
>>> Unfortunally this don't help.If anybody build dwt heloworld 
>>> under windows succesfully,write please short howto.
>>
>> I'd build dwt and snippets successfully under Win7-64, 
>> dmd2.060 like several weeks ago,
>> I mostly followed procedure by 
>> https://github.com/d-widget-toolkit/dwt.
>> I could not recall any specific actions in addition.
>>
>> Thanks,
>> Oleg.
>
> I also built dwt,but I can't build any program with it,becouse 
> linker says:
>
> test.obj(test)  Offset 000E5H Record Type 0088
>  Error 118: Filename Expected
> D:/Zhenya/Programming/DProgramming/DWT/dwt/lib/dwt-base

It's a magic.I didn't nothing but now it works.
)
« First   ‹ Prev
1 2 3
Top | Discussion index | About this forum | D home