Page 1 of 1

Build error - Linux

Posted: Mon Oct 01, 2007 2:12 pm
by wjstarck
What does this build error mean?

Is there a glitch with some newly added code, or is one of my dlls outdated (or missing)?

Also, for Frederik: I notice your Debian packages use libungif4 and libungif4dev instead of libgif4 and libgif4dev. Is there a reason for this?

=====
[csc] /home/exam/opendental/OpenDental/SmartCards/SmartCardWatcher.cs(13,51): error CS0246: The type or namespace name `BelgianIdentityCard' could not be found. Are you missing a using directive or an assembly reference?
[csc] Compilation failed: 1 error(s), 91 warnings

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

/home/exam/opendental/OpenDental/OpenDental.build(32,9):
External Program Failed: /usr/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was 1)

Total time: 29.7 seconds.


BUILD FAILED

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

Total time: 44.7 seconds.

make: *** [all] Error 1

Thanks,

Bill Starck, DDS

Posted: Tue Oct 02, 2007 8:55 am
by fcarlier
The build issue should be resolved. That was an omission on my side.

As to referencing libgif4 etc and not their -dev counterparts, the reason is simple: to run Mono, you only need to have the libraries themselves installed, not the header files.

Because Mono uses P/Invoke to access these libraries, the header files are never used, not even when building Mono.

I hope that answers your questions.

Posted: Tue Oct 02, 2007 8:02 pm
by wjstarck
Thanks Frederik that's good to know.

The changes fixed the build error - thanks

Bill Starck, DDS