質問編集履歴

3

解説追加

2016/07/13 09:49

投稿

Dmix
Dmix

スコア20

test CHANGED
File without changes
test CHANGED
@@ -7,8 +7,6 @@
7
7
  行っています。
8
8
 
9
9
 
10
-
11
- ###前提・実現したいこと
12
10
 
13
11
  pthreadを使用したプログラムなのですが、Windows上でコンパイルは
14
12
 
@@ -21,6 +19,14 @@
21
19
 
22
20
 
23
21
  ###発生している問題・エラーメッセージ
22
+
23
+ パス C:\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\lib\arm-linux-gnueabihf
24
+
25
+ ライブラリ libpthread.so
26
+
27
+ を設定してリンクしています。
28
+
29
+ エラーは以下の通りです。
24
30
 
25
31
  'Invoking: Cross G++ Linker'
26
32
 

2

記載ミス

2016/07/13 09:49

投稿

Dmix
Dmix

スコア20

test CHANGED
File without changes
test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  'Invoking: Cross G++ Linker'
26
26
 
27
- arm-linux-gnueabihf-g++ -L"C:\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\lib\arm-linux-gnueabihf" -L"C:\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\lib\arm-linux-gnueabihf" -o "nsample" ./nsample.o -llibpthread.so
27
+ arm-linux-gnueabihf-g++ -L"C:\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\lib\arm-linux-gnueabihf" -o "nsample" ./nsample.o -llibpthread.so
28
28
 
29
29
  c:/sysgcc/raspberry/bin/../lib/gcc/arm-linux-gnueabihf/4.6/../../../../arm-linux-gnueabihf/bin/ld.exe: cannot find -llibpthread.so
30
30
 

1

誤字修正

2016/07/13 09:46

投稿

Dmix
Dmix

スコア20

test CHANGED
File without changes
test CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  RaspberryPi用ソフトをC++にて作っています。
4
4
 
5
- まずは、Windows上で動作せせるべく、Eclipseを使用しコンパイルなどを
5
+ まずは、Windows上でEclipseを使用しコンパイルなどを
6
6
 
7
7
  行っています。
8
8