如何用android编程实现手机通过蓝牙SPP协议同时连接2个蓝牙设备A、B并同时读取A、B的数据?

任务:用android编程实现手机通过蓝牙SPP协议同时连接2个蓝牙设备A、B并同时读取A、B的数据。
我实现的方法:2个蓝牙设备A、B都是SPP server,手机是SPP client。
结果:可以把手机只配对连接A或B,读取数据。如果把手机与A、B都配对连接后,只读取A的数据,B没有反应。
分析:手机、A、B的uuid都是相同的,"00001101-0000-1000-8000-00805F9B34FB",是这个原因吗?

6个回答

应该可以的 ,这个我也不是很了解,多试试就知道了

你有源码吗?我也在做这个,求分享,谢谢

UUID含义是通用唯一识别码 (Universally Unique Identifier)

你要连接的方式是都是手机么?那样好像是可以多个设备进行连接的吧

你要连接的方式是都是手机么?那样好像是可以多个设备进行连接的吧

楼主可以分享下源码吗?谢谢了,274882752@qq.com

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Android中连接蓝牙打印机没有UUID,能配对,但是socket不能连接 怎么办啊 各位大神!
### 1、Android中连接蓝牙打印机没有UUID,能配对,但是socket不能连接 ## - ### 2、网上找了很多都是说用这个UUID : ` SPP_UUID = "00001101-0000-1000-8000-00805F9B34FB"` ,可是还是不行。 ## - ### 3、蓝牙打印机型号是 Zebra ZD420 ## - ### 4、通过配对的设备信息 BluetoothDevice ` device.getUuids() ` 获取的UUID为空 ## - ### 5、连接方法 ``` java public void connect(final String mac, final Handler handler) { new Thread(new Runnable() { @Override public void run() { try { socket = device.createRfcommSocketToServiceRecord(UUID.fromString(BLEConfig.SPP_UUID)); if (socket != null) { System.out.println("socket不为空:开始连接..."); handler.sendEmptyMessage(CONN_START); socket.connect(); out = new PrintStream(socket.getOutputStream()); in = new BufferedReader(new InputStreamReader(socket.getInputStream())); if (socket.isConnected()) { System.out.println("连接成功..."); handler.sendEmptyMessage(CONN_SUCCESS); ReceiveInfoThread.start(); } else { System.out.println("连接失败..."); handler.sendEmptyMessage(CONN_ERROR); } } } catch (IOException e) { e.printStackTrace(); System.out.println("打印机连接异常:"+e.getMessage()); try { socket.close(); } catch (IOException e1) { e1.printStackTrace(); } handler.sendEmptyMessage(CONN_ERROR); } } }).start(); } ```
Android开发蓝牙耳机APP以及UUID的使用问题
我想请教,现在想写一个手机连接耳机的app,现在网上的介绍大多是关于蓝牙串口(spp)的开发,用到了固定的spp的UUID,那么如果我想写连接耳机的app,是不是把UUID换成Headset的UUID就好? 另外关于UUID是的使用是,服务器创建UUID,然后从机获取这个UUID进行连接吗?还是分别在两端输入UUID然后查看是否匹配?刚入门确实懂得不多,请赐教!
请问如何用iOS设备连接键盘并传输数据呢?
最近公司项目需要app连接键盘,买了一个蓝牙串口适配器,我用程序扫描不到,设备官网说iOS没开放spp协议,不知道各位有没有做过类似的功能,想请教大家一下。
JDY-31-SPP蓝牙模块怎么进入命令设置状态
![图片说明](https://img-ask.csdn.net/upload/201811/22/1542897363_737936.png) 网上查的手册是 发送AT\r\n后显示OK 但是我输入后,蓝牙模块回复的是下面这样的![图片说明](https://img-ask.csdn.net/upload/201811/22/1542897420_599542.png 求大神救救我!
Android 与蓝牙键盘两种方式都连接不上,可是与hc06可以连接,uuid的问题还是其他问题
class ItemClickEvent implements AdapterView.OnItemClickListener { @Override public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) { btAdapt.cancelDiscovery(); String str = lstDevices.get(arg2); String[] values = str.split("\\|"); String address=values[1]; Log.e("address",values[1]); uuid = UUID.fromString(SPP_UUID); Log.e("uuid",uuid.toString()); BluetoothDevice btDev = btAdapt.getRemoteDevice(address);//"00:11:00:18:05:45" Method m; try { m = btDev.getClass().getMethod("createRfcommSocket", new Class[] {int.class}); btSocket = (BluetoothSocket) m.invoke(btDev, Integer.valueOf(1)); } catch (SecurityException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (NoSuchMethodException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (IllegalArgumentException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IllegalAccessException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (InvocationTargetException e) { // TODO Auto-generated catch block e.printStackTrace(); } btAdapt.cancelDiscovery(); try { //btSocket = btDev.createRfcommSocketToServiceRecord(uuid); btSocket.connect(); Log.e(TAG, " BT connection established, data transfer link open."); Toast.makeText(Activity01.this, "连接成功,进入控制界面", Toast.LENGTH_SHORT).show(); //setTitle("连接成功"); but4.setClickable(true); but3.setClickable(true); //打开控制继电器实例 } catch (IOException e) { // TODO Auto-generated catch block Log.e(TAG, " Connection failed.", e); //Toast.makeText(getApplicationContext(), "连接失败", Toast.LENGTH_SHORT); > setTitle("连接失败.."); } } }
求怎样使用蓝牙模块.!
BM77SPP03MC2,蓝牙模块。怎么样让它变成一个蓝牙耳机。要外围电路。最好有引脚图。![图片](https://img-ask.csdn.net/upload/201603/17/1458200488_228866.jpg)
图中这款蓝牙模块KG-LCX601K,有谁能介绍一下吗? 请给点意见。
这几天准备做一款蓝牙汽车检测仪(OBD),准备选用一款性价比高的蓝牙模块,跟朋友询问了解到一款KG-LCX601的蓝牙模块,不知道是否能用在这款产品上,请问谁能介绍一下,给点意见?大概规格参数如下: ![图片说明](https://img-ask.csdn.net/upload/201612/05/1480903679_641839.jpg) 名称:康高电子蓝牙模块 型号:KG-LCX601K KG-LCX601K是支持蓝牙3.0 标准协议的蓝牙数据 传输模组,基于业内领先的蓝牙芯片供应商BEKEN BK3231 芯片,具有收发灵敏性高、低成本、体积小、功耗低等优点; 模块内置PCB 射频天线,Class2 模式传输距离达10 米。该模 组具备工业级设计、数据传输稳定、操作简单以及成本优势, 可广泛用于有线(串口)转无线数据传输领域。 二、特征 工业级标准设计 尺寸大小:26.73mm x 12.99mm x 2mm 支持标准BT3.0,兼容2.1、2.0; 支持SPP、HID 协议; 支持UART、I2C、SPI 接口 支持低功耗模式 支持蓝牙Class2 模式 支持多路GPIO 复用 支持数据加密 绿色环保
SPP-PROC-PP是什么,有没有文档
SPP-PROC-PP是什么,有没有文档或者网站介绍。 字数要大于30
安卓粘贴代码后运行出错
原本是一个蓝牙app,在原先的工程里运行正常,但粘贴到新工程后就出错了,app点击“打开蓝牙”按键会崩溃,其他按键倒没问题。 package com.test.blacksaber.bluetooth; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.UUID; import android.app.Activity; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothSocket; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ListView; import android.widget.Toast; import android.widget.ToggleButton; public class MainActivity extends Activity { static final String SPP_UUID = "00001101-0000-1000-8000-00805F9B34FB"; Button btnSearch, btnDis, btnExit; ToggleButton tbtnSwitch; ListView lvBTDevices; ArrayAdapter<String> adtDevices; List<String> lstDevices = new ArrayList<String>(); BluetoothAdapter btAdapt; public static BluetoothSocket btSocket; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); // Button 设置 btnSearch = (Button) this.findViewById(R.id.btnSearch); btnSearch.setOnClickListener(new ClickEvent()); btnExit = (Button) this.findViewById(R.id.btnExit); btnExit.setOnClickListener(new ClickEvent()); btnDis = (Button) this.findViewById(R.id.btnDis); btnDis.setOnClickListener(new ClickEvent()); // ToogleButton设置 tbtnSwitch = (ToggleButton) this.findViewById(R.id.tbtnSwitch); tbtnSwitch.setOnClickListener(new ClickEvent()); // ListView及其数据源 适配器 lvBTDevices = (ListView) this.findViewById(R.id.lvDevices); adtDevices = new ArrayAdapter<String>(MainActivity.this, android.R.layout.simple_list_item_1, lstDevices); lvBTDevices.setAdapter(adtDevices); lvBTDevices.setOnItemClickListener(new ItemClickEvent()); btAdapt = BluetoothAdapter.getDefaultAdapter();// 初始化本机蓝牙功能 if (btAdapt.getState() == BluetoothAdapter.STATE_OFF)// 读取蓝牙状态并显示 tbtnSwitch.setChecked(false); else if (btAdapt.getState() == BluetoothAdapter.STATE_ON) tbtnSwitch.setChecked(true); // 注册Receiver来获取蓝牙设备相关的结果 IntentFilter intent = new IntentFilter(); intent.addAction(BluetoothDevice.ACTION_FOUND);// 用BroadcastReceiver来取得搜索结果 intent.addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED); intent.addAction(BluetoothAdapter.ACTION_SCAN_MODE_CHANGED); intent.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); registerReceiver(searchDevices, intent); } private BroadcastReceiver searchDevices = new BroadcastReceiver() { public void onReceive(Context context, Intent intent) { String action = intent.getAction(); Bundle b = intent.getExtras(); Object[] lstName = b.keySet().toArray(); // 显示所有收到的消息及其细节 for (int i = 0; i < lstName.length; i++) { String keyName = lstName[i].toString(); Log.e(keyName, String.valueOf(b.get(keyName))); } //搜索设备时,取得设备的MAC地址 if (BluetoothDevice.ACTION_FOUND.equals(action)) { BluetoothDevice device = intent .getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); String str= device.getName() + "|" + device.getAddress(); if (lstDevices.indexOf(str) == -1)// 防止重复添加 lstDevices.add(str); // 获取设备名称和mac地址 adtDevices.notifyDataSetChanged(); } } }; @Override protected void onDestroy() { this.unregisterReceiver(searchDevices); super.onDestroy(); android.os.Process.killProcess(android.os.Process.myPid()); } class ItemClickEvent implements AdapterView.OnItemClickListener { @Override public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long arg3) { btAdapt.cancelDiscovery(); String str = lstDevices.get(arg2); String[] values = str.split("\\|"); String address=values[1]; Log.e("address",values[1]); UUID uuid = UUID.fromString(SPP_UUID); BluetoothDevice btDev = btAdapt.getRemoteDevice(address); try { btSocket = btDev .createRfcommSocketToServiceRecord(uuid); btSocket.connect(); //打开波形图实例 Intent intent = new Intent(); intent.setClass(MainActivity.this, WaveDiagram.class); startActivity(intent); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } class ClickEvent implements View.OnClickListener { @Override public void onClick(View v) { if (v == btnSearch)// 搜索蓝牙设备,在BroadcastReceiver显示结果 { if (btAdapt.getState() == BluetoothAdapter.STATE_OFF) {// 如果蓝牙还没开启 Toast.makeText(MainActivity.this, "请先打开蓝牙", 1000).show(); return; } setTitle("本机蓝牙地址:" + btAdapt.getAddress()); lstDevices.clear(); btAdapt.startDiscovery(); } else if (v == tbtnSwitch) {// 本机蓝牙启动/关闭 if (tbtnSwitch.isChecked() == false) btAdapt.enable(); else if (tbtnSwitch.isChecked() == true) btAdapt.disable(); } else if (v == btnDis)// 本机可以被搜索 { Intent discoverableIntent = new Intent( BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); discoverableIntent.putExtra( BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, 300); startActivity(discoverableIntent); } else if (v == btnExit) { try { if (btSocket != null) btSocket.close(); } catch (IOException e) { e.printStackTrace(); } MainActivity.this.finish(); } } } } 下面是日志: ![图片说明](https://img-ask.csdn.net/upload/201607/09/1468035853_592714.png) 如何解决,谢谢
ANT编译报错问题?
我的jar包都加上去了,可就是报错。。。? prepare: compile: [javac] Compiling 56 source files to D:\workspace\spp_alm_sys\build\WEB-INF\classes [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\AbstractDBCP.java:13: package org.apache.log4j does not exist [javac] protected static org.apache.log4j.Logger logger = org.apache.log4j.Logger [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBAlm_sys.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBAlm_sys.java:4: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBHkbn1.java:2: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBHkbn1.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBInc.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBInc.java:4: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSms_msg.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSms_msg.java:4: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSso.java:2: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSso.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPAlm_sys.java:2: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPAlm_sys.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPHkbn1.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPHkbn1.java:4: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPInc.java:2: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPInc.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPSso.java:3: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPSso.java:4: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\alm_log\AlmLogControl.java:4: package net.hkbn.prov does not exist [javac] import net.hkbn.prov.*; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\alm_log\AlmLogControl.java:5: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\alm_log\AlmLogControl.java:6: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:2: package com.wutka.jox does not exist [javac] import com.wutka.jox.*; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\CalculateAffectCustomer.java:22: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\CalculateAffectCustomer.java:23: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSGroupUserHelper.java:11: package org.apache.log4j does not exist [javac] import org.apache.log4j.Logger; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSGroupUserHelper.java:24: cannot resolve symbol [javac] symbol : class Logger [javac] location: class sms.SMSGroupUserHelper [javac] Logger logger = Logger.getLogger(SMSGroupUserHelper.class); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:15: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:16: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:18: package org.apache.log4j does not exist [javac] import org.apache.log4j.Logger; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:43: cannot resolve symbol [javac] symbol : class Logger [javac] location: class sms.SMSSender [javac] private Logger logger = Logger.getLogger("SMSSender_tomcat"); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:6: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnection; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:7: package net.hkbn.prov.sql does not exist [javac] import net.hkbn.prov.sql.SqlConnectionFactory; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:5: package jxl does not exist [javac] import jxl.*; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:6: package jxl.write does not exist [javac] import jxl.write.*; [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\AbstractDBCP.java:13: package org.apache.log4j does not exist [javac] protected static org.apache.log4j.Logger logger = org.apache.log4j.Logger [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\AbstractDBCP.java:19: package org.apache.log4j does not exist [javac] org.apache.log4j.PropertyConfigurator [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBAlm_sys.java:22: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.CMDDBAlm_sys [javac] SqlConnection.JDBC).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBAlm_sys.java:21: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.CMDDBAlm_sys [javac] paytvCon = SqlConnectionFactory.getSqlConnection("alm_sys", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBHkbn1.java:16: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.CMDDBHkbn1 [javac] SqlConnection.JDBC).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBHkbn1.java:15: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.CMDDBHkbn1 [javac] paytvCon = SqlConnectionFactory.getSqlConnection("hkbn", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBInc.java:18: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.CMDDBInc [javac] SqlConnection.JDBC).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBInc.java:17: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.CMDDBInc [javac] paytvCon = SqlConnectionFactory.getSqlConnection("inc", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSms_msg.java:19: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.CMDDBSms_msg [javac] SqlConnection.JDBC).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSms_msg.java:18: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.CMDDBSms_msg [javac] paytvCon = SqlConnectionFactory.getSqlConnection("sms_msg", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSso.java:16: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.CMDDBSso [javac] SqlConnection.JDBC).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\CMDDBSso.java:15: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.CMDDBSso [javac] paytvCon = SqlConnectionFactory.getSqlConnection("sso", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPAlm_sys.java:17: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.DBCPAlm_sys [javac] paytvCon = SqlConnectionFactory.getSqlConnection("alm_sys",SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPAlm_sys.java:17: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.DBCPAlm_sys [javac] paytvCon = SqlConnectionFactory.getSqlConnection("alm_sys",SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPHkbn1.java:18: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.DBCPHkbn1 [javac] SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPHkbn1.java:17: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.DBCPHkbn1 [javac] paytvCon = SqlConnectionFactory.getSqlConnection("hkbn", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPInc.java:15: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.DBCPInc [javac] paytvCon = SqlConnectionFactory.getSqlConnection("inc",SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPInc.java:15: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.DBCPInc [javac] paytvCon = SqlConnectionFactory.getSqlConnection("inc",SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPSso.java:18: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class ConnectionFactory.Production.DBCPSso [javac] SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\ConnectionFactory\Production\DBCPSso.java:17: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class ConnectionFactory.Production.DBCPSso [javac] paytvCon = SqlConnectionFactory.getSqlConnection("sso", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\alm_log\AlmLogControl.java:30: cannot resolve symbol [javac] symbol : method Close () [javac] location: class staff.DBconnection [javac] myCon.Close(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\connect\est.java:31: package oracle.jdbc.driver does not exist [javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:17: cannot resolve symbol [javac] symbol : class JOXBeanInputStream [javac] location: class maint_result_code.MyJOXController [javac] JOXBeanInputStream joxIn = new JOXBeanInputStream(in); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:17: cannot resolve symbol [javac] symbol : class JOXBeanInputStream [javac] location: class maint_result_code.MyJOXController [javac] JOXBeanInputStream joxIn = new JOXBeanInputStream(in); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:31: cannot resolve symbol [javac] symbol : class JOXBeanOutputStream [javac] location: class maint_result_code.MyJOXController [javac] JOXBeanOutputStream joxOut = new JOXBeanOutputStream(out); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\maint_result_code\MyJOXController.java:31: cannot resolve symbol [javac] symbol : class JOXBeanOutputStream [javac] location: class maint_result_code.MyJOXController [javac] JOXBeanOutputStream joxOut = new JOXBeanOutputStream(out); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\listBuildJS.java:33: package oracle.jdbc.driver does not exist [javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\listBuildJSBox.java:33: package oracle.jdbc.driver does not exist [javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\searchBSJS.java:71: package oracle.jdbc.driver does not exist [javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\searchCorpBuildingJS.java:31: package oracle.jdbc.driver does not exist [javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\searchCorpBuildingJSBox.java:32: package oracle.jdbc.driver does not exist [javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\searchEstateJS.java:34: package oracle.jdbc.driver does not exist [javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\servlet\searchEstateJSBox.java:34: package oracle.jdbc.driver does not exist [javac] DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver()); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSGroupUserHelper.java:24: cannot resolve symbol [javac] symbol : variable Logger [javac] location: class sms.SMSGroupUserHelper [javac] Logger logger = Logger.getLogger(SMSGroupUserHelper.class); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:43: cannot resolve symbol [javac] symbol : variable Logger [javac] location: class sms.SMSSender [javac] private Logger logger = Logger.getLogger("SMSSender_tomcat"); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:269: cannot resolve symbol [javac] symbol : class SqlConnection [javac] location: class sms.SMSSender [javac] SqlConnection abCon=SqlConnectionFactory.getSqlConnection("sms_msg",SqlConnection.JDBC); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:269: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class sms.SMSSender [javac] SqlConnection abCon=SqlConnectionFactory.getSqlConnection("sms_msg",SqlConnection.JDBC); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:269: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class sms.SMSSender [javac] SqlConnection abCon=SqlConnectionFactory.getSqlConnection("sms_msg",SqlConnection.JDBC); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\sms\SMSSender.java:549: cannot resolve symbol [javac] symbol : variable Logger [javac] location: class sms.SMSSender [javac] smsSender.logger = Logger.getLogger("SMSSender_cronjob"); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:31: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class staff.DBconnection [javac] SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:30: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class staff.DBconnection [javac] con = SqlConnectionFactory.getSqlConnection("alm_sys", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:65: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class staff.DBconnection [javac] SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:64: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class staff.DBconnection [javac] sms = SqlConnectionFactory.getSqlConnection("sms_msg", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:98: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class staff.DBconnection [javac] SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:97: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class staff.DBconnection [javac] ora = SqlConnectionFactory.getSqlConnection("hkbn", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:131: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class staff.DBconnection [javac] SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:130: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class staff.DBconnection [javac] sso = SqlConnectionFactory.getSqlConnection("sso", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:164: cannot resolve symbol [javac] symbol : variable SqlConnection [javac] location: class staff.DBconnection [javac] SqlConnection.JNDI).getConnection(); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\staff\DBconnection.java:163: cannot resolve symbol [javac] symbol : variable SqlConnectionFactory [javac] location: class staff.DBconnection [javac] inc = SqlConnectionFactory.getSqlConnection("inc", [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:35: cannot resolve symbol [javac] symbol : class WritableWorkbook [javac] location: class view.CreateAlmExcel [javac] WritableWorkbook book= Workbook.createWorkbook(new File(fp)); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:35: cannot resolve symbol [javac] symbol : variable Workbook [javac] location: class view.CreateAlmExcel [javac] WritableWorkbook book= Workbook.createWorkbook(new File(fp)); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:36: cannot resolve symbol [javac] symbol : class WritableSheet [javac] location: class view.CreateAlmExcel [javac] WritableSheet sheet=book.createSheet("sheep1",0); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:37: cannot resolve symbol [javac] symbol : class WritableFont [javac] location: class view.CreateAlmExcel [javac] WritableFont wf = new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD,false); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:37: cannot resolve symbol [javac] symbol : class WritableFont [javac] location: class view.CreateAlmExcel [javac] WritableFont wf = new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD,false); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:37: cannot resolve symbol [javac] symbol : variable WritableFont [javac] location: class view.CreateAlmExcel [javac] WritableFont wf = new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD,false); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:37: cannot resolve symbol [javac] symbol : variable WritableFont [javac] location: class view.CreateAlmExcel [javac] WritableFont wf = new WritableFont(WritableFont.TIMES,10,WritableFont.NO_BOLD,false); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:38: cannot resolve symbol [javac] symbol : class WritableCellFormat [javac] location: class view.CreateAlmExcel [javac] WritableCellFormat wcfblue = new WritableCellFormat(wf); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:38: cannot resolve symbol [javac] symbol : class WritableCellFormat [javac] location: class view.CreateAlmExcel [javac] WritableCellFormat wcfblue = new WritableCellFormat(wf); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:39: cannot resolve symbol [javac] symbol : variable Colour [javac] location: class view.CreateAlmExcel [javac] wcfblue.setBackground(Colour.ICE_BLUE); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:40: cannot resolve symbol [javac] symbol : class WritableCellFormat [javac] location: class view.CreateAlmExcel [javac] WritableCellFormat wcfred = new WritableCellFormat(wf); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:40: cannot resolve symbol [javac] symbol : class WritableCellFormat [javac] location: class view.CreateAlmExcel [javac] WritableCellFormat wcfred = new WritableCellFormat(wf); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:41: cannot resolve symbol [javac] symbol : variable Colour [javac] location: class view.CreateAlmExcel [javac] wcfred.setBackground(Colour.CORAL); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:42: cannot resolve symbol [javac] symbol : class WritableCellFormat [javac] location: class view.CreateAlmExcel [javac] WritableCellFormat wcfyellow = new WritableCellFormat(wf); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:42: cannot resolve symbol [javac] symbol : class WritableCellFormat [javac] location: class view.CreateAlmExcel [javac] WritableCellFormat wcfyellow = new WritableCellFormat(wf); [javac] ^ [javac] D:\workspace\spp_alm_sys\java_src\view\CreateAlmExcel.java:43: cannot resolve symbol [javac] symbol : variable Colour [javac] location: class view.CreateAlmExcel [javac] wcfyellow.setBackground(Colour.GREY_50_PERCENT); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 100 errors BUILD FAILED D:\workspace\spp_alm_sys\build.xml:105: Compile failed; see the compiler error output for details. [b]问题补充:[/b] 我把path加进去了,但问题依然存在 <!-- ==================== Compilation Classpath =========================== --> <path id="compile.classpath"> <!-- Include all elements that Tomcat exposes to applications --> <pathelement location="${catalina.home}/common/classes" /> <fileset dir="${catalina.home}/common/endorsed"> <include name="*.jar" /> </fileset> <fileset dir="${catalina.home}/common/lib"> <include name="*.jar" /> <include name="*.zip" /> </fileset> <pathelement location="${catalina.home}/shared/classes" /> <fileset dir="${catalina.home}/shared/lib"> <include name="*.jar" /> </fileset> <pathelement location="${build.home}/WEB-INF/classes" /> <fileset dir="${web.home}/WEB-INF/lib"> <include name="**/*.jar" /> </fileset> <fileset dir="${script.home}/lib"> <include name="**/*.jar" /> </fileset> <pathelement location="${script.home}/lib"/> </path>
在Eclipes中ANT打包出错,不知道如何解决
[code="java"]//出错信息 Buildfile: D:\workspace\spp_db_connection\build.xml compile: [delete] Deleting directory D:\workspace\spp_db_connection\build [mkdir] Created dir: D:\workspace\spp_db_connection\build [copy] Copying 1 file to D:\workspace\spp_db_connection\build [javac] Compiling 4 source files to D:\workspace\spp_db_connection\build [javac] D:\workspace\spp_db_connection\src\net\hkbn\prov\sql\SqlConnection.java:26: cannot access java.lang.Object [javac] bad class file: C:\Program Files\Java\jre1.6.0_07\lib\rt.jar(java/lang/Object.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] Connection getConnection(); [javac] ^ [javac] 1 error BUILD FAILED D:\workspace\spp_db_connection\build.xml:64: Compile failed; see the compiler error output for details. [/code]
public函数在timer中执行设置背景图片失败
如题,写的是一个判断光标位置的函数</br> 问题在于他的backgroundimageChange事件会触发,</br> 确认图片有效,且没有逻辑错误, 但是显示出的效果始终没有变化 </br> 以下为代码</br> ``` public void icon_bgset(int Mouse_X,int Mouse_Y) { //取坐标 int FrmX = locationX + deskTop.DeskTopLocation.X + 8; int FrmY = locationY + deskTop.DeskTopLocation.Y + 30; int FrmWidth = this.Width; int FrmHeight = this.Height; //判断鼠标位置 if ((Mouse_X >= FrmX && Mouse_X <= FrmX + FrmWidth) && (Mouse_Y >= FrmY && Mouse_Y <= FrmY + FrmHeight)) { deskTop.plans = 1;//光标在icon界面时候 } else { deskTop.plans = 0;//离开icon的时候 } switch (deskTop.plans) { case 1: if (this.BackgroundImage == null) { //Image winBackimg = Image.FromFile(Application.StartupPath + "\\img0.jpg"); Bitmap spp = new Bitmap(Application.StartupPath + "\\BKGD.png"); this.BackgroundImage = spp; DeskIcon.Icon_ISIN = true; } break; case 0: if (this.BackgroundImage != null) { this.BackgroundImage = null; DeskIcon.Icon_ISIN = false; } break; } } ```
propertyGrid 属性排序
propertyGrid 属性排序如何不为按照字母排序,就按照我自己写的排序呢? CProperty spT0 = new CProperty("环境温度(K)", 298); spT0.Category = "环境"; CProperty spP0 = new CProperty("环境压力(Pa)", 100000); spP0.Category = "环境"; CProperty spPint = new CProperty("管道的最初的压力(Pa)", 4200000); spPint.Category = "管道"; CProperty spUw = new CProperty("风速(m/s)", 2); spUw.Category = "环境"; CProperty spQor = new CProperty("泄漏速率(kg/s)", 0.46); spQor.Category = "管道"; CProperty spThetaj = new CProperty("泄漏孔轴线与水平面之间的垂直夹角(°)", 85); spThetaj.Category = "计算参数"; CProperty spThetajv = new CProperty("孔口轴线与水平面在风速方向之间的夹角(°)", 0); spThetajv.Category = "计算参数"; CProperty spX = new CProperty("观测点到喷射孔的水平距离(m)", 150); spX.Category = "计算参数"; CProperty spXpicker = new CProperty("距离间隔(m)", 3); spXpicker.Category = "计算参数"; CProperty spPw = new CProperty("环境温度下水的分压力(Pa)", 1705); spPw.Category = "环境"; CPropertyCollection spCollection = new CPropertyCollection(); spCollection.Add(spT0); spCollection.Add(spP0); spCollection.Add(spPint); spCollection.Add(spUw); spCollection.Add(spQor); spCollection.Add(spThetaj); spCollection.Add(spThetajv); spCollection.Add(spX); spCollection.Add(spPw); spCollection.Add(spXpicker); pgcJetFire.SelectedObject = spCollection;
u3d问题 求高手解惑!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
先创建一个2dSprite(图片A)预制体帮上脚本classA ![图片说明](https://img-ask.csdn.net/upload/201703/30/1490806705_835520.png) 然后在创建一个空的GameObject绑上classB public Sprite sp这里给他绑一个图片(B) ![图片说明](https://img-ask.csdn.net/upload/201703/30/1490809034_927989.png) 在创建一个空的GameObject绑上play脚本public ClassA spp;把预制体绑上来 ![图片说明](https://img-ask.csdn.net/upload/201703/30/1490809210_532541.png) 我想实现运行时长生一个预制体的克隆并把图片换了 为什么会出错?错在哪里求解惑 报错 ![图片说明](https://img-ask.csdn.net/upload/201703/30/1490809006_606009.png)
caffe生成解决方案时出错
编译环境:win10 vs2017 15.5.6 boost_1_70_0 主要报错: Unknown compiler version - please run the configure tests and report the results 再次点生成解决方案时的主要报错: for each 语句不能在“std::array *”类型的变量上操作 ; “std::array”: 模板 参数太少 ; 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib” 等等; 因为只能一条条复制,所以如有需要,可提供详细错误; 下面是重新生成解决方案的具体报错,有大佬来救救我吗,感激不尽!需要更详细信息可以直说。 报错:1>------ 已启动全部重新生成: 项目: libcaffe, 配置: Debug x64 ------ 1>ProtoCompile.cmd : Create proto temp directory "C:\Users\Kay Chow\Documents\caffe-master\windows\..\src\caffe\proto\temp" 1>ProtoCompile.cmd : Generating "C:\Users\Kay Chow\Documents\caffe-master\windows\..\src\caffe\proto\temp\caffe.pb.h" and "C:\Users\Kay Chow\Documents\caffe-master\windows\..\src\caffe\proto\temp\caffe.pb.cc" 1>ProtoCompile.cmd : Create proto include directory 1>子目录或文件 C:\Users\Kay Chow\Documents\caffe-master\windows\..\include\caffe\proto 已经存在。 1>ProtoCompile.cmd : Compare newly compiled caffe.pb.h with existing one 1>blob.cpp 1>common.cpp 1>data_reader.cpp 1>data_transformer.cpp 1>internal_thread.cpp 1>layer.cpp 1>absval_layer.cpp 1>accuracy_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>argmax_layer.cpp 1>base_conv_layer.cpp 1>base_data_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>batch_norm_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>batch_reindex_layer.cpp 1>bias_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>bnll_layer.cpp 1>box_annotator_ohem_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>concat_layer.cpp 1>contrastive_loss_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>conv_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>crop_layer.cpp 1>cudnn_conv_layer.cpp 1>cudnn_lcn_layer.cpp 1>cudnn_lrn_layer.cpp 1>cudnn_pooling_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>cudnn_relu_layer.cpp 1>cudnn_sigmoid_layer.cpp 1>cudnn_softmax_layer.cpp 1>cudnn_tanh_layer.cpp 1>data_layer.cpp 1>deconv_layer.cpp 1>dropout_layer.cpp 1>dummy_data_layer.cpp 1>eltwise_layer.cpp 1>elu_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>embed_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>euclidean_loss_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>exp_layer.cpp 1>filter_layer.cpp 1>flatten_layer.cpp 1>hdf5_data_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>hdf5_output_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>hinge_loss_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>im2col_layer.cpp 1>image_data_layer.cpp 1>infogain_loss_layer.cpp 1>inner_product_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>input_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>log_layer.cpp 1>loss_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>lrn_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>memory_data_layer.cpp 1>multinomial_logistic_loss_layer.cpp 1>mvn_layer.cpp 1>neuron_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>parameter_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>pooling_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>power_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>prelu_layer.cpp 1>psroi_pooling_layer.cpp 1>reduction_layer.cpp 1>relu_layer.cpp 1>reshape_layer.cpp 1>scale_layer.cpp 1>sigmoid_cross_entropy_loss_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>sigmoid_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>silence_layer.cpp 1>slice_layer.cpp 1>smooth_l1_loss_layer.cpp 1>smooth_L1_loss_ohem_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>softmax_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>softmax_loss_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>softmax_loss_ohem_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>split_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>spp_layer.cpp 1>tanh_layer.cpp 1>threshold_layer.cpp 1>tile_layer.cpp 1>window_data_layer.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>layer_factory.cpp 1>net.cpp 1>parallel.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>caffe.pb.cc 1>solver.cpp 1>adadelta_solver.cpp 1>adagrad_solver.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>adam_solver.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>nesterov_solver.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>rmsprop_solver.cpp 1>sgd_solver.cpp 1>syncedmem.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>benchmark.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>blocking_queue.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>cudnn.cpp 1>db.cpp 1>db_leveldb.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>db_lmdb.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>hdf5.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>im2col.cpp 1>insert_splits.cpp 1>io.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>math_functions.cpp 1>signal_handler.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>upgrade_proto.cpp 1>Unknown compiler version - please run the configure tests and report the results 1>Unknown compiler version - please run the configure tests and report the results 1>libcaffe.vcxproj -> C:\Users\Kay Chow\Documents\caffe-master\windows\..\Build\x64\Debug\libcaffe.lib 1>BinplaceCudaDependencies : CPU only build, don't copy cuda dependencies. 2>------ 已启动全部重新生成: 项目: caffe, 配置: Debug x64 ------ 3>------ 已启动全部重新生成: 项目: caffe.managed, 配置: Debug x64 ------ 4>------ 已启动全部重新生成: 项目: convert_cifar_data, 配置: Debug x64 ------ 5>------ 已启动全部重新生成: 项目: classification, 配置: Debug x64 ------ 6>------ 已启动全部重新生成: 项目: convert_mnist_data, 配置: Debug x64 ------ 7>------ 已启动全部重新生成: 项目: convert_mnist_siamese_data, 配置: Debug x64 ------ 8>------ 已启动全部重新生成: 项目: upgrade_net_proto_binary, 配置: Debug x64 ------ 9>------ 已启动全部重新生成: 项目: upgrade_net_proto_text, 配置: Debug x64 ------ 2>caffe.cpp 9>upgrade_net_proto_text.cpp 2>Unknown compiler version - please run the configure tests and report the results 4>convert_cifar_data.cpp 3>Stdafx.cpp 9>Unknown compiler version - please run the configure tests and report the results 5>classification.cpp 6>convert_mnist_data.cpp 7>convert_mnist_siamese_data.cpp 4>Unknown compiler version - please run the configure tests and report the results 5>Unknown compiler version - please run the configure tests and report the results 8>upgrade_net_proto_binary.cpp 6>Unknown compiler version - please run the configure tests and report the results 8>Unknown compiler version - please run the configure tests and report the results 7>Unknown compiler version - please run the configure tests and report the results 3>AssemblyInfo.cpp 3>caffelib.cpp 3>caffelib.cpp(61): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(62): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址 3>caffelib.cpp(62): note: 编译器将“^”替换为“*”以继续进行分析 3>caffelib.cpp(68): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(68): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址 3>caffelib.cpp(68): note: 编译器将“^”替换为“*”以继续进行分析 3>caffelib.cpp(69): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址 3>caffelib.cpp(69): note: 编译器将“^”替换为“*”以继续进行分析 3>caffelib.cpp(127): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(128): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址 3>caffelib.cpp(128): note: 编译器将“^”替换为“*”以继续进行分析 3>caffelib.cpp(136): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(136): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址 3>caffelib.cpp(136): note: 编译器将“^”替换为“*”以继续进行分析 3>caffelib.cpp(137): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址 3>caffelib.cpp(137): note: 编译器将“^”替换为“*”以继续进行分析 3>caffelib.cpp(64): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(64): error C2027: 使用了未定义类型“std::array” 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(64): error C3536: “outputs”: 初始化之前无法使用 3>caffelib.cpp(64): error C2109: 下标要求数组或指针类型 3>caffelib.cpp(65): error C2440: “return”: 无法从“int”转换为“std::array *” 3>caffelib.cpp(65): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换 3>caffelib.cpp(71): error C3285: for each 语句不能在“std::array *”类型的变量上操作 3>caffelib.cpp(72): error C2065: “name”: 未声明的标识符 3>caffelib.cpp(74): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(74): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址 3>caffelib.cpp(74): note: 编译器将“^”替换为“*”以继续进行分析 3>caffelib.cpp(74): error C2027: 使用了未定义类型“std::array” 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(78): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(78): error C2027: 使用了未定义类型“std::array” 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(78): error C3536: “values”: 初始化之前无法使用 3>caffelib.cpp(78): error C2109: 下标要求数组或指针类型 3>caffelib.cpp(79): error C3536: “outputs”: 初始化之前无法使用 3>caffelib.cpp(79): error C2109: 下标要求数组或指针类型 3>caffelib.cpp(81): error C2440: “return”: 无法从“int”转换为“std::array *” 3>caffelib.cpp(81): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换 3>caffelib.cpp(132): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(132): error C2027: 使用了未定义类型“std::array” 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(132): error C3536: “outputs”: 初始化之前无法使用 3>caffelib.cpp(132): error C2109: 下标要求数组或指针类型 3>caffelib.cpp(133): error C2440: “return”: 无法从“int”转换为“std::array *” 3>caffelib.cpp(133): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换 3>caffelib.cpp(141): error C3285: for each 语句不能在“std::array *”类型的变量上操作 3>caffelib.cpp(142): error C2065: “name”: 未声明的标识符 3>caffelib.cpp(144): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(144): error C3699: “^”: 不能在类型“std::array”上使用此间接寻址 3>caffelib.cpp(144): note: 编译器将“^”替换为“*”以继续进行分析 3>caffelib.cpp(144): error C2027: 使用了未定义类型“std::array” 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(148): error C2976: “std::array”: 模板 参数太少 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(148): error C2027: 使用了未定义类型“std::array” 3>D:\VS2017\VC\Tools\MSVC\14.12.25827\include\utility(474): note: 参见“std::array”的声明 3>caffelib.cpp(148): error C3536: “values”: 初始化之前无法使用 3>caffelib.cpp(148): error C2109: 下标要求数组或指针类型 3>caffelib.cpp(149): error C3536: “outputs”: 初始化之前无法使用 3>caffelib.cpp(149): error C2109: 下标要求数组或指针类型 3>caffelib.cpp(151): error C2440: “return”: 无法从“int”转换为“std::array *” 3>caffelib.cpp(151): note: 从整型转换为指针类型要求 reinterpret_cast、C 样式转换或函数样式转换 3>已完成生成项目“caffe.managed.vcxproj”的操作 - 失败。 4>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib” 10>------ 已启动全部重新生成: 项目: upgrade_solver_proto_text, 配置: Debug x64 ------ 4>已完成生成项目“convert_cifar_data.vcxproj”的操作 - 失败。 6>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib” 6>已完成生成项目“convert_mnist_data.vcxproj”的操作 - 失败。 10>upgrade_solver_proto_text.cpp 7>LINK : fatal error LNK1104: 无法打开文件“libboost_thread-vc140-mt-gd-1_59.lib” 7>已完成生成项目“convert_mnist_siamese_data.vcxproj”的操作 - 失败。 10>Unknown compiler version - please run the configure tests and report the results 9>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib” 9>已完成生成项目“upgrade_net_proto_text.vcxproj”的操作 - 失败。 8>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib” 8>已完成生成项目“upgrade_net_proto_binary.vcxproj”的操作 - 失败。 5>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib” 5>已完成生成项目“classification.vcxproj”的操作 - 失败。 2>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib” 2>已完成生成项目“caffe.vcxproj”的操作 - 失败。 11>------ 已启动全部重新生成: 项目: compute_image_mean, 配置: Debug x64 ------ 12>------ 已启动全部重新生成: 项目: convert_imageset, 配置: Debug x64 ------ 13>------ 已启动全部重新生成: 项目: extract_features, 配置: Debug x64 ------ 14>------ 已启动全部重新生成: 项目: test_all, 配置: Debug x64 ------ 15>------ 已启动全部重新生成: 项目: pycaffe, 配置: Debug x64 ------ 16>------ 已启动全部重新生成: 项目: matcaffe, 配置: Debug x64 ------ 15>Skipping project pycaffe, Python support is not enabled in CommonSettings.props. 16>Skipping project matcaffe, Matlab support is not enabled in CommonSettings.props. 12>convert_imageset.cpp 11>compute_image_mean.cpp 13>extract_features.cpp 14>test_accuracy_layer.cpp 14>test_argmax_layer.cpp 14>test_batch_norm_layer.cpp 14>test_batch_reindex_layer.cpp 14>test_benchmark.cpp 14>test_bias_layer.cpp 14>test_blob.cpp 14>test_caffe_main.cpp 14>Unknown compiler version - please run the configure tests and report the results 13>Unknown compiler version - please run the configure tests and report the results 12>Unknown compiler version - please run the configure tests and report the results 11>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 10>LINK : fatal error LNK1104: 无法打开文件“libboost_date_time-vc140-mt-gd-1_59.lib” 10>已完成生成项目“upgrade_solver_proto_text.vcxproj”的操作 - 失败。 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 11>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib” 11>已完成生成项目“compute_image_mean.vcxproj”的操作 - 失败。 12>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib” 12>已完成生成项目“convert_imageset.vcxproj”的操作 - 失败。 13>LINK : fatal error LNK1104: 无法打开文件“libboost_filesystem-vc140-mt-gd-1_59.lib” 13>已完成生成项目“extract_features.vcxproj”的操作 - 失败。 14>test_common.cpp 14>test_concat_layer.cpp 14>test_contrastive_loss_layer.cpp 14>test_convolution_layer.cpp 14>test_crop_layer.cpp 14>test_data_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_data_transformer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_db.cpp 14>test_deconvolution_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_dummy_data_layer.cpp 14>test_eltwise_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_embed_layer.cpp 14>test_euclidean_loss_layer.cpp 14>test_filler.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_filter_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_flatten_layer.cpp 14>test_gradient_based_solver.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_hdf5data_layer.cpp 14>test_hdf5_output_layer.cpp 14>test_hinge_loss_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_im2col_layer.cpp 14>test_image_data_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_infogain_loss_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_inner_product_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_internal_thread.cpp 14>test_io.cpp 14>test_layer_factory.cpp 14>test_lrn_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_math_functions.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_maxpool_dropout_layers.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_memory_data_layer.cpp 14>test_multinomial_logistic_loss_layer.cpp 14>test_mvn_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_net.cpp 14>test_neuron_layer.cpp 14>test_platform.cpp 14>test_pooling_layer.cpp 14>test_power_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_protobuf.cpp 14>test_random_number_generator.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_reduction_layer.cpp 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(1010): error C2220: 警告被视为错误 - 没有生成“object”文件 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 编译 类 模板 成员函数 "void caffe::NetTest_TestLossWeightMidNet_Test<T>::TestBody(void)" 时 14> with 14> [ 14> T=Type 14> ] 14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7341): note: 参见对正在编译的 类 模板 实例化 "caffe::NetTest_TestLossWeightMidNet_Test<T>" 的引用 14> with 14> [ 14> T=Type 14> ] (编译源文件 ..\..\src\caffe\test\test_net.cpp) 14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7327): note: 编译 类 模板 成员函数 "bool testing::internal::TypeParameterizedTest<caffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test>,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)" 时 (编译源文件 ..\..\src\caffe\test\test_net.cpp) 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 参见对正在编译的函数 模板 实例化“bool testing::internal::TypeParameterizedTest<caffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test>,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)”的引用 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(992): note: 参见对正在编译的 类 模板 实例化 "testing::internal::TypeParameterizedTest<caffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeightMidNet_Test>,caffe::gtest_type_params_NetTest_>" 的引用 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(1010): warning C4838: 从“double”转换到“Dtype”需要收缩转换 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(961): warning C4838: 从“double”转换到“Dtype”需要收缩转换 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 编译 类 模板 成员函数 "void caffe::NetTest_TestLossWeight_Test<T>::TestBody(void)" 时 14> with 14> [ 14> T=Type 14> ] 14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7341): note: 参见对正在编译的 类 模板 实例化 "caffe::NetTest_TestLossWeight_Test<T>" 的引用 14> with 14> [ 14> T=Type 14> ] (编译源文件 ..\..\src\caffe\test\test_net.cpp) 14>c:\users\kay chow\documents\caffe-master\src\gtest\gtest.h(7327): note: 编译 类 模板 成员函数 "bool testing::internal::TypeParameterizedTest<caffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test>,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)" 时 (编译源文件 ..\..\src\caffe\test\test_net.cpp) 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 参见对正在编译的函数 模板 实例化“bool testing::internal::TypeParameterizedTest<caffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test>,caffe::gtest_type_params_NetTest_>::Register(const char *,const char *,const char *,int)”的引用 14>c:\users\kay chow\documents\caffe-master\src\caffe\test\test_net.cpp(941): note: 参见对正在编译的 类 模板 实例化 "testing::internal::TypeParameterizedTest<caffe::NetTest,testing::internal::TemplateSel<caffe::NetTest_TestLossWeight_Test>,caffe::gtest_type_params_NetTest_>" 的引用 14>test_reshape_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_scale_layer.cpp 14>test_sigmoid_cross_entropy_loss_layer.cpp 14>test_slice_layer.cpp 14>test_softmax_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_softmax_with_loss_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_solver.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_solver_factory.cpp 14>test_split_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_spp_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_stochastic_pooling.cpp 14>test_syncedmem.cpp 14>test_tanh_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_threshold_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>Unknown compiler version - please run the configure tests and report the results 14>test_tile_layer.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>test_upgrade_proto.cpp 14>test_util_blas.cpp 14>gtest-all.cpp 14>Unknown compiler version - please run the configure tests and report the results 14>已完成生成项目“test_all.vcxproj”的操作 - 失败。 ========== 全部重新生成: 成功 3 个,失败 13 个,跳过 0 个 ==========
关于遗传算法的高维文本聚类问题
目前的情况是:针对文本聚类的问题已做了预处理(当然特征提取的也不是特别完美。。),目前用遗传算法对实际文本进行聚类,已经初步得到一个很好的聚类结果,中间有一点小创新,但是由于创新性不高,老师不让发论文。。。 在研究文本聚类的时候发现一问题。大家都知道,在特征表示时,因为数据的稀疏性会导致维数大,耗时等问题,就出现很多针对稀疏性的降维方法。。(最近也看了很多像SPP等降维方法)但是我就是因为没有降维才得到了很好的聚类结果,而遗传算法的操作算子恰对原数据的稀疏性破坏不大,所以聚类结果才较好。。所以现在想知道还有什么算法能够和遗传算法结合,且操作起来也不会破坏数据的稀疏性的其他算法。。还有在各大网站上搜索稀疏性都是关于降维的。。。。我就想看看有没有不用降维的。。。当然我这维数确实很高。。 希望能和做相关方面研究的牛人们交流交流~~多多指导~~~~
ubantu16.04安装caffe,最后运行测试的时候出现问题,求高手解答
CXX src/caffe/layers/cudnn_pooling_layer.cpp CXX src/caffe/layers/spp_layer.cpp CXX src/caffe/layers/relu_layer.cpp CXX src/caffe/layers/input_layer.cpp CXX src/caffe/layers/scale_layer.cpp CXX src/caffe/layers/bias_layer.cpp CXX src/caffe/layers/cudnn_lcn_layer.cpp CXX src/caffe/layers/cudnn_tanh_layer.cpp CXX src/caffe/layers/cudnn_sigmoid_layer.cpp CXX src/caffe/layers/split_layer.cpp CXX src/caffe/layers/inner_product_layer.cpp CXX src/caffe/layers/reshape_layer.cpp CXX src/caffe/layers/threshold_layer.cpp CXX src/caffe/layers/concat_layer.cpp CXX src/caffe/layers/tanh_layer.cpp CXX src/caffe/layers/embed_layer.cpp CXX src/caffe/solver.cpp CXX src/caffe/internal_thread.cpp CXX src/caffe/solvers/nesterov_solver.cpp CXX src/caffe/solvers/adam_solver.cpp CXX src/caffe/solvers/adagrad_solver.cpp CXX src/caffe/solvers/adadelta_solver.cpp CXX src/caffe/solvers/rmsprop_solver.cpp CXX src/caffe/solvers/sgd_solver.cpp CXX src/caffe/data_transformer.cpp CXX src/caffe/blob.cpp NVCC src/caffe/util/math_functions.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/util/im2col.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/split_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/cudnn_softmax_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/cudnn_lcn_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/bias_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/prelu_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/crop_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/contrastive_loss_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/log_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/hdf5_data_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/power_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/tanh_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/absval_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/softmax_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/elu_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/scale_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/slice_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/im2col_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/conv_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/layers/cudnn_lrn_layer.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). NVCC src/caffe/solvers/nesterov_solver.cu nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). LD -o .build_release/lib/libcaffe.so.1.0.0 CXX/LD -o .build_release/test/test_all.testbin src/caffe/test/test_caffe_main.cpp .build_release/tools/caffe make: .build_release/tools/caffe: Command not found Makefile:532: recipe for target 'runtest' failed make: *** [runtest] Error 127 minglei@minglei:~/caffe$
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小人工智障。 思路可以运用在不同地方,主要介绍的是思路。
Linux(服务器编程):15---两种高效的事件处理模式(reactor模式、proactor模式)
前言 同步I/O模型通常用于实现Reactor模式 异步I/O模型则用于实现Proactor模式 最后我们会使用同步I/O方式模拟出Proactor模式 一、Reactor模式 Reactor模式特点 它要求主线程(I/O处理单元)只负责监听文件描述符上是否有事件发生,有的话就立即将时间通知工作线程(逻辑单元)。除此之外,主线程不做任何其他实质性的工作 读写数据,接受新的连接,以及处...
为什么要学数据结构?
一、前言 在可视化化程序设计的今天,借助于集成开发环境可以很快地生成程序,程序设计不再是计算机专业人员的专利。很多人认为,只要掌握几种开发工具就可以成为编程高手,其实,这是一种误解。要想成为一个专业的开发人员,至少需要以下三个条件: 1) 能够熟练地选择和设计各种数据结构和算法 2) 至少要能够熟练地掌握一门程序设计语言 3) 熟知所涉及的相关应用领域的知识 其中,后两个条件比较容易实现,而第一个...
C语言魔塔游戏
很早就很想写这个,今天终于写完了。 游戏截图: 编译环境: VS2017 游戏需要一些图片,如果有想要的或者对游戏有什么看法的可以加我的QQ 2985486630 讨论,如果暂时没有回应,可以在博客下方留言,到时候我会看到。 下面我来介绍一下游戏的主要功能和实现方式 首先是玩家的定义,使用结构体,这个名字是可以自己改变的 struct gamerole { char n
进程通信方式总结与盘点
​ 进程通信是指进程之间的信息交换。这里需要和进程同步做一下区分,进程同步控制多个进程按一定顺序执行,进程通信是一种手段,而进程同步是目标。从某方面来讲,进程通信可以解决进程同步问题。 ​ 首先回顾下我们前面博文中讲到的信号量机制,为了实现进程的互斥与同步,需要在进程间交换一定的信息,因此信号量机制也可以被归为进程通信的一种方式,但是也被称为低级进程通信,主要原因为: 效率低:一次只可操作少量的...
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
听说了吗?阿里双11作战室竟1根网线都没有
双11不光是购物狂欢节,更是对技术的一次“大考”,对于阿里巴巴企业内部运营的基础保障技术而言,亦是如此。 回溯双11历史,这背后也经历过“小米加步枪”的阶段:作战室从随处是网线,交换机放地上的“一地狼藉”;到如今媲美5G的wifi网速,到现场却看不到一根网线;从当年使用商用AP(无线路由器),让光明顶双11当天断网一分钟,到全部使用阿里自研AP……阿里巴巴企业智能事业部工程师们提供的基础保障...
在阿里,40岁的奋斗姿势
在阿里,40岁的奋斗姿势 在阿里,什么样的年纪可以称为老呢?35岁? 在云网络,有这样一群人,他们的平均年龄接近40,却刚刚开辟职业生涯的第二战场。 他们的奋斗姿势是什么样的呢? 洛神赋 “翩若惊鸿,婉若游龙。荣曜秋菊,华茂春松。髣髴兮若轻云之蔽月,飘飖兮若流风之回雪。远而望之,皎若太阳升朝霞;迫而察之,灼若芙蕖出渌波。” 爱洛神,爱阿里云 2018年,阿里云网络产品部门启动洛神2.0升...
关于研发效能提升的思考
研发效能提升是最近比较热门的一个话题,本人根据这几年的工作心得,做了一些思考总结,由于个人深度有限,暂且抛转引入。 三要素 任何生产力的提升都离不开这三个因素:人、流程和工具,少了其中任何一个因素都无法实现。 人,即思想,也就是古人说的“道”,道不同不相为谋,是制高点,也是高层建筑的基石。 流程,即方法,也是古人说的“法”。研发效能的提升,也就是要提高投入产出比,既要增加产出,也要减...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
2020年,冯唐49岁:我给20、30岁IT职场年轻人的建议
点击“技术领导力”关注∆  每天早上8:30推送 作者| Mr.K   编辑| Emma 来源| 技术领导力(ID:jishulingdaoli) 前天的推文《冯唐:职场人35岁以后,方法论比经验重要》,收到了不少读者的反馈,觉得挺受启发。其实,冯唐写了不少关于职场方面的文章,都挺不错的。可惜大家只记住了“春风十里不如你”、“如何避免成为油腻腻的中年人”等不那么正经的文章。 本文整理了冯
程序员该看的几部电影
##1、骇客帝国(1999) 概念:在线/离线,递归,循环,矩阵等 剧情简介: 不久的将来,网络黑客尼奥对这个看似正常的现实世界产生了怀疑。 他结识了黑客崔妮蒂,并见到了黑客组织的首领墨菲斯。 墨菲斯告诉他,现实世界其实是由一个名叫“母体”的计算机人工智能系统控制,人们就像他们饲养的动物,没有自由和思想,而尼奥就是能够拯救人类的救世主。 可是,救赎之路从来都不会一帆风顺,到底哪里才是真实的世界?
入职阿里5年,他如何破解“技术债”?
简介: 作者 | 都铎 作为一名技术人,你常常会听到这样的话: “先快速上线” “没时间改” “再缓一缓吧” “以后再解决” “先用临时方案处理” …… 当你埋下的坑越来越多,不知道哪天哪位同学就会踩上一颗雷。特别赞同“人最大的恐惧就是未知,当技术债可说不可见的时候,才是最让人不想解决的时候。” 作为一个程序员,我们反对复制粘贴,但是我们经常会见到相似的代码,相同的二方包,甚至整个代码...
Python绘图,圣诞树,花,爱心 | Turtle篇
每周每日,分享Python实战代码,入门资料,进阶资料,基础语法,爬虫,数据分析,web网站,机器学习,深度学习等等。 公众号回复【进群】沟通交流吧,QQ扫码进群学习吧 微信群 QQ群 1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle()...
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布了 2019年国民经济报告 ,报告中指出:年末中国大陆总人口(包括31个
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ......
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
2020年的1月,我辞掉了我的第一份工作
其实,这篇文章,我应该早点写的,毕竟现在已经2月份了。不过一些其它原因,或者是我的惰性、还有一些迷茫的念头,让自己迟迟没有试着写一点东西,记录下,或者说是总结下自己前3年的工作上的经历、学习的过程。 我自己知道的,在写自己的博客方面,我的文笔很一般,非技术类的文章不想去写;另外我又是一个还比较热衷于技术的人,而平常复杂一点的东西,如果想写文章写的清楚点,是需要足够...
别低估自己的直觉,也别高估自己的智商
所有群全部吵翻天,朋友圈全部沦陷,公众号疯狂转发。这两周没怎么发原创,只发新闻,可能有人注意到了。我不是懒,是文章写了却没发,因为大家的关注力始终在这次的疫情上面,发了也没人看。当然,我...
Java坑人面试题系列: 包装类(中级难度)
Java Magazine上面有一个专门坑人的面试题系列: https://blogs.oracle.com/javamagazine/quiz-2。 这些问题的设计宗旨,主要是测试面试者对Java语言的了解程度,而不是为了用弯弯绕绕的手段把面试者搞蒙。 如果你看过往期的问题,就会发现每一个都不简单。 这些试题模拟了认证考试中的一些难题。 而 “中级(intermediate)” 和 “高级(ad
深度学习入门笔记(十八):卷积神经网络(一)
欢迎关注WX公众号:【程序员管小亮】 专栏——深度学习入门笔记 声明 1)该文章整理自网上的大牛和机器学习专家无私奉献的资料,具体引用的资料请看参考文献。 2)本文仅供学术交流,非商用。所以每一部分具体的参考资料并没有详细对应。如果某部分不小心侵犯了大家的利益,还望海涵,并联系博主删除。 3)博主才疏学浅,文中如有不当之处,请各位指出,共同进步,谢谢。 4)此属于第一版本,若有错误,还需继续修正与...
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。 再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。 下文是原回答,希望能对你能有所启发。 如果我说,这个世界上人真的分三六九等,...
节后首个工作日,企业们集体开晨会让钉钉挂了
By 超神经场景描述:昨天 2 月 3 日,是大部分城市号召远程工作的第一天,全国有接近 2 亿人在家开始远程办公,钉钉上也有超过 1000 万家企业活跃起来。关键词:十一出行 人脸...
Java基础知识点梳理
Java基础知识点梳理 摘要: 虽然已经在实际工作中经常与java打交道,但是一直没系统地对java这门语言进行梳理和总结,掌握的知识也比较零散。恰好利用这段时间重新认识下java,并对一些常见的语法和知识点做个总结与回顾,一方面为了加深印象,方便后面查阅,一方面为了学好java打下基础。 Java简介 java语言于1995年正式推出,最开始被命名为Oak语言,由James Gosling(詹姆
2020年全新Java学习路线图,含配套视频,学完即为中级Java程序员!!
新的一年来临,突如其来的疫情打破了平静的生活! 在家的你是否很无聊,如果无聊就来学习吧! 世上只有一种投资只赚不赔,那就是学习!!! 传智播客于2020年升级了Java学习线路图,硬核升级,免费放送! 学完你就是中级程序员,能更快一步找到工作! 一、Java基础 JavaSE基础是Java中级程序员的起点,是帮助你从小白到懂得编程的必经之路。 在Java基础板块中有6个子模块的学
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
你也能看懂的:蒙特卡罗方法
蒙特卡罗方法,也称统计模拟方法,是1940年代中期由于科学技术的发展和电子计算机的发明,而提出的一种以概率统计理论为指导的数值计算方法。是指使用随机数(或更常见的伪随机数)来解决很多计算问题的方法 蒙特卡罗方法可以粗略地分成两类:一类是所求解的问题本身具有内在的随机性,借助计算机的运算能力可以直接模拟这种随机的过程。另一种类型是所求解问题可以转化为某种随机分布的特征数,比如随机事件出现的概率,或...
如何优雅地打印一个Java对象?
你好呀,我是沉默王二,一个和黄家驹一样身高,和刘德华一样颜值的程序员。虽然已经写了十多年的 Java 代码,但仍然觉得自己是个菜鸟(请允许我惭愧一下)。 在一个月黑风高的夜晚,我思前想后,觉得再也不能这么蹉跎下去了。于是痛下决心,准备通过输出的方式倒逼输入,以此来修炼自己的内功,从而进阶成为一名真正意义上的大神。与此同时,希望这些文章能够帮助到更多的读者,让大家在学习的路上不再寂寞、空虚和冷。 ...
雷火神山直播超两亿,Web播放器事件监听是怎么实现的?
Web播放器解决了在手机浏览器和PC浏览器上播放音视频数据的问题,让视音频内容可以不依赖用户安装App,就能进行播放以及在社交平台进行传播。在视频业务大数据平台中,播放数据的统计分析非常重要,所以Web播放器在使用过程中,需要对其内部的数据进行收集并上报至服务端,此时,就需要对发生在其内部的一些播放行为进行事件监听。 那么Web播放器事件监听是怎么实现的呢? 01 监听事件明细表 名...
相关热词 c#导入fbx c#中屏蔽键盘某个键 c#正态概率密度 c#和数据库登陆界面设计 c# 高斯消去法 c# codedom c#读取cad文件文本 c# 控制全局鼠标移动 c# temp 目录 bytes初始化 c#
立即提问