cmakepp icon indicating copy to clipboard operation
cmakepp copied to clipboard

ls function fails

Open Manu343726 opened this issue 10 years ago • 7 comments

Hi Tobias.

I have a biicode user in our forum trying to write a block for Qt in the same way I wrote the Boost block: http://forum.biicode.com/t/cmake-crasheddddddddddddddddd

He's using the shell wrapper ls() utility, but cmake hangs completely. I have checked on my computer and the same occurs :(
For example, a simple LS("home/manu343726/"), this is the result:

$ bii configure
INFO: Processing changes...
Running: "cmake"  -G "Unix Makefiles" -Wno-dev  ../cmake

                BLOCK: qiangwu/qt 
----------------------------------------------------------- (hangs here for about 2 mins)
ERROR: CMake failed

Manu343726 avatar Mar 30 '15 15:03 Manu343726

ok. I'm checking it out right now. which version of cmakepp is it? the current block`?

toeb avatar Mar 30 '15 16:03 toeb

I can't reproduce the error on linux or windows. I need some sort of output (cmake error message) else I do not even have a guess of whats going wrong because internally ls only uses cmake functions like file(GLOB) and get_filename_component its not a wrapper function as it does not use the shell program to obtain the files.

toeb avatar Mar 30 '15 16:03 toeb

A quick fix for him would be to not use ls and just use file(GLOB dirs "G:/path/to/qt/*)

toeb avatar Mar 30 '15 16:03 toeb

The user is running latest version available on the bii block. Also, the only output is what I gave you above. Maybe is something wrong from the bii part, I will check in depth. Thanks for your support

Manu343726 avatar Mar 30 '15 17:03 Manu343726

There might be a problem because of the way that blocks are created. currently every successfull build of cmakepp on travis publishes a new block (with which I am not happy - I only want it to publish if I tag it... - but I have not yet addresses this issue...)

toeb avatar Mar 30 '15 17:03 toeb

Did you get a chance to find the problem?

toeb avatar Apr 06 '15 06:04 toeb

nope.

Manu343726 avatar Apr 06 '15 07:04 Manu343726