这个问题可能没有答案;因为它涉及来自Data Device Corporation(DDC)的某种品牌的软件。
我正在尝试在Microsoft Visual C ++ 2010 Express中运行C程序;我收到了错误。
DDC在名为“BU-69092S0_3_2_15”的文件夹中提供了一些软件。
在该文件夹中,我运行了一个“设置”应用程序。安装应用程序创建了一个名为DDC的文件夹。
DDC文件夹中有另一个名为“aceXtremeSDKv3215”的文件夹。在此文件夹中有一个“Samples”文件夹,其中包含可运行的样本。
我无法在Visual Studios中运行任何这些示例。我最初尝试先运行“bcasync2”解决方案,但无法让它工作。然后我开始尝试其他样本,但都有相同的错误。
会发生什么:
我启动Visual Studios,然后转到Open-> Project / Solution。
然后我导航到一个示例(例如bcasync2),然后单击“打开”。
我收到一条警告:C:\DDC\aceXtremeSDKv3215\Samples\bcasync2\BCAsync2.vcxproj : warning : Platform 'x64' referenced in the project file 'S_BcAsync2' cannot be found. Please make sure you have it installed under '%VCTargetsPath%\Platforms\x64'.
(但这只是一个警告,所以我继续前进。)
然后我点击绿色箭头。
我被问到是否要构建这个项目。我点击是。
我遇到了构建错误。第一行显示为:C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1422,5): warning : The referenced project '..\..\emacepl.vcxproj' does not exist.
在此行之后,我收到许多LNK2019错误:
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceGetLibVersion@0 referenced in function _PrintHeader
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceErrorStr@12 referenced in function _PrintOutError
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceGetBSWErrString@8 referenced in function _DisplayDecodedMsg
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceCmdWordParse@20 referenced in function _DisplayDecodedMsg
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceGetMsgTypeString@4 referenced in function _DisplayDecodedMsg
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCStop@4 referenced in function _GetBCMsgsFromID
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCGetMsgFromIDDecoded@16 referenced in function _GetBCMsgsFromID
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCAsyncMsgCreateBCtoRT@36 referenced in function _GetBCMsgsFromID
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCSendAsyncMsgHP@12 referenced in function _GetBCMsgsFromID
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCStart@12 referenced in function _GetBCMsgsFromID
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceFree@4 referenced in function _main
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCAsyncMsgCreateRTtoBC@36 referenced in function _main
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCFrameCreate@28 referenced in function _main
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCOpCodeCreate@28 referenced in function _main
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCMsgCreateBCtoRT@32 referenced in function _main
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCDataBlkCreate@20 referenced in function _main
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceBCConfigure@8 referenced in function _main
1>bcasync2.obj : error LNK2019: unresolved external symbol _aceInitialize@24 referenced in function _main
1>Win32\Release\bcasync2.exe : fatal error LNK1120: 18 unresolved externals
我相信这些符号可能应该在找不到的“emacepl.vcxproj”文件中找到。 (我不确定。)
但是" emacepl.vcxpro"在我点击“BU-69092S0_3_2_15”中的“设置”应用程序后创建的DDC文件夹中找不到任何地方。
使用此软件时,有没有人遇到此问题?或者有人看到我可能在Visual Studios中做错了什么。非常感谢!
答案 0 :(得分:0)
从问题描述中,似乎产品没有正确安装。
以下是Linux的安装说明。
下载适用于Windows的产品版本时,可以使用类似的文件。
Linux'install.txt'文件的内容。
-------------
Installation
-------------
1. Login as normal unprivileged user and create a working
directory for this package:
(In this example, assume UID is 'devel' & GID is 'users')
mkdir ~/DDC1553[S,D]1_x_y_z_b
2. Change to that directory:
cd ~/DDC1553[S,D]1_x_y_z_b
3. Copy the distribution archive to the working directory:
cp <path_to_archive>/BU69092[S,D]1_x_y_z_b.tgz .
4. Enter 'superuser' mode:
su
5. Extract the distribution archive:
tar -xzpPf BU69092[S,D]1_x_y_z_b.tgz
6. Change the ownership of all distribution files
in the user's home directory to normal user:
chown -R devel.users *
7. Install the Run-time library binaries using the supplied
script 'install-emacepl.sh' in the 'tools' directory:
cd tools
./install-emacepl.sh
cd ..
8. Install the Ace support library binaries (optional) using
the supplied script 'install-acetoemace.sh' in the 'tools'
directory:
cd tools
./install-acetoemace.sh
cd ..
9. Install the TstSim support library binaries (optional) using
the supplied script 'install-tstsim.sh' in the 'tools'
directory:
cd tools
./install-tstsim.sh
cd ..
10. Exit 'superuser' mode:
exit
---------------
Uninstallation
---------------
1. List all files installed onto the system:
tar -tzvf BU69092[S,D]1_x_y_z_b.tgz
2. Delete all listed files, along with the driver objects written
to the kernel modules library tree, and/or the DDC system
directory during the driver build stages.
3. Remove the software suite from the system
--------------------
Further Information
--------------------
Refer to the ~/DDC1553[S,D]1_x_y_z_b/readme.txt file for further
guidance pertaining to the installation and utilization of this
software suite.
请注意有关安装库的说明。 从链接器消息,似乎没有安装库 或者Visual C ++未配置为搜索库。