|
From: J.D. Y. <yam...@uf...> - 2006-10-22 09:56:41
|
To anyone, I am not exactly sure where the fix is for this but I am getting close. Its an include problem... when I run cmake for my project (using a directory layout for my project similar to one recommended by Orca2), it prints out the following line: -- Will generate cpp header and source files from 3 Slice definitions using this command: -- /usr/bin/slice2cpp <source.ice> -I/usr/local/src/drics/trunk/src/interfaces/slice;-I/usr/share/slice;--stream;--output-dir;/usr/local/src/drics/trunk/src/interfaces/cpp/drics That's great but I think its missing an include. I believe it should also have a, -I/opt/orca-2.0.2/slice Now in what *.cmake file do I make this change? I was looking in slice2cpp_rules.cmake. Or is there a better place to make this sort of change? The reason I ask this is when I try and make my project after running cmake, I get include errors for orca slice files in my slice files. J.D. Alex Makarenko wrote: > Hey, I did the fix and we are testing it now on different platforms. We'll > finish today. > > alex > > > On Thursday 05 October 2006 07:46, J.D. Yamokoski wrote: >> Just writing to see if you have had time to get to this fix? If not then >> no big deal - I can un-install the debian ICE package and do the manual >> install until this all gets resolved. >> >> Alex Makarenko wrote: >>> Hi, you are exactly right, we make certain assumptions on where things >>> get installed. Specifically, we assume that there's only one installation >>> tree, the fact that the deb package splits things up is really annoying. >>> >>> Thanks for letting us know. We'll fix it and release an update tomorrow. >>> >>> Cheers, alex >>> >>>> -----Original Message----- >>>> From: orc...@li... >>>> [mailto:orc...@li...] On >>>> Behalf Of J.D. Yamokoski >>>> Sent: Tuesday, 3 October 2006 12:55 AM >>>> To: orc...@li... >>>> Subject: [Orca-robotics-users] Problems using the Debian Ice package >>>> >>>> I think my problem might be related to the problems another >>>> user is having with the Gentoo install. But after installing >>>> a Debian package of Zeroc's Ice, I am running into problems >>>> compiling Orca2. The Debian package of Ice, available under >>>> the testing branch in the meta-package zeroc-ice, is version >>>> 3.1.0-2. The problem is that Orca2 assumes header and ice >>>> files are all within /usr/include/Ice. But the debian package >>>> splits these up: >>>> >>>> /usr/include/Ice - all Ice header files >>>> /usr/share/slice/Ice - *.ice files >>>> >>>> So I get the following error when I compile Orca2: >>>> >>>> [ 1%] -- Generating source file from >>>> /usr/local/src/orca2/src/interfaces/slice/orca/home.ice >>>> /usr/local/src/orca2/src/interfaces/slice/orca/home.ice:15: >>>> Ice/BuiltinSequences.ice: No such file or directory >>>> >>>> I know nothing of CMake, but it would seem this might be a >>>> problematic fix. At least in home.ice, the offending line of >>>> code is at line 15: >>>> >>>> // for Ice::StringSeq >>>> #include <Ice/BuiltinSequences.ice> >>>> >>>> So I am guessing that CMake sets the "Ice" include directory >>>> to point to /usr/include/Ice, and for *.h files this is the >>>> case. But when including *.ice files it needs to be >>>> /usr/share/slice/Ice, at least for those who use the Debian package. >>>> >>>> >>>> >>>> -------------------------------------------------------------- >>>> ----------- >>>> Take Surveys. Earn Cash. Influence the Future of IT Join >>>> SourceForge.net's Techsay panel and you'll get the chance to >>>> share your opinions on IT & business topics through brief >>>> surveys -- and earn cash >>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge >>> &CID=DEVDEV >>> >>>> _______________________________________________ >>>> Orca-robotics-users mailing list >>>> Orc...@li... >>>> https://lists.sourceforge.net/lists/listinfo/orca-robotics-users >>> From - Wed >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your opinions on IT & business topics through brief surveys -- and earn >> cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Orca-robotics-users mailing list >> Orc...@li... >> https://lists.sourceforge.net/lists/listinfo/orca-robotics-users > |