wxruby-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wxruby-dev] Windows build error


From: Roy Varghese
Subject: [Wxruby-dev] Windows build error
Date: Wed, 16 Jul 2003 23:40:27 -0700

Hello

I am new to Ruby and wxRuby. I am trying to build on Windows using VC++6, 
it stops with the following error.
-----
C:\dev\common\wxruby\src>nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

NMAKE : fatal error U1073: don't know how to make 'button.obj'
Stop.
----
The Makefile does have the ".t.cpp" rule:

.t.cpp:
 ruby wxpp.rb $<

.t.h:
 ruby wxpp.rb $<

What could be the problem? I can execute "ruby wxpp.rb button.t" from
the command line and it does create the .cpp and .h files, but not using
nmake. 
Also, these lines in the Makefile end with a ^M. The ones preceding the
".t.cpp" rule dont. I guess its because 'mkmf.rb' creates the Makefile in
binary mode, whereas extconf.rb appends to it in ASCII mode.

Please help.

Thx
Roy






reply via email to

[Prev in Thread] Current Thread [Next in Thread]