User forums > Using Code::Blocks

D language support

(1/3) > >>

StefanLi:
With the build from 23-04-2006 there is already "some" D support.
However, as both a newbie to D and C::B I didn´t got to compile, link and run.
I have everything installed what is neccessary to compile and link. For my application I used Derek Parnels "build" tool available on http://dsource.org/.
My main source of confusion is the "Settings"-Dialog with all those paths for C and C++. Can anyone give me an advice?

Stefan

Michael:
Hello,

Just a fast suggestion. Try to search in the forum. There should be some useful posts.

Best wishes,
Michael

StefanLi:
Thanks for that suggestion. But this is what I always do before I post something.
Unfortunatelly, I did not find a post that helped me.

Stefan

Michael:

--- Quote from: StefanLi on April 24, 2006, 01:15:12 pm ---Thanks for that suggestion. But this is what I always do before I post something.
Unfortunatelly, I did not find a post that helped me.

--- End quote ---

Ok.

It could be useful to post which C::B revision are you using and the errors you get. I am not a D expert and never used Derek Parnels tools (anyway, when I click the link I get "FATAL: connection limit exceeded for non-superusers"), but may be a user with more experience could then help you.

Best wishes,
Michael

StefanLi:
Michael, I was using C::B build from 23-04-2006. I just mentioned Derek´s build tool to show that my D environment is complete. Unfortunatelly, dsource.org is not always available. So, if you are interested you have to retry at different times of the day.

However, I "reinstalled" C::B, setup a D project with the D wizzard, tweaked the compiler paths with caution and than it worked!!!
My next attempt was to create a project for my existing D app. and this fails now when I try to use the resource compiler (Digital Mars Resource Compiler 7.50B5). C::B here tells me:

Execution of 'rcc.exe obj\Debug\de\compeople\smartup\boot.res  de\compeople\smartup\boot.rc' in 'C:\projekte\smartup5\de.compeople.smartup.boot' failed.

I think the problem is that C::B does not know how the resource compiler has to be called correctly.
The correct calling would look like:

rcc.exe <IN> -o<OUT> -32 -r

Is there a place where I can define that?

Stefan

Navigation

[0] Message Index

[#] Next page

Go to full version