Issue Details (XML | Word | Printable)

Key: LIBOMV-241
Type: Bug Bug
Status: Closed Closed
Resolution: Not A Bug
Priority: Minor Minor
Assignee: Unassigned
Reporter: Adz Childs
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
libopenmetaverse

namespace name `Windows' does not exist

Created: 18/May/08 09:16 AM   Updated: 19/May/08 08:12 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Environment: Mono / Linux32
Steps to Reproduce:
Install Ubuntu 8.04
Follow this guide http://www.libsecondlife.org/wiki/Getting_Started#Linux
See above build error.

NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006)
Mono JIT compiler version 1.2.6 (tarball)



 Description  « Hide
After a re-installation of Ubuntu, I can no longer re-compile a version of libsecondlife that previously worked. Also, I cannot compile the latest version. (I get the same error).

It looks like I'm missing a library. Does anyone know which one?

[echo] building Baker
[csc] Compiling 4 files to '/home/*****/libsl/bin/Baker.exe'.
[csc] /home/*****/libsl/libsecondlife/examples/Baker/frmBaker.cs(8,14): error CS0234: The type or namespace name `Windows' does not exist in the namespace `System'. Are you missing an assembly reference?
[csc] /home/*****/libsl/libsecondlife/examples/Baker/frmBaker.cs(8,1): error CS0246: The type or namespace name `Windows.Forms' could not be found. Are you missing a using directive or an assembly reference?
[csc] Compilation failed: 2 error(s), 0 warnings

BUILD FAILED - 0 non-fatal error(s), 2 warning(s)

/home/*****/libsl/libsecondlife/examples/examples.build(50,5):
External Program Failed: /usr/lib/mono/2.0/gmcs.exe (return code was 1)

Total time: 1.1 seconds.

BUILD FAILED

Nested build failed. Refer to build log for exact reason.

Total time: 2.3 seconds.



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Radford added a comment - 18/May/08 09:23 AM
Our build server which runs openSUSE is building fine, It looks to me like something is missing in your mono installation. Verify you have all the necessary mono packages installed.

Adz Childs added a comment - 18/May/08 09:36 AM - edited
Found it!

libmono-winforms2.0-cil

Maybe this should be added to the Getting Started instructions?

Oh well...maybe this ticket will save someone else some time.


Adz Childs added a comment - 18/May/08 09:58 AM

Jim Radford added a comment - 19/May/08 08:12 PM
Glad you got that resolved and thanks for adding the note to the Wiki!