roberto1903 / companion9x

Automatically exported from code.google.com/p/companion9x
0 stars 0 forks source link

Build fails silently if mono-devel package installed (and xsdcxx not) #214

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
0. (Found on Ubuntu, but not distribution specific; internet discussions of 
same issue on Debian and OpenSUSE exists)
1. Install mono-dev(el) package
2. Do not install xsdcxx package
3. cmake -G "Unix Makefiles"
4. make

What is the expected output? What do you see instead?
Build fails with message:
 [ 47%] Building CXX object CMakeFiles/companion9x.dir/xmlinterface.cpp.o
/home/kb/rc/companion9x/src/xmlinterface.cpp:21:21: fatal error: radio.hxx: No 
such file or directory
compilation terminated.
[...]
make: *** [all] Error 2

This is related to message from "xsd" tool (of Mono distribution), that was 
used instead of reporting lack of valid xsdcxx installation:
[ 21%] Generating radio.hxx, radio.cxx
Unknown option -root-element-all

What version of the product are you using?

/trunk @ r2193

On what operating system?

Ubuntu 13.04 (raring)

Which firmware have you selected ?

(not related to firmware issue)

Please provide any additional information below.

It would be nice to test if "xsd" tool is really xsdcxx, not Mono tool. Or at 
least test if radio.?xx was created by it.

Original issue reported on code.google.com by krzyszto...@gmail.com on 1 Aug 2013 at 8:27

GoogleCodeExporter commented 8 years ago
Issue is invalid, you are requested to read at least installing/building 
instructions:

https://code.google.com/p/companion9x/wiki/LinuxBuild

It's clearly written you need xsdcxx

Original comment by romolo.m...@gmail.com on 1 Aug 2013 at 5:15