Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > New to Dylan, reversi example won't build
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 1st June 03:49
tim rowe
External User
 
Posts: 1
Default New to Dylan, reversi example won't build


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:\Do***ents and Settings\Tim Rowe\Application
Data\Open-Dylan\build\functional-dylan\version.res : D:\Do***ents 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:\Do***ents and Settings\Tim Rowe\Application
Data\Open-Dylan\build\functional-dylan\version.res" "D:\Do***ents 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?
  Reply With Quote


  sponsored links


2 1st June 03:49
peter s. housel
External User
 
Posts: 1
Default New to Dylan, reversi example won't build


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-
  Reply With Quote
3 1st June 03:50
peter s. housel
External User
 
Posts: 1
Default New to Dylan, reversi example won't build


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-
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666