From: Ian S. <sc...@im...> - 2011-09-27 13:52:02
|
Subject: Re: [Vxl-users] Cross-compiling host:windows/linux target: QNX Date: Tue, 27 Sep 2011 14:49:02 +0100 From: Ian Scott <sc...@im...> To: Félix Robles <fel...@gm...> Félix The "Found Open Cl? NO" isn't an error, it is just a detected configuration setting If you look through the output, you'll find it littered with actual errors like "CMake Error: TRY_RUN() invoked in cross-compiling mode, please set the following cache variables appropriately: VCL_PROCESSOR_HAS_INFINITY (advanced) VCL_PROCESSOR_HAS_INFINITY__TRYRUN_OUTPUT (advanced) For details see C:/Users/CATEC/Desktop/ViconDoc/bin/TryRunResults.cmake VXL's CMake scripts are trying to find some config settings by compiling, linking and running a small piece of code. Since you are cross compiling, you will have to set those values yourself. You might be able to ignore the variables ending in __TRYRUN_OUTPUT. Ian. On 26/09/2011 15:52, Félix Robles wrote: > Hi, > > I'd like to know if it's possible to crosscompile VXL libraries from a > windows or linux host to a QNX target, using the qcc (a version of gcc) > compiler. I've tried it but had no luck for now. I'm stuck when In a x86 > windows 7 machine, I use CMake configure option, then select Eclipse > CDT4 - Unix Makefiles//, select "specify options for cross-compiling. > Then I configure the qnx qcc compiler.Then I click configure and the > result is a "configuring incomplete, errors ocurred". > > I don't know if it's important, but it says the it didn't find OpenCL, > which is logical as it's not supported in qnx. If that's important, > perhaps it's impossible to cross-compile to qnx? > > The whole output is in here: http://pastebin.com/6GQTW5JG > > Actually, what I need to use is "just" the vnl part (vnl_double_3, > vnl_vector, vnl_vector_fixed, vnl_matops, vnl_resize...), and the > vcl_algorithm.h. > > Also, I don't know if this message would fit better in the dev/bug > mailing list. > > Thank you! > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > > > > _______________________________________________ > Vxl-users mailing list > Vxl...@li... > https://lists.sourceforge.net/lists/listinfo/vxl-users |