For Programmers: Free Programming Magazines  


Home > Archive > Dylan > January 2005 > "Hello, world!" does not build w/ VC7









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author "Hello, world!" does not build w/ VC7
Adam Taylor

2005-01-15, 8:56 pm

Folks,

I downloaded the latest FunDev snapshot (fundev-win32-20041118.exe) and
installed it, specifying the Microsoft Visual C++ .NET 2003 linker as
the one to use. (That's the compiler I have on my machine.) I then
tried to build the "Hello, World!" example program. It give me a "Link
Failed. File C:\Program Files\Functional Objects\Functional
Developer\lib\x86-win32-vc7-build.jam does not exist" error message.

Sure enough, I looked in C:\Program Files\Functional Objects\Functional
Developer\lib\ and found these files (among others):

x86-win32-build.jam
x86-win32-pellesc-build.jam
x86-win32-vc6-build.jam

but no x86-win32-vc7-build.jam.

Have I done something wrong?

Thanks in advance for any help you can give,
Adam

--
Adam L. Taylor
Peter S. Housel

2005-01-16, 3:57 am

Adam Taylor <altaylor@this-address-is-fake.com> writes:

> Folks,
>
> I downloaded the latest FunDev snapshot (fundev-win32-20041118.exe)
> and installed it, specifying the Microsoft Visual C++ .NET 2003 linker
> as the one to use. (That's the compiler I have on my machine.) I
> then tried to build the "Hello, World!" example program. It give me a
> "Link Failed. File C:\Program Files\Functional Objects\Functional
> Developer\lib\x86-win32-vc7-build.jam does not exist" error message.
>
> Sure enough, I looked in C:\Program Files\Functional
> Objects\Functional Developer\lib\ and found these files (among others):
>
> x86-win32-build.jam
> x86-win32-pellesc-build.jam
> x86-win32-vc6-build.jam
>
> but no x86-win32-vc7-build.jam.
>
> Have I done something wrong?


Sorry, my fault... you'll find a copy of x86-win32-vc7-build.jam under
C:\Program Files\Functional Objects\Functional Developer\Sources\lib\run-time\pentium-win32.
If you copy it to the lib directory with the other jam files then it
should work.

-Peter S. Housel-
Adam Taylor

2005-01-17, 8:56 pm

> Sorry, my fault... you'll find a copy of x86-win32-vc7-build.jam under
> C:\Program Files\Functional Objects\Functional

Developer\Sources\lib\run-time\pentium-win32.
> If you copy it to the lib directory with the other jam files then it
> should work.


Okay, I did this, but now when I build I get:

"This application has failed to start because mspdb71.dll was not found.
Re-installing the the application may fix this problem."

Thanks again in advance,
Adam

-----
Peter S. Housel wrote:
> Adam Taylor <altaylor@this-address-is-fake.com> writes:
>
>
>
>
> Sorry, my fault... you'll find a copy of x86-win32-vc7-build.jam under
> C:\Program Files\Functional Objects\Functional Developer\Sources\lib\run-time\pentium-win32.
> If you copy it to the lib directory with the other jam files then it
> should work.
>
> -Peter S. Housel-


--
Adam L. Taylor
Adam Taylor

2005-01-21, 3:57 pm

Okay, nervermind, I figured it out. I had to mess w/ my LIB and PATH
environment variables. Now it works.

A question: When the open source version of Functional Developer is
officially released, will it still require the user to supply a linker?
Is there some reason why the Functional Objects linker can't be
included in the installer?

Adam

-----
Adam Taylor wrote:
> Developer\Sources\lib\run-time\pentium-win32.
>
> Okay, I did this, but now when I build I get:
>
> "This application has failed to start because mspdb71.dll was not found.
> Re-installing the the application may fix this problem."
>
> Thanks again in advance,
> Adam
>
> -----
> Peter S. Housel wrote:
>
>
>



--
Adam L. Taylor
altaylor at brandeis dot edu
Peter S. Housel

2005-01-21, 8:57 pm

Adam Taylor <altaylor@this-address-is-fake.com> writes:
> Okay, nervermind, I figured it out. I had to mess w/ my LIB and PATH
> environment variables. Now it works.
>
> A question: When the open source version of Functional Developer is
> officially released, will it still require the user to supply a
> linker? Is there some reason why the Functional Objects linker can't
> be included in the installer?


There is no Functional Objects linker. FD 2.0 included a copy of the
GNU binutils linker from cygwin, but we were never able to make that
work with 2.1, even *before* I ripped out all of the (fairly ugly IMHO)
code that supported it.

I hope eventually to write a build script that uses GNU binutils
(probably from the MinGW distribution), or failing that write a new
linker (in Dylan, of course). Since there already two supported
linkers available at no cost (the Microsoft Visual C++ Toolkit 2003 linker
and the Pelles C linker) it's not very urgent.

-Peter-
Adam Taylor

2005-01-24, 3:59 pm

Peter S. Housel wrote:
>
> There is no Functional Objects linker. FD 2.0 included a copy of the
> GNU binutils linker from cygwin, but we were never able to make that
> work with 2.1, even *before* I ripped out all of the (fairly ugly IMHO)
> code that supported it.
>
> I hope eventually to write a build script that uses GNU binutils
> (probably from the MinGW distribution), or failing that write a new
> linker (in Dylan, of course). Since there already two supported
> linkers available at no cost (the Microsoft Visual C++ Toolkit 2003 linker
> and the Pelles C linker) it's not very urgent.
>
> -Peter-


Okay, fair enough. I certainly don't mean to criticize your very noble
efforts on this. But might there be some way to bundle the Pelles
linker (or whatever linker is most convenient) so that a potential user
of Fun-O Dylan just has to download a single installer to obtain a
functional (no pun intended) Dylan compiler+linker?

It just seems like the open sourcing of Fun-O Dylan is a golden
opportunity to get more people to program in Dylan (and write useful
libraries in Dylan, etc.). And it would be a shame if some of them were
dissuaded by the fact that installing Dylan is harder than it needs to be.

Adam

--
Adam L. Taylor
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com