Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New to Dylan, reversi example won't build

12 views
Skip to first unread message

Tim Rowe

unread,
Oct 16, 2008, 4:46:13 PM10/16/08
to
I've just installed OpenDylan, and am working through the getting started
guide. The first program it gives me to build is the reversi demo program.

When I try to build it, in addition to all the warnings that the getting
started guide tells me to expect, I also get a build error:
building targets: exe
RC D:\Documents and Settings\Tim Rowe\Application
Data\Open-Dylan\build\functional-dylan\version.res : D:\Documents and
Settings\Tim Rowe\Application
Data\Open-Dylan\build\functional-dylan\version.rc
'rc' is not recognized as an internal or external command,
operable program or batch file.

Building target <functional-dylan>version.res: "rc /r /dWIN32 /d_WIN32
/dWINVER=0x0400 /FO "D:\Documents and Settings\Tim Rowe\Application
Data\Open-Dylan\build\functional-dylan\version.res" "D:\Documents and
Settings\Tim Rowe\Application
Data\Open-Dylan\build\functional-dylan\version.rc"" failed with return
status 1

Any idea what I've missed, please?


Peter S. Housel

unread,
Oct 20, 2008, 3:28:56 PM10/20/08
to

When you installed Open Dylan, it asked you which external linker you
wanted to use. Though Open Dylan is able to generate native code, it
doesn't include a linker that can combine object code into a DLL or EXE.
It also doesn't include a resource compiler, which takes Windows Resource
source files and compiles them into an object file. The error message you
got arose because there was no resource compiler in your PATH.

The linker that works best is the one that is included with Microsoft
Visual C++ 6.0, but that hasn't been supported in several years. The next
best choice is the Pelles C compiler.

You can download Pelles C from http://www.pellesc.com/. After installing,
you also need to change your environment variables to add "C:\Program
Files\PellesC\bin" to PATH, "C:\Program Files\PellesC\lib;C:\Program Files
\PellesC\lib\Win" to LIB, and "C:\Program Files\PellesC\include;C:
\Program Files\PellesC\include\Win" to INCLUDE.

To choose the Pelles C linker for Open Dylan after installation, choose
"Environment Options..." from the Tools menu. On the Build tab of the
Environment Options dialog, click Browse.. and choose the "x86-win32-
pellesc-build.jam" file.

-Peter-

0 new messages