Gamepad & WSN

Monthly Archives: 二月 2013

解决Cygwin “error while loading shared libraries”

Author:Gamepader    IN:ARM_Linux    Tags: , ,     评论: 0    超过100人围观

今天在网易源安装了最新版的Cygwin,刚刚在Cygwin下执行curl的时候,出现如下提示信息

1
$curl: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

解决办法:
第一步.使用cygcheck检查:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
$cygcheck curl
C:\Dell\Cygwin\bin\curl.exe
C:\Dell\Cygwin\bin\cygcurl-4.dll
  C:\Dell\Cygwin\bin\cyggcc_s-1.dll
    C:\Dell\Cygwin\bin\cygwin1.dll
      C:\Windows\system32\KERNEL32.dll
        C:\Windows\system32\API-MS-Win-Core-RtlSupport-L1-1-0.dll
        C:\Windows\system32\ntdll.dll
        C:\Windows\system32\KERNELBASE.dll
        C:\Windows\system32\API-MS-Win-Core-ProcessThreads-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Heap-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Memory-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Handle-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Synch-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-File-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-IO-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-ThreadPool-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-LibraryLoader-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-NamedPipe-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Misc-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-SysInfo-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Localization-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-ProcessEnvironment-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-String-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Debug-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-ErrorHandling-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Fibers-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Util-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Core-Profile-L1-1-0.dll
        C:\Windows\system32\API-MS-Win-Security-Base-L1-1-0.dll
  C:\Dell\Cygwin\bin\cygcrypto-1.0.0.dll
    C:\Dell\Cygwin\bin\cygz.dll
  C:\Dell\Cygwin\bin\cyggssapi-3.dll
    C:\Dell\Cygwin\bin\cygheimntlm-0.dll
      C:\Dell\Cygwin\bin\cygkrb5-26.dll
        C:\Dell\Cygwin\bin\cygasn1-8.dll
          C:\Dell\Cygwin\bin\cygroken-18.dll
            C:\Dell\Cygwin\bin\cygcrypt-0.dll
          C:\Dell\Cygwin\bin\cygcom_err-2.dll
        C:\Dell\Cygwin\bin\cygwind-0.dll
        C:\Dell\Cygwin\bin\cyghx509-5.dll
        C:\Dell\Cygwin\bin\cygintl-8.dll
          C:\Dell\Cygwin\bin\cygiconv-2.dll
        C:\Dell\Cygwin\bin\cygsqlite3-0.dll
        C:\Dell\Cygwin\bin\cygheimbase-1.dll
  C:\Dell\Cygwin\bin\cygidn-11.dll
  C:\Dell\Cygwin\bin\cyglber-2-4-2.dll
  C:\Dell\Cygwin\bin\cygldap-2-4-2.dll
    C:\Dell\Cygwin\bin\cygssl-1.0.0.dll
  C:\Dell\Cygwin\bin\cygssh2-1.dll
C:\Dell\Cygwin\bin\cygmetalink-3.dll
  C:\Dell\Cygwin\bin\cygexpat-1.dll
cygcheck: track_down: could not find cygsasl2-2.dll

发现是缺少了cygsasl2-2.dll
第二步.分析丢失的模块并安装:
有文件名分析丢失的模块名字应该为cygsasl2,当然也有可能是cygsasl,cyg,sasl2等,一个个都使用Cygwin的Setup.exe安装上,发现丢失的模块名字应该是sasl2,点选install,问题解决。

02-28
2013

安装Cygwin没有找到cygreadline7.dll的解决办法

Author:Gamepader    IN:Network    Tags: , ,     评论: 0    超过185人围观

在Win7上安装Cygwin,装完之后进入预配置阶段,弹出一个对话框“没有找到cygreadline7.dll……”

解决办法是:

  • 1.运行cygwin的setup.exe 程序,选择从internet安装,然后搜索readline,把搜到的结果全部标记install.
  • 2.用同样的方法安装libreadline5, libreadline6, libreadline7

至此,问题解决。

推荐使用网易开源镜像服务器:

//mirrors.163.com/cygwin/

02-28
2013

Sony PS4 DualShock 4 Controller with Eye Camera Can See, Hear and Move with You

Author:Gamepader    IN:手柄    Tags: ,     评论: 0    超过155人围观

In case you missed it, Sony at long last unveiled its PlayStation 4 console during a two-hour press event yesterday, featuring a surprise appearance by Blizzard, which is bringing Diablo III to the PS3 and PS4. You’ll get to play that game (and many others) on Sony’s wireless DualShock 4 controller. Yes, Sony is sticking with the DualShock design that’s become an iconic image of the PlayStation brand, though this newest version features several upgrades.

On the inside, the DualShock 4 features a new highly sensitive six-axis sensor for precise control. Externally, the DualShock 4 looks similar to previous models, though it now comes with a touchpad located on the front of the controller, opening up new gameplay avenues for software developers.

SonyDualShock_4

In addition to the D-Pad and analog sticks, the new controller retains the Triangle, Square, X, and Circle buttons. You’ll notice above that there’s no longer Start and Select buttons, both of which have been integrated into an Options button on the upper-right side.

On the opposite side is a Share button. This will allow gamers to broadcast their gameplay in real-time to friends through Internet streaming services such as Ustream. You’ll also be able to share gaming moments and accomplishments by uploading video gameplay footage to Facebook, all with the touch of the button — no fussing with video formats or conversions.

Below the touchpad in the center is a built-in speaker, which will pipe high-fidelity sound effects from games (don’t worry, your TV and/or home theater speakers will still play in-game sound effects, too).

DualShock_4_Lightbar

The DualShock 4 features a light bar on top with three color LEDs. It illuminates to match the color of characters in a game to offer an easier way to identify players, even when playing side by side, Sony says. It will also change patterns to reflect gameplay scenarios, such as being critically low on health or taking a major blow from an enemy.

PS4_Eye

Adding another element to gameplay, Sony developed a PlayStation 4 Eye camera that’s similar to Microsoft’s Kinect. It has two high-sensitive cameras with wide-angle lenses and 85-degree diagonal angle views. According to Sony, it’s capable of precise detection of depth of space.

“This enables PlayStation 4 Eye to cut out the image of player from background, or to grasp players’ position in front and behind, further broadening the ways to enjoy games,” Sony explains.

There are four microphones incorporated into the PS4 Eye, allowing the device to detect accurate sound and source origination. Gamers will be able to use the Eye to log into their PS4 using face recognition, too.

本文转载自://hothardware.com/News/Sony-PS4-DualShock-4-Controller-and-Eye-Camera-Can-See-Hear-and-Move-with-You/ ,版权归原作者所有。

02-22
2013
loading...