小白求问:编译报错 undefined reference to 如何解决

//头文件
#ifndef SLINKLIST_H
#define SLINKLIST_H

template
class list
{
public:
virtual void clear() = 0;
virtual int length()const = 0;
virtual void insert(int i, const elemType& x) = 0;
virtual void remove(int i) = 0;
virtual void traverse()const = 0;
virtual ~list() {};
};

template
class sLinkList :public list
{
private:
struct node{
elemType data;
node* next, * tail;

    node(const elemType& x, node* n = nullptr)
    {
        data = x; next = n;
    }
    node() :next(nullptr) {}
    ~node() {}
};
node* head;
node* tail;
int currentLength;

node* move(int i)const;

public:
sLinkList();
~sLinkList() {clear(); delete head; delete tail; }
void clear();
int length()const { return currentLength; }
void insert(int i, const elemType &x);
void remove(int i);
void traverse()const;
void erase(const elemType &x, const elemType &y);
};

#endif

//实现文件
#include "sLinkList.h"
#include
using namespace std;

template
typename sLinkList::node* sLinkList::move(int i)const
{
node* p = head;
while (i-- >= 0) p = p->next;
return p;
}

template
sLinkList::sLinkList()
{
head = new node;
tail = new node;
head->next = tail;
currentLength = 0;
}

template
void sLinkList::clear()
{
node* p = head->next, * q;
head->next = nullptr;
while (p != tail) {
q = p->next;
delete p;
p = q;
}
currentLength = 0;
}

template
void sLinkList::insert(int i, const elemType &x)
{
node* pos;

pos = move(i - 1);
pos->next = new node(x, pos->next);
++currentLength;

}

template
void sLinkList::remove(int i)
{
node* pos, * delp;

pos = move(i - 1);
delp = pos->next;
pos->next = delp->next;
delete delp;
--currentLength;

}

template
void sLinkList::erase(const elemType &x, const elemType &y)
{
node* p;
int i = 0;

p = head;
while (p->next!=tail)
{
    if (p->next->data >= x && p->next->data <= y) remove(i);
    else { p = p->next; i++; }
}

}

template
void sLinkList::traverse()const
{
node* p = head->next;
cout << endl;
while (p != tail) {
cout << p->data << " ";
p = p->next;
}
cout << endl;
}

//主函数
#include "sLinkList.h"
#include
#include
using namespace std;

int main()
{
sLinkList s;
vector v;
int tmp,x,y;

while (cin >> tmp) {
    v.push_back(tmp);
    if (getchar() == '\n')
        break;
}

for (unsigned int i = 0; i < v.size(); i++)
{
    s.insert(i, v[i]);
}

cin >> x >> y;
s.erase(x, y);
s.length();
s.traverse();

return 0;

}

c++

1个回答

https://blog.csdn.net/guo_lei_lamant/article/details/82856041
参考这篇文章吧 .cpp和 .h合一起 写成.hpp

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
wpa_supplicant编译时出现 undefined reference to `sha256_vector'

CC ../src/drivers/drivers.c CC ../src/l2_packet/l2_packet_linux.c ../src/wps/wps_common.o: In function `wps_derive_keys': /home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/wps/wps_common.c:101: undefined reference to `sha256_vector' ../src/wps/wps_enrollee.o: In function `wps_process_pubkey': /home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/wps/wps_enrollee.c:519: undefined reference to `sha256_vector' ../src/crypto/tls_openssl.o: In function `openssl_tls_cert_event': /home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/crypto/tls_openssl.c:1346: undefined reference to `sha256_vector' ../src/crypto/tls_openssl.o: In function `tls_verify_cb': /home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/crypto/tls_openssl.c:1421: undefined reference to `sha256_vector' ../src/crypto/crypto_openssl.o: In function `crypto_hash_init': /home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/crypto/crypto_openssl.c:620: undefined reference to `EVP_sha256' ../src/crypto/crypto_openssl.o: In function `hmac_sha256_vector': /home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant/../src/crypto/crypto_openssl.c:754: undefined reference to `EVP_sha256' collect2: error: ld returned 1 exit status make: *** [wpa_supplicant] Error 1 root@atheros:/home/atheros/Atheros-P2P/wpa_supplicant-2.1/wpa_supplicant#

C++ 编译错误: Error:undefined reference to ` '

我编写了一个从list母类继承的链表linkList子类并把声明写在linkList.h文件中,实现写在linkList.cpp中, 但是我发现只用#include "linkList.h"的话会报错如下![图片说明](https://img-ask.csdn.net/upload/201805/08/1525751289_288763.png) 但是如果加上#include "linkList.cpp" 则不会报错。 希望大神告知错误所在,以及教我一下如何正确的书写头文件和源文件! 以下是代码: linkList.h: #ifndef LINKLIST_H_INCLUDED #define LINKLIST_H_INCLUDED class OutOfBound {}; class IllegalSize {}; template <class T> class list { public: virtual int length() const = 0; virtual void clear() = 0; virtual void insert(int i,const T& x) = 0; virtual void remove(int i) = 0; virtual T visit(int i) const = 0; virtual int search(const T& x) const = 0; virtual void traverse() const = 0; virtual ~list() {}; }; template <class T> class linkList:public list<T> { private: struct node { T data; node *prev, *next; node(const T &x, node* p = NULL, node* n = NULL) { data = x; prev = p; next = n; } node():next(NULL), prev(NULL) {} ~node() {} }; node *head, *tail; int currentLength; node* move(int i) const; public: linkList(); ~linkList() { clear(); delete head; delete tail; } int length() const { return currentLength; } void clear(); void insert(int i,const T& x); void remove(int i); T visit(int i) const; int search(const T& x) const; void traverse() const; }; #endif // LINKLIST_H_INCLUDED linkList.cpp: //file: #include <iostream> #include <cstdio> #include "linkList.h" using namespace std; template <class T> typename linkList<T>::node* linkList<T>::move(int i) const { node* p = head -> next; if(i < 0 || i > currentLength) throw OutOfBound(); while(i > 0) { p = p -> next; i--; } return p; } template <class T> linkList<T>::linkList() { head = new node; tail = new node; head -> next = tail; tail -> prev = head; currentLength = 0; } template <class T> void linkList<T>::clear() { node *p, *q; p = head -> next; while(p != tail) { q = p -> next; delete p; p = q; } head -> next = tail; tail -> prev = head; currentLength = 0; } template <class T> void linkList<T>::insert(int i, const T& x) { node *pos = move(i); node *tmp = new node(x, pos -> prev, pos); pos -> prev -> next = tmp; pos -> prev = tmp; ++currentLength; } template <class T> void linkList<T>::remove(int i) { node *pos = move(i); pos -> prev -> next = pos -> next; pos -> next -> prev = pos -> prev; delete pos; --currentLength; } template <class T> int linkList<T>::search(const T& x) const { int i = 0; node* p = head -> next; while(p != tail && p -> data != x) { p = p -> next; i++; } if( p == tail) return -1; else return i; } template <class T> T linkList<T>::visit(int i) const { node* p = move(i); return p -> data; } template <class T> void linkList<T>::traverse() const { node *p = head -> next; while(p != tail) { cout << p -> data << " "; p = p -> next; } cout << endl; } main.cpp: #include <iostream> #include "linkList.h" using namespace std; int main() { linkList<int> l1; int i; char ch; for(i = 0; i < 100; i++) { l1.insert(i, i); } l1.traverse(); ch = cin.get(); for(i = 50; i > 0; i--) { l1.remove(i); } l1.traverse(); ch = cin.get(); cout << l1.length() << endl; ch = cin.get(); for(i = 0; i < l1.length() ; ++i) { cout << l1.visit(i) << endl; } l1.traverse(); ch = cin.get(); for(i = 60; i < 80 ; ++i) { cout << l1.search(i) << endl; } l1.traverse(); ch = cin.get(); return 0; }

fastdfs报错undefined reference to `g_exe_name'

make: Nothing to be done for `all'. cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O -DDEBUG_FLAG -o fdfs_storaged fdfs_storaged.c ../common/fdfs_global.o ../tracker/fdfs_shared_func.o ../tracker/tracker_proto.o tracker_client_thread.o storage_global.o storage_func.o storage_service.o storage_sync.o storage_nio.o storage_dio.o storage_ip_changed_dealer.o storage_param_getter.o storage_disk_recovery.o trunk_mgr/trunk_mem.o trunk_mgr/trunk_shared.o trunk_mgr/trunk_sync.o trunk_mgr/trunk_client.o trunk_mgr/trunk_free_block_checker.o ../client/client_global.o ../client/tracker_client.o ../client/storage_client.o ../client/client_func.o fdht_client/fdht_proto.o fdht_client/fdht_client.o fdht_client/fdht_func.o fdht_client/fdht_global.o storage_dump.o -L/usr/lib64 -lpthread -lfastcommon -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/include/fastcommon /tmp/ccWmwyMo.o: In function `main': /home/centos/fastdfs-5.10/storage/fdfs_storaged.c:130: undefined reference to `g_exe_name' storage_dump.o: In function `fdfs_dump_global_vars': /home/centos/fastdfs-5.10/storage/storage_dump.c:36: undefined reference to `g_exe_name' collect2: error: ld returned 1 exit status make: *** [fdfs_storaged] Error 1 make: Nothing to be done for `all'.

QT中编译时出现的undefined reference to 的问题

我在用QT creator想写一个串口通信程序时,跟很多人一样也是 ```D:\documents\HelloSerialPort\mainwindow.cpp:20: error: undefined reference to SPComm::isOpen() const``` ```D:\documents\HelloSerialPort\debug\mainwindow.o:-1: In function `ZN10MainWindow23on_pushButton_2_clickedEv':``` ```D:\documents\HelloSerialPort\mainwindow.cpp:30: error: undefined reference to `SPComm::isOpen() const'``` 看网上说是在pro文件中添加类所在的目录,可是我怎么知道它是哪个目录呢?完全不懂啊,求教!下面是我的文件 //mainwindow.h ``` #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include "SPComm.h" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); private slots: void on_pushButton_clicked(); void on_pushButton_2_clicked(); private: Ui::MainWindow *ui; SPComm *m_spcomm; }; #endif // MAINWINDOW_H ``` spcomm.h ``` #ifndef SPCOMM_H #define SPCOMM_H #include <QObject> #include <QtSerialPort/QtSerialPort> class SPComm : public QObject { Q_OBJECT public: explicit SPComm(QObject *parent = 0); ~SPComm(); bool isOpen() const; void setPortName(const QString &name); QString portName() const; void setBaudRate(int baudRate); int baudRate() const; virtual bool open(); virtual void close(); virtual bool clear(); int readData(char *buffer, int count, int timeout = 1000); int writeData(char *data, int size); int write(char ch); protected: QString m_portName; int m_baudRate; QSerialPort *m_serialPort; signals: public slots: }; #endif // SPCOMM_H ```

OpenGL代码编译时出现undefined reference to `XineramaQueryExtension'是什么原因?如何解决?

我的c++程序使用了glfw和glad,编译环境中这两个都有,但编译时报如下错,如何解决? **报错信息:** ``` //tmp/cco8XNYv.o: In function `main': test2.cpp:(.text+0xdd): undefined reference to `gladLoadGLLoader' /tmp/cco8XNYv.o: In function `framebuffer_size_callback(GLFWwindow*, int, int)': test2.cpp:(.text+0x192): undefined reference to `glad_glViewport' /usr/local/lib/libglfw3.a(x11_init.c.o): In function `initExtensions': x11_init.c:(.text+0x1b05): undefined reference to `XineramaQueryExtension' x11_init.c:(.text+0x1b1d): undefined reference to `XineramaIsActive' /usr/local/lib/libglfw3.a(x11_init.c.o): In function `_glfwCreateCursorX11': x11_init.c:(.text+0x23ea): undefined reference to `XcursorImageCreate' x11_init.c:(.text+0x2507): undefined reference to `XcursorImageLoadCursor' x11_init.c:(.text+0x2515): undefined reference to `XcursorImageDestroy' /usr/local/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetMonitors': x11_monitor.c:(.text+0x682): undefined reference to `XineramaQueryScreens' collect2: ld returned 1 exit status ``` **编译命令:** ``` g++ test.cpp -o test -lglfw3 -lGL -lX11 -lpthread -lXrandr -lXi ``` **代码:** ``` #include<glad/glad.h> #include<GLFW/glfw3.h> #include<iostream> using namespace std; void framebuffer_size_callback(GLFWwindow* window, int width, int height); int main() { glfwInit(); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); GLFWwindow* window = glfwCreateWindow(800, 600, "fly's window", NULL, NULL); if(window == NULL) { cout << "Failed to create GLFW window" << endl; glfwTerminate(); return -1; } glfwMakeContextCurrent(window); glfwSetFramebufferSizeCallback(window, framebuffer_size_callback); if(!gladLoadGLLoader((GLADloadproc)glfwGetProcAddress)) { cout << "Failed to initialize GLAD" << endl; return -1; } while(!glfwWindowShouldClose(window)) { glfwSwapBuffers(window); glfwPollEvents(); } glfwTerminate(); return 0; } void framebuffer_size_callback(GLFWwindow* window, int width, int height) { glViewport(0, 0, width, height); } ``` 附: 操作系统是CentOS 6.10 glfw版本:3.2 glad版本:0.1.33 g++版本:4.4.7

eclipse编译c源文件编译错误“undefined reference to”,如何解决?

问题描述:在Linux下用eclipse cdt插件开发c,main函数所在的文件引用了其他c文件中的函数,编译结果显示“undefined reference to”,头文件已经包含了。 编译显示结果: make all Making all in src make[1]: Entering directory `/home/wcl/workspace/TieeTerminal/src' gcc -g -O2 -o a.out TieeTerminal.o TieeTerminal.o: In function `get_serialinfo_from_cfgfile': /home/wcl/workspace/TieeTerminal/src/TieeTerminal.c:112: undefined reference to `read_profile_int' make[1]: Leaving directory `/home/wcl/workspace/TieeTerminal/src'。 个人分析:read_profile_int这个函数是在inifile.c中定义,gcc -g -O2 -o a.out TieeTerminal.o 该语句显示链接器没有链接inifile.o,但是怎么在eclipse里设置呢?

c++报错undefined reference to "析构函数",引号里的析构函数是基类的析构函数,声明为了纯虚函数?

这是c++ primer plus第六版中的程序清单14.10,P560页。 一模一样,就是这样报错,也没办法继续写下去了。 自学的,没办法了,不知道找谁问,贼难受!!! ``` //类声明 #ifndef WORKER_H_ #define WORKER_H_ #include <string> using std::string; class Worker{ private: string fullname; long id; protected: virtual void Data() const; virtual void Get(); public: Worker() : fullname("no one"), id(0L) {} Worker(const string & s, long n) : fullname(s), id(n) {} virtual ~Worker() = 0; virtual void Set() = 0; virtual void Show() const = 0; }; class Waiter : virtual public Worker { private: int panache; protected: virtual void Data() const; virtual void Get(); public: Waiter() : Worker(), panache(0) {} Waiter(const string & s, long n, int p = 0) : Worker(s, n), panache(p) {} Waiter(const Worker & wk, int p = 0) : Worker(wk), panache(p) {} void Set(); void Show() const; }; #endif ``` ``` //实现文件 #include <iostream> #include "worker.h" using namespace std; //Worker 方法 void Worker::Data() const { cout << "名字:" << fullname << endl; cout << "工号:" << id << endl; } void Worker::Get() { getline(cin,fullname); cout << "请输入工号:"; cin >> id; while (cin.get() != '\n') continue; } //Waiter 方法 void Waiter::Data() const { cout << "等级:" << panache << endl; } void Waiter::Get() { cout << "请输入等级:"; cin >> panache; while (cin.get() != '\n') continue; } void Waiter::Set() { cout << "请输入服务员的姓名:" << endl; Worker::Get(); Get(); } void Waiter::Show() const { Worker::Data(); Data(); } ```

c++ 编译时报错 "undefined reference to ……"

![编译情况](https://img-ask.csdn.net/upload/201803/17/1521251236_172399.png) 总共有五个文件,Graph.h ,Graph.cpp,diamond.h.diamond.cpp,new.cpp 编译成功的是我把diamond类的声明和定义(Graph的声明和定义也放在了一个文件里,但是没有影响)都放在diamond.cpp里。 new.cpp 就是包含了"Graph.h"和"diamond.",然后用diamond创建了一个对象,调用ShapePrint()函数。 Graph.h ``` #ifndef _Graph_H_ #define _Graph_H_ class shape { public: void ShapePrint(); void ShapePrint(int x); void ShapePrint(int x,int y); int GetLength_x(); int GetLength_y(); protected: void SetLength_x(int length_x); void SetLength_y(int length_y); private: int length_x ; int length_y ; }; #endif ``` diamond.h ``` #include <iostream> #include <iomanip> #include "Graph.h" #ifndef _diamond_ #define _diamond_ class diamond:public shape{ public: diamond(); diamond(int x); int GetLength(); protected: void SetLength(int l); private: int length; }; #endif ``` diamond.cpp ``` #include "diamond.h" using namespace std; void diamond::SetLength(int l) { this->length = l; } int diamond::GetLength() { return length; } diamond::diamond() { SetLength(7); } diamond::diamond(int l) { SetLength(l); } void diamond::ShapePrint() { int length=GetLength(); for(int i=1;i<=length;++i) { cout<<setw(length-i+1)<<"*"; if(i!=1) cout<<setw(2*i-2)<<"*"<<endl; else cout<<endl; } for(int k=1;k<=length-1;k++) { cout<<setw(k+1)<<"*"; if(k==length-1) cout<<endl; else cout<<setw(2*(length-k)-2)<<"*"<<endl; } } void diamond::ShapePrint(int x) { int length=GetLength(); for(int i=1;i<=length;++i) { cout<<setw(x+(length-i+1))<<"*"; if(i!=1) cout<<setw(2*i-2)<<"*"<<endl; else cout<<endl; } for(int k=1;k<=length-1;k++) { cout<<setw(x+k+1)<<"*"; if(k==length-1) cout<<endl; else cout<<setw(2*(length-k)-2)<<"*"<<endl; } } void diamond::ShapePrint(int x,int y) { int length=GetLength(); for(int i=1;i<=y;i++) cout<<endl; for(int i=1;i<=length;++i) { cout<<setw(x+(length-i+1))<<"*"; if(i!=1) cout<<setw(2*i-2)<<"*"<<endl; else cout<<endl; } for(int k=1;k<=length-1;k++) { cout<<setw(x+k+1)<<"*"; if(k==length-1) cout<<endl; else cout<<setw(2*(length-k)-2)<<"*"<<endl; } } ```

keepalived 编译安装问题

我先 安装了 ipvsadm ,然后在安装 keepalived中出现了问题 ,错误日志如下 ar rv libipvs.a libipvs.o ip_vs_nl_policy.o ar: creating libipvs.a a - libipvs.o a - ip_vs_nl_policy.o make[2]: Leaving directory `/home/prod/keepalived-1.2.22/keepalived/libipvs-2.6' Building ../bin/keepalived libipvs-2.6/libipvs.a(libipvs.o): In function `ipvs_getinfo_parse_cb': /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:193: undefined reference to `nlmsg_hdr' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:196: undefined reference to `genlmsg_parse' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:203: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:204: undefined reference to `nla_get_u32' libipvs-2.6/libipvs.a(libipvs.o): In function `ipvs_parse_stats': /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:594: undefined reference to `nla_parse_nested' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:609: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:610: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:611: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:612: undefined reference to `nla_get_u64' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:613: undefined reference to `nla_get_u64' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:614: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:615: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:616: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:617: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:618: undefined reference to `nla_get_u32' libipvs-2.6/libipvs.a(libipvs.o): In function `ipvs_services_parse_cb': /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:626: undefined reference to `nlmsg_hdr' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:634: undefined reference to `genlmsg_parse' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:640: undefined reference to `nla_parse_nested' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:656: undefined reference to `nla_get_u16' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:659: undefined reference to `nla_get_u32' /home/prod/keepalived-1.2.22/keepalived/libipvs-2.6/libipvs.c:667: undefined reference to `nla_get_string' collect2: ld 返回 1 make[1]: *** [all] 错误 1 make[1]: Leaving directory `/home/prod/keepalived-1.2.22/keepalived' make: *** [all] 错误 2 也不知道是怎样出错的 而我在另外的一台机器上 先安装keepalived ,就能编译成功

centos 下编译ImageMagick 无法通过报错undefined reference to `gzdirect@ZLIB_1.2.2.3'

[root@local-vm-380 ImageMagick-6.9.10-86]# m make all-am make[1]: Entering directory `/usr/src/ImageMagick-6.9.10-86' CCLD utilities/animate /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libxml2.so: undefined reference to `gzdirect@ZLIB_1.2.2.3' /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libxml2.so: undefined reference to `gzopen64@ZLIB_1.2.3.3' collect2: error: ld returned 1 exit status make[1]: *** [utilities/animate] Error 1 make[1]: Leaving directory `/usr/src/ImageMagick-6.9.10-86' make: *** [all] Error 2 [root@local-vm-380 ImageMagick-6.9.10-86]#

编译android3.4内核源码编译错误

drivers/built-in.o: In function `trace_mmc_blk_rw_end': /home/cy/android/kernel/common/include/trace/events/mmc.h:82: undefined reference to `__tracepoint_mmc_blk_rw_end' drivers/built-in.o: In function `mmc_do_erase': /home/cy/android/kernel/common/drivers/mmc/core/core.c:1580: undefined reference to `__tracepoint_mmc_blk_erase_start' /home/cy/android/kernel/common/drivers/mmc/core/core.c:1580: undefined reference to `__tracepoint_mmc_blk_erase_end' drivers/built-in.o: In function `trace_mmc_blk_rw_start': /home/cy/android/kernel/common/include/trace/events/mmc.h:75: undefined reference to `__tracepoint_mmc_blk_rw_start'

请教:尝试opencv2.4.13在linux下编译程序的报错

源代码:#include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/core/core.hpp> using namespace cv; int main() { VideoCapture cap(0); if(!cap.isOpened()) { return -1; } Mat frame; bool stop = false; while(!stop) { cap.read(frame); imshow("Video",frame); if(waitKey(30)==27) //Esc键退出 { stop = true; } } return 0; } 报错:~$ g++ -o opencvq opencv.cpp /tmp/ccQJKVIi.o: In function `main': opencv.cpp:(.text+0x29): undefined reference to `cv::VideoCapture::VideoCapture(int)' opencv.cpp:(.text+0x38): undefined reference to `cv::VideoCapture::isOpened() const' opencv.cpp:(.text+0x80): undefined reference to `cv::VideoCapture::read(cv::Mat&)' opencv.cpp:(.text+0xf9): undefined reference to `cv::Mat::ones(cv::Size_<int>, int)' opencv.cpp:(.text+0x146): undefined reference to `cv::VideoCapture::read(cv::Mat&)' opencv.cpp:(.text+0x33d): undefined reference to `cv::_OutputArray::_OutputArray(cv::Mat&)' opencv.cpp:(.text+0x356): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' opencv.cpp:(.text+0x36f): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' opencv.cpp:(.text+0x3a1): undefined reference to `cv::addWeighted(cv::_InputArray const&, double, cv::_InputArray const&, double, double, cv::_OutputArray const&, int)' opencv.cpp:(.text+0x3ba): undefined reference to `cv::_InputArray::_InputArray(cv::Mat const&)' opencv.cpp:(.text+0x3fd): undefined reference to `cv::imshow(std::string const&, cv::_InputArray const&)' opencv.cpp:(.text+0x425): undefined reference to `cv::waitKey(int)' opencv.cpp:(.text+0x489): undefined reference to `cv::VideoCapture::~VideoCapture()' opencv.cpp:(.text+0x51a): undefined reference to `cv::VideoCapture::~VideoCapture()' /tmp/ccQJKVIi.o: In function `cv::Mat::~Mat()': opencv.cpp:(.text._ZN2cv3MatD2Ev[_ZN2cv3MatD5Ev]+0x39): undefined reference to `cv::fastFree(void*)' /tmp/ccQJKVIi.o: In function `cv::Mat::release()': opencv.cpp:(.text._ZN2cv3Mat7releaseEv[_ZN2cv3Mat7releaseEv]+0x47): undefined reference to `cv::Mat::deallocate()' /tmp/ccQJKVIi.o: In function `cv::Mat::operator()(cv::Rect_<int> const&) const': opencv.cpp:(.text._ZNK2cv3MatclERKNS_5Rect_IiEE[_ZNK2cv3MatclERKNS_5Rect_IiEE]+0x27): undefined reference to `cv::Mat::Mat(cv::Mat const&, cv::Rect_<int> const&)' collect2: error: ld returned 1 exit status 第一次使用,在此请教各位前辈,谢谢了

c连接mysql数据库:undefined reference to `mysql_init@4'

环境特殊,使用一个组态软件自带的ceditor编辑器编辑c连接数据库,wing编译,结果报错。(是找不到lib文件吗?把这个lib文件放到编译器的lib文件中中可以吗?还是怎么操作?求指教,有报酬)提示如下: C:\Users\FeiMao\AppData\Local\Temp\cc1PfS40.o:main.c:(.text+0x81): undefined reference to `mysql_init@4' C:\Users\FeiMao\AppData\Local\Temp\cc1PfS40.o:main.c:(.text+0xc6): undefined reference to `mysql_real_connect@32' C:\Users\FeiMao\AppData\Local\Temp\cc1PfS40.o:main.c:(.text+0xec): undefined reference to `mysql_query@8' C:\Users\FeiMao\AppData\Local\Temp\cc1PfS40.o:main.c:(.text+0xfd): undefined reference to `mysql_close@4' C:\Users\FeiMao\AppData\Local\Temp\cc1PfS40.o:main.c:(.text+0x10d): undefined reference to `mysql_error@4' collect2: ld returned 1 exit status

nagios在make过程中报错

``` libnpcommon.a(sslutils.o): In function `np_net_ssl_init_with_hostname_version_and_cert': /root/nagios-plugins-2.2.1/plugins/sslutils.c:125: undefined reference to `SSLv23_client_method' /root/nagios-plugins-2.2.1/plugins/sslutils.c:129: undefined reference to `SSL_library_init' /root/nagios-plugins-2.2.1/plugins/sslutils.c:130: undefined reference to `SSL_load_error_strings' /root/nagios-plugins-2.2.1/plugins/sslutils.c:131: undefined reference to `OPENSSL_add_all_algorithms_conf' /root/nagios-plugins-2.2.1/plugins/sslutils.c:68: undefined reference to `SSLv3_client_method' /root/nagios-plugins-2.2.1/plugins/sslutils.c:60: undefined reference to `SSLv2_client_method' collect2: ld returned 1 exit status ``` 已经执行过yum -y gd gd-devel \*openssl\* 但重新编译任然报上述错误。

opencv 人脸识别detectMultiScale函数编译报错

我在android平台camera hardware中加入opencv的代码,编译出现了如下错误: undefined reference to 'cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::__1::vector<cv::Rect_<int>, std::__1::allocator<cv::Rect_<int> > >&, double, int, int, cv::Size_<int>, cv::Size_<int>)' 我在网上查询了资料好像与gnustl有关,但是在android.mk中有LOCAL_NDK_STL_VARIANT := gnustl_static。编译生成的so我也加到了camera编译生成so的mk文件中,还请大神帮忙解决下,谢谢

gcc编译出现了undefined reference to `exp'

在Ubuntu下编译word.c gcc -lm -pthread word.c -o word 还是出现了undefined reference to `exp', 后来有gcc -pthread word.c -o word /usr/lib/libm.a则提示没有/usr/lib/libm.a这个文件, **有没有有经验的大侠有解决办法?**

编译安卓4.4出错如下,求解!

各位大虾,编译安卓4.4 根文件系统,报错如下, 很多网友的帖子说是swap分区空间不够,我也增大了swap分区,并且在编译时监控内存使用率,并没有达到100% 代码肯定没问题,在其他地方都编译成功了,提示一大堆的undefined ,不知道为什么 有哪位知道如何处理,请指教,谢谢! external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:343: error: undefined reference to 'sqlite3_errcode' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:349: error: undefined reference to 'sqlite3_errmsg' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:461: error: undefined reference to 'sqlite3_set_authorizer' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:466: error: undefined reference to 'sqlite3_get_autocommit' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:129: error: undefined reference to 'sqlite3_interrupt' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:114: error: undefined reference to 'sqlite3_close' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:76: error: undefined reference to 'sqlite3_errmsg' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:79: error: undefined reference to 'sqlite3_close' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:84: error: undefined reference to 'sqlite3_extended_result_codes' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:86: error: undefined reference to 'sqlite3_errmsg' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteDatabase.cpp:88: error: undefined reference to 'sqlite3_close' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:75: error: undefined reference to 'sqlite3_prepare_v2' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:104: error: undefined reference to 'sqlite3_step' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:121: error: undefined reference to 'sqlite3_finalize' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:218: error: undefined reference to 'sqlite3_bind_double' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:227: error: undefined reference to 'sqlite3_bind_null' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:250: error: undefined reference to 'sqlite3_bind_parameter_count' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:258: error: undefined reference to 'sqlite3_data_count' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:292: error: undefined reference to 'sqlite3_column_name16' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:306: error: undefined reference to 'sqlite3_column_value' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:307: error: undefined reference to 'sqlite3_value_type' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:310: error: undefined reference to 'sqlite3_value_double' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:313: error: undefined reference to 'sqlite3_value_text16' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:334: error: undefined reference to 'sqlite3_column_text16' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:335: error: undefined reference to 'sqlite3_column_bytes16' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:357: error: undefined reference to 'sqlite3_column_int' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:368: error: undefined reference to 'sqlite3_column_int64' external/chromium_org/third_party/WebKit/Source/core/platform/sql/SQLiteStatement.cpp:191: error: undefined reference to 'sqlite3_bind_text16' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromium.cpp:49: error: undefined reference to 'sqlite3_open' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromium.cpp:51: error: undefined reference to 'sqlite3_open_v2' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:150: error: undefined reference to 'sqlite3_snprintf' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:65: error: undefined reference to 'chromium_sqlite3_initialize_unix_sqlite3_file' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:67: error: undefined reference to 'chromium_sqlite3_get_reusable_file_handle' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:79: error: undefined reference to 'chromium_sqlite3_destroy_reusable_file_handle' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:85: error: undefined reference to 'chromium_sqlite3_update_reusable_file_handle' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:92: error: undefined reference to 'chromium_sqlite3_fill_in_unix_sqlite3_file' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:94: error: undefined reference to 'chromium_sqlite3_destroy_reusable_file_handle' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:173: error: undefined reference to 'sqlite3_vfs_find' external/chromium_org/third_party/WebKit/Source/core/platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp:194: error: undefined reference to 'sqlite3_vfs_register' external/chromium_org/webkit/glue/webkit_glue.cc:14: error: undefined reference to 'v8::V8::SetFlagsFromString(char const*, int)' external/chromium_org/webkit/child/webkit_child_helpers.cc:29: error: undefined reference to 'v8::HeapStatistics::HeapStatistics()' ****external/chromium_org/webkit/child/webkit_child_helpers.cc:32: error: undefined reference to 'v8::Isolate::GetHeapStatistics(v8::HeapStatistics*)' collect2: error: ld returned 1 exit status make: *** [out/target/product/drone2/obj/SHARED_LIBRARIES/libwebviewchromium_intermediates/LINKED/libwebviewchromium.so] Error 1 ****

opencv 在as ndk中 始终抱找不到 undefined reference to 'cv::imwrite

就这几行简单的代码编译都不通过 ``` #include"opencv2/opencv.hpp" using namespace cv; int sss() { Mat image= imread( "1", CV_LOAD_IMAGE_COLOR); imwrite("2.bmp",image); return 1; } ``` CMakeLists 文件 ``` cmake_minimum_required(VERSION 3.4.1) add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0) set(CMAKE_VERBOSE_MAKEFILE on) set(ocvlibs "C:\\BC\\OpenCV\\sdk\\native\\libs") # 设置include文件夹的地址 include_directories(C:/BC/lua-5.2.0/src) include_directories(C:\\BC\\OpenCV\\sdk\\native\\jni\\include) add_library(native-lib SHARED native-lib.cpp) # 设置opencv的动态库 add_library(libopencv_java SHARED IMPORTED ) set_target_properties(libopencv_java PROPERTIES IMPORTED_LOCATION "${ocvlibs}/${ANDROID_ABI}/libopencv_java3.so") find_library(log-lib log) target_link_libraries(native-lib android log libopencv_java ${log-lib} ) ``` build.gradle ``` apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.example.opencvtest" minSdkVersion 22 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" externalNativeBuild { cmake { cppFlags "-std=c++11", "-frtti", "-fexceptions" abiFilters 'x86' } } } sourceSets{ main{ jniLibs.srcDirs = ['C:\\BC\\OpenCV\\sdk\\native\\libs'] } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } externalNativeBuild { cmake { path "src/main/cpp/CMakeLists.txt" version "3.10.2" } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support.constraint:constraint-layout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' } ``` ![图片说明](https://img-ask.csdn.net/upload/201906/03/1559539210_344978.png)

libmp3lame编译出现:undefined reference to 'hip_decode'

![图片说明](https://img-ask.csdn.net/upload/201512/11/1449801757_294680.jpg) 这是出问题的地方,这三个方法在mpglib_interface.c文件中 ![图片说明](https://img-ask.csdn.net/upload/201512/11/1449801858_108981.png) 下面是Android.mk文件 ![图片说明](https://img-ask.csdn.net/upload/201512/11/1449801944_736596.png) 下面是报错信息 ![图片说明](https://img-ask.csdn.net/upload/201512/11/1449802127_857936.png) 这个错误怎么解决?

4小时玩转微信小程序——基础入门与微信支付实战

这是一个门针对零基础学员学习微信小程序开发的视频教学课程。课程采用腾讯官方文档作为教程的唯一技术资料来源。杜绝网络上质量良莠不齐的资料给学员学习带来的障碍。 视频课程按照开发工具的下载、安装、使用、程序结构、视图层、逻辑层、微信小程序等几个部分组织课程,详细讲解整个小程序的开发过程

Python可以这样学(第四季:数据分析与科学计算可视化)

董付国老师系列教材《Python程序设计(第2版)》(ISBN:9787302436515)、《Python可以这样学》(ISBN:9787302456469)配套视频,在教材基础上又增加了大量内容,通过实例讲解numpy、scipy、pandas、statistics、matplotlib等标准库和扩展库用法。

组成原理课程设计(实现机器数的真值还原等功能)

实现机器数的真值还原(定点小数)、定点小数的单符号位补码加减运算、定点小数的补码乘法运算和浮点数的加减运算。

javaWeb图书馆管理系统源码mysql版本

系统介绍 图书馆管理系统主要的目的是实现图书馆的信息化管理。图书馆的主要业务就是新书的借阅和归还,因此系统最核心的功能便是实现图书的借阅和归还。此外,还需要提供图书的信息查询、读者图书借阅情况的查询等

土豆浏览器

土豆浏览器可以用来看各种搞笑、电影、电视剧视频

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

Java8零基础入门视频教程

这门课程基于主流的java8平台,由浅入深的详细讲解了java SE的开发技术,可以使java方向的入门学员,快速扎实的掌握java开发技术!

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

TTP229触摸代码以及触摸返回值处理

自己总结的ttp229触摸代码,触摸代码以及触摸按键处理

网络工程师小白入门--【思科CCNA、华为HCNA等网络工程师认证】

本课程适合CCNA或HCNA网络小白同志,高手请绕道,可以直接学习进价课程。通过本预科课程的学习,为学习网络工程师、思科CCNA、华为HCNA这些认证打下坚实的基础! 重要!思科认证2020年2月24日起,已启用新版认证和考试,包括题库都会更新,由于疫情原因,请关注官网和本地考点信息。题库网络上很容易下载到。

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

java jdk 8 帮助文档 中文 文档 chm 谷歌翻译

JDK1.8 API 中文谷歌翻译版 java帮助文档 JDK API java 帮助文档 谷歌翻译 JDK1.8 API 中文 谷歌翻译版 java帮助文档 Java最新帮助文档 本帮助文档是使用谷

Ubuntu18.04安装教程

Ubuntu18.04.1安装一、准备工作1.下载Ubuntu18.04.1 LTS2.制作U盘启动盘3.准备 Ubuntu18.04.1 的硬盘空间二、安装Ubuntu18.04.1三、安装后的一些工作1.安装输入法2.更换软件源四、双系统如何卸载Ubuntu18.04.1新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列...

快速排序---(面试碰到过好几次)

原理:    快速排序,说白了就是给基准数据找其正确索引位置的过程.    如下图所示,假设最开始的基准数据为数组第一个元素23,则首先用一个临时变量去存储基准数据,即tmp=23;然后分别从数组的两端扫描数组,设两个指示标志:low指向起始位置,high指向末尾.    首先从后半部分开始,如果扫描到的值大于基准数据就让high减1,如果发现有元素比该基准数据的值小(如上图中18&amp;lt...

手把手实现Java图书管理系统(附源码)

【超实用课程内容】 本课程演示的是一套基于Java的SSM框架实现的图书管理系统,主要针对计算机相关专业的正在做毕设的学生与需要项目实战练习的java人群。详细介绍了图书管理系统的实现,包括:环境搭建、系统业务、技术实现、项目运行、功能演示、系统扩展等,以通俗易懂的方式,手把手的带你从零开始运行本套图书管理系统,该项目附带全部源码可作为毕设使用。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27513 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化 下载方式:电脑登录https://edu.csdn.net/course/detail/27513,点击右下方课程资料、代码、课件等打包下载

HTML期末大作业

这是我自己做的HTML期末大作业,花了很多时间,稍加修改就可以作为自己的作业了,而且也可以作为学习参考

Python数据挖掘简易入门

&nbsp; &nbsp; &nbsp; &nbsp; 本课程为Python数据挖掘方向的入门课程,课程主要以真实数据为基础,详细介绍数据挖掘入门的流程和使用Python实现pandas与numpy在数据挖掘方向的运用,并深入学习如何运用scikit-learn调用常用的数据挖掘算法解决数据挖掘问题,为进一步深入学习数据挖掘打下扎实的基础。

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

想学好JAVA必须要报两万的培训班吗? Java大神勿入 如果你: 零基础想学JAVA却不知道从何入手 看了一堆书和视频却还是连JAVA的环境都搭建不起来 囊中羞涩面对两万起的JAVA培训班不忍直视 在职没有每天大块的时间专门学习JAVA 那么恭喜你找到组织了,在这里有: 1. 一群志同道合立志学好JAVA的同学一起学习讨论JAVA 2. 灵活机动的学习时间完成特定学习任务+每日编程实战练习 3. 热心助人的助教和讲师及时帮你解决问题,不按时完成作业小心助教老师的家访哦 上一张图看看前辈的感悟: &nbsp; &nbsp; 大家一定迫不及待想知道什么是极简JAVA学习营了吧,下面就来给大家说道说道: 什么是极简JAVA学习营? 1. 针对Java小白或者初级Java学习者; 2. 利用9天时间,每天1个小时时间; 3.通过 每日作业 / 组队PK / 助教答疑 / 实战编程 / 项目答辩 / 社群讨论 / 趣味知识抢答等方式让学员爱上学习编程 , 最终实现能独立开发一个基于控制台的‘库存管理系统’ 的学习模式 极简JAVA学习营是怎么学习的? &nbsp; 如何报名? 只要购买了极简JAVA一:JAVA入门就算报名成功! &nbsp;本期为第四期极简JAVA学习营,我们来看看往期学员的学习状态: 作业看这里~ &nbsp; 助教的作业报告是不是很专业 不交作业打屁屁 助教答疑是不是很用心 &nbsp; 有奖抢答大家玩的很嗨啊 &nbsp; &nbsp; 项目答辩终于开始啦 &nbsp; 优秀者的获奖感言 &nbsp; 这是答辩项目的效果 &nbsp; &nbsp; 这么细致的服务,这么好的氛围,这样的学习效果,需要多少钱呢? 不要1999,不要199,不要99,只要9.9 是的你没听错,只要9.9以上所有就都属于你了 如果你: 1、&nbsp;想学JAVA没有基础 2、&nbsp;想学JAVA没有整块的时间 3、&nbsp;想学JAVA没有足够的预算 还等什么?赶紧报名吧,抓紧抢位,本期只招300人,错过只有等时间待定的下一期了 &nbsp; 报名请加小助手微信:eduxy-1 &nbsp; &nbsp;

C++语言基础视频教程

C++语言基础视频培训课程:本课与主讲者在大学开出的程序设计课程直接对接,准确把握知识点,注重教学视频与实践体系的结合,帮助初学者有效学习。本教程详细介绍C++语言中的封装、数据隐藏、继承、多态的实现等入门知识;主要包括类的声明、对象定义、构造函数和析构函数、运算符重载、继承和派生、多态性实现等。 课程需要有C语言程序设计的基础(可以利用本人开出的《C语言与程序设计》系列课学习)。学习者能够通过实践的方式,学会利用C++语言解决问题,具备进一步学习利用C++开发应用程序的基础。

UnityLicence

UnityLicence

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

Python数据分析师-实战系列

系列课程主要包括Python数据分析必备工具包,数据分析案例实战,核心算法实战与企业级数据分析与建模解决方案实战,建议大家按照系列课程阶段顺序进行学习。所有数据集均为企业收集的真实数据集,整体风格以实战为导向,通俗讲解Python数据分析核心技巧与实战解决方案。

YOLOv3目标检测实战系列课程

《YOLOv3目标检测实战系列课程》旨在帮助大家掌握YOLOv3目标检测的训练、原理、源码与网络模型改进方法。 本课程的YOLOv3使用原作darknet(c语言编写),在Ubuntu系统上做项目演示。 本系列课程包括三门课: (1)《YOLOv3目标检测实战:训练自己的数据集》 包括:安装darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 (2)《YOLOv3目标检测:原理与源码解析》讲解YOLOv1、YOLOv2、YOLOv3的原理、程序流程并解析各层的源码。 (3)《YOLOv3目标检测:网络模型改进方法》讲解YOLOv3的改进方法,包括改进1:不显示指定类别目标的方法 (增加功能) ;改进2:合并BN层到卷积层 (加快推理速度) ; 改进3:使用GIoU指标和损失函数 (提高检测精度) ;改进4:tiny YOLOv3 (简化网络模型)并介绍 AlexeyAB/darknet项目。

超详细MySQL安装及基本使用教程

一、下载MySQL 首先,去数据库的官网http://www.mysql.com下载MySQL。 点击进入后的首页如下:  然后点击downloads,community,选择MySQL Community Server。如下图:  滑到下面,找到Recommended Download,然后点击go to download page。如下图:  点击download进入下载页面选择No...

一学即懂的计算机视觉(第一季)

图像处理和计算机视觉的课程大家已经看过很多,但总有“听不透”,“用不了”的感觉。课程致力于创建人人都能听的懂的计算机视觉,通过生动、细腻的讲解配合实战演练,让学生真正学懂、用会。 【超实用课程内容】 课程内容分为三篇,包括视觉系统构成,图像处理基础,特征提取与描述,运动跟踪,位姿估计,三维重构等内容。课程理论与实战结合,注重教学内容的可视化和工程实践,为人工智能视觉研发及算法工程师等相关高薪职位就业打下坚实基础。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/26281 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,但是大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化 下载方式:电脑登录https://edu.csdn.net/course/detail/26281,点击右下方课程资料、代码、课件等打包下载

董付国老师Python全栈学习优惠套餐

购买套餐的朋友可以关注微信公众号“Python小屋”,上传付款截图,然后领取董老师任意图书1本。

爬取妹子图片(简单入门)

安装第三方请求库 requests 被网站禁止了访问 原因是我们是Python过来的 重新给一段 可能还是存在用不了,使用网页的 编写代码 上面注意看匹配内容 User-Agent:请求对象 AppleWebKit:请求内核 Chrome浏览器 //请求网页 import requests import re //正则表达式 就是去不规则的网页里面提取有规律的信息 headers = { 'User-Agent':'存放浏览器里面的' } response = requests.get

web网页制作期末大作业

分享思维,改变世界. web网页制作,期末大作业. 所用技术:html css javascript 分享所学所得

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

相关热词 c# 开发接口 c# 中方法上面的限制 c# java 时间戳 c#单元测试入门 c# 数组转化成文本 c#实体类主外键关系设置 c# 子函数 局部 c#窗口位置设置 c# list 查询 c# 事件 执行顺序
立即提问