Hi All

 

I'm curently facing an issue with filenames becoming too big with the
Visual Studio 10 generator. Doing the compilation of our source code I
get the following errors:

 

"C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no
_log\Synergy.sln" (default target) (1) ->
"C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no
_log\.\ALL_BUILD.vcxproj.metaproj" (default target) (2) ->
"C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no
_log\bt\profile_managers\core_stack\common\bluestack\dmlib\csr_bt_corest
ack_bluestack_dmlib.vcxproj.metaproj" (default target) (172) ->
"C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no
_log\bt\profile_managers\core_stack\common\bluestack\dmlib\csr_bt_corest
ack_bluestack_dmlib.vcxproj" (default target) (173) ->
(ClCompile target) -> 
  c1 : fatal error C1083: Cannot open source file:
'..\..\..\..\..\..\..\..\bt\profile_managers\core_stack\common\bluestack
\dmlib\dmlib_hci_read_inquiry_response_tx_power_level_req.c': No such
file or directory
[C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no
_log\bt\profile_managers\core_stack\common\bluestack\dmlib\csr_bt_corest
ack_bluestack_dmlib.vcxproj]
  c1 : fatal error C1083: Cannot open source file:
'..\..\..\..\..\..\..\..\bt\profile_managers\core_stack\common\bluestack
\dmlib\dmlib_hci_ulp_read_advertising_channel_tx_power_req.c': No such
file or directory
[C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no
_log\bt\profile_managers\core_stack\common\bluestack\dmlib\csr_bt_corest
ack_bluestack_dmlib.vcxproj]
  c1 : fatal error C1083: Cannot open source file:
'..\..\..\..\..\..\..\..\bt\profile_managers\core_stack\common\bluestack
\dmlib\dmlib_sm_generate_nonresolvable_private_address_req.c': No such
file or directory
[C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no
_log\bt\profile_managers\core_stack\common\bluestack\dmlib\csr_bt_corest
ack_bluestack_dmlib.vcxproj]

 

I figured that the tool combines the path of the project with the
relative path of the filename located in the project file resulting in
this filename:

 

C:\bs-vs2010\synergy-main-winnt-x86-vs10\build\install\no_log\output\no_
log\bt\profile_managers\core_stack\common\bluestack\dmlib\..\..\..\..\..
\..\..\..\bt\profile_managers\core_stack\common\bluestack\dmlib\dmlib_hc
i_ulp_read_advertising_channel_tx_power_req.c

 

I assume the failure is due to the 260 bytes filename length limitation
within Windows.

 

Would it be possible to direct CMake to use absolute filenames in the
project files instead of the relative path? 

 

Or could this be caused by something else?

 

Med venlig hilsen / Best Regards

 

Martin Nielsen

 



Member of the CSR plc group of companies. CSR plc registered in England and 
Wales, registered number 4187346, registered office Churchill House, Cambridge 
Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to