From 1b58582e25aff1ad11663c0e3b32d048cfbd1bff Mon Sep 17 00:00:00 2001 From: Andrey Fedorushkov Date: Mon, 25 Nov 2013 10:10:24 +0400 Subject: [PATCH] pcbnew: fix error build autoplace.cpp in linux gcc-4.8.2 template: add file fp-lib-table.for-eagle --- pcbnew/autorouter/autoplac.cpp | 4 ++-- template/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pcbnew/autorouter/autoplac.cpp b/pcbnew/autorouter/autoplac.cpp index 410eccef45..26f1eaffab 100644 --- a/pcbnew/autorouter/autoplac.cpp +++ b/pcbnew/autorouter/autoplac.cpp @@ -723,8 +723,8 @@ int getOptimalModulePlacement( PCB_EDIT_FRAME* aFrame, MODULE* aModule, wxDC* aD wxString msg; msg.Printf( wxT( "Score %g, pos %s, %s" ), min_cost, - ::CoordinateToString( LastPosOK.x ), - ::CoordinateToString( LastPosOK.y ) ); + GetChars( ::CoordinateToString( LastPosOK.x ) ), + GetChars( ::CoordinateToString( LastPosOK.y ) ) ); aFrame->SetStatusText( msg ); } } diff --git a/template/CMakeLists.txt b/template/CMakeLists.txt index c352be4184..db48d66c42 100644 --- a/template/CMakeLists.txt +++ b/template/CMakeLists.txt @@ -3,6 +3,7 @@ install( FILES fp-lib-table fp-lib-table.csv fp-lib-table.for-github + fp-lib-table.for-eagle-6.4.0 gost_landscape.kicad_wks gost_portrait.kicad_wks pagelayout_default.kicad_wks