cotire icon indicating copy to clipboard operation
cotire copied to clipboard

problems with cross compilation

Open nandra opened this issue 9 years ago • 2 comments

Hi,

I'm trying to test cotire on my cmake based app. I added all necessary things as was described in manual. When I run compilation it seems to compile everything fine just fails when building Cxx precompiled header cotire/app_CXX_prefix.hxx.gch with: arm-linux-gnueabihf-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -mthumb-interwork : execv returned (No such file or directory)

cotire: error 1 precompiling cotire.cmake:1783

When compiling for PC it works fine. Any ideas? Many thanks.

nandra avatar Mar 11 '16 15:03 nandra

Please attach a small sample project that lets me reproduce the problem.

sakra avatar Mar 19 '16 09:03 sakra

I've the same problem. it seems like the SDK sysroot /usr/include plus cross compiler include directories are not added to search path during compilation

filcuc avatar May 21 '19 08:05 filcuc