[tasque-list] src/Gtk.Tasque/Defines.cs could not be found

11 views
Skip to first unread message

Adam Tauno Williams

unread,
Oct 4, 2012, 9:00:58 AM10/4/12
to tasqu...@gnome.org

Error CS2001: Source file
`/home/awilliam/projects/tasque/src/Gtk.Tasque/Defines.cs' could not be
found (CS2001) (Gtk.Tasque)

Trying to build Tasque in Monodevelop, it fails with the above error.
Is see src/Gtk.Tasque/Defines.cs.in.

What is the method for generating Defines.cs from Defines.cs.in?

I didn't see anything in the README.

I did run the ./autogen.sh successfully.

mono-core-2.10.6-5.6.1.x86_64
monodevelop-2.8.5-2.1.3.noarch
3.4.6-2.10-desktop openSUSE 12.2 x86_64 GNOME 3.6


_______________________________________________
tasque-list mailing list
tasqu...@gnome.org
https://mail.gnome.org/mailman/listinfo/tasque-list

Stephen Shaw

unread,
Oct 4, 2012, 9:52:47 AM10/4/12
to awil...@whitemice.org, tasqu...@gnome.org
On Thu, Oct 4, 2012 at 7:00 AM, Adam Tauno Williams
<awil...@whitemice.org> wrote:
>
> Error CS2001: Source file
> `/home/awilliam/projects/tasque/src/Gtk.Tasque/Defines.cs' could not be
> found (CS2001) (Gtk.Tasque)
>
> Trying to build Tasque in Monodevelop, it fails with the above error.
> Is see src/Gtk.Tasque/Defines.cs.in.
>
> What is the method for generating Defines.cs from Defines.cs.in?
>
> I didn't see anything in the README.
>
> I did run the ./autogen.sh successfully.
>
> mono-core-2.10.6-5.6.1.x86_64
> monodevelop-2.8.5-2.1.3.noarch
> 3.4.6-2.10-desktop openSUSE 12.2 x86_64 GNOME 3.6
>

I would have expected autogen.sh to have generated that. Maybe
something broke recently?

Cheers,
Stephen

Antonius Riha

unread,
Oct 4, 2012, 9:53:58 AM10/4/12
to tasqu...@gnome.org
after "./autogen.sh" please run "make" once. Defines.cs should be there
then.

Adam Tauno Williams

unread,
Oct 4, 2012, 10:05:57 AM10/4/12
to tasqu...@gnome.org
On Thu, 2012-10-04 at 15:53 +0200, Antonius Riha wrote:
> after "./autogen.sh" please run "make" once. Defines.cs should be there
> then.

make completes successfully. Then bulding via Monodevelop works.

Adam Tauno Williams

unread,
Oct 4, 2012, 10:08:26 AM10/4/12
to tasqu...@gnome.org
On Thu, 2012-10-04 at 10:05 -0400, Adam Tauno Williams wrote:
> On Thu, 2012-10-04 at 15:53 +0200, Antonius Riha wrote:
> > after "./autogen.sh" please run "make" once. Defines.cs should be there
> > then.
>
> make completes successfully. Then bulding via Monodevelop works.

But if you do a rebuild in MD or a clean and build it will then fail
with

Error CS0006: Metadata file
`/home/awilliam/projects/tasque/src/libtasque/libtasque.dll' could not
be found (CS0006) (Gtk.Tasque)


You have to run make again to get it to build in MD again.

Antonius Riha

unread,
Oct 4, 2012, 10:14:08 AM10/4/12
to awil...@whitemice.org, tasqu...@gnome.org
[sorry for duplicate. forgot to send to list]

Hi,
the build with MD is currently somewhat broken. If you stick to the
commandline
for building using "make", you should be able to build it successfully.

Stephen Shaw

unread,
Oct 4, 2012, 10:20:21 AM10/4/12
to awil...@whitemice.org, tasqu...@gnome.org
On Thu, Oct 4, 2012 at 8:08 AM, Adam Tauno Williams
<awil...@whitemice.org> wrote:
> On Thu, 2012-10-04 at 10:05 -0400, Adam Tauno Williams wrote:
>> On Thu, 2012-10-04 at 15:53 +0200, Antonius Riha wrote:
>> > after "./autogen.sh" please run "make" once. Defines.cs should be there
>> > then.
>>
>> make completes successfully. Then bulding via Monodevelop works.
>
> But if you do a rebuild in MD or a clean and build it will then fail
> with
>
> Error CS0006: Metadata file
> `/home/awilliam/projects/tasque/src/libtasque/libtasque.dll' could not
> be found (CS0006) (Gtk.Tasque)
>
>
> You have to run make again to get it to build in MD again.

Traditionally, you haven't really been able to use MD to build several
popular open source mono projects because of autotools. I've spent
some time, thanks to alan's help, converting f-spot over to xbuild and
trying to improve the build process in MD. With a little bit of extra
work you can now do that, but its just not there.

What would be great is if someone sat down and wrote the .target files
for things like translations and other needed areas I imagine that
this would become much simpler.

- Stephen

Antonius Riha

unread,
Oct 4, 2012, 10:23:54 AM10/4/12
to tasqu...@gnome.org, Stephen Shaw
Hi Stephen,
I'm doing that right now on branch "xbuild" for Tasque. If you're
interested in
it, it's the files X.Common.targets and X.CSharp.targets.

- antonius
Reply all
Reply to author
Forward
0 new messages