Git Product home page Git Product logo

go-face's Introduction

go-face Build Status GoDoc

go-face implements face recognition for Go using dlib, a popular machine learning toolkit. Read Face recognition with Go article for some background details if you're new to FaceNet concept.

Requirements

To compile go-face you need to have dlib (>= 19.10) and libjpeg development packages installed.

Ubuntu 18.10+, Debian sid

Latest versions of Ubuntu and Debian provide suitable dlib package so just run:

# Ubuntu
sudo apt-get install libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg-turbo8-dev
# Debian
sudo apt-get install libdlib-dev libblas-dev libatlas-base-dev liblapack-dev libjpeg62-turbo-dev

macOS

Make sure you have Homebrew installed.

brew install dlib

Windows

Make sure you have MSYS2 installed.

  1. Run MSYS2 MSYS shell from Start menu
  2. Run pacman -Syu and if it asks you to close the shell do that
  3. Run pacman -Syu again
  4. Run pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-dlib
    1. If you already have Go and Git installed and available in PATH uncomment set MSYS2_PATH_TYPE=inherit line in msys2_shell.cmd located in MSYS2 installation folder
    2. Otherwise run pacman -S mingw-w64-x86_64-go git
  5. Run MSYS2 MinGW 64-bit shell from Start menu to compile and use go-face

Other systems

Try to install dlib/libjpeg with package manager of your distribution or compile from sources. Note that go-face won't work with old packages of dlib such as libdlib18. Alternatively create issue with the name of your system and someone might help you with the installation process.

Models

Currently shape_predictor_5_face_landmarks.dat, mmod_human_face_detector.dat and dlib_face_recognition_resnet_model_v1.dat are required. You may download them from go-face-testdata repo:

wget https://github.com/Kagami/go-face-testdata/raw/master/models/shape_predictor_5_face_landmarks.dat
wget https://github.com/Kagami/go-face-testdata/raw/master/models/dlib_face_recognition_resnet_model_v1.dat
wget https://github.com/Kagami/go-face-testdata/raw/master/models/mmod_human_face_detector.dat

Usage

To use go-face in your Go code:

import "github.com/Kagami/go-face"

To install go-face in your $GOPATH:

go get github.com/Kagami/go-face

For further details see GoDoc documentation.

Example

package main

import (
	"fmt"
	"log"
	"path/filepath"

	"github.com/Kagami/go-face"
)

// Path to directory with models and test images. Here it's assumed it
// points to the <https://github.com/Kagami/go-face-testdata> clone.
const dataDir = "testdata"

var (
	modelsDir = filepath.Join(dataDir, "models")
	imagesDir = filepath.Join(dataDir, "images")
)

// This example shows the basic usage of the package: create an
// recognizer, recognize faces, classify them using few known ones.
func main() {
	// Init the recognizer.
	rec, err := face.NewRecognizer(modelsDir)
	if err != nil {
		log.Fatalf("Can't init face recognizer: %v", err)
	}
	// Free the resources when you're finished.
	defer rec.Close()

	// Test image with 10 faces.
	testImagePristin := filepath.Join(imagesDir, "pristin.jpg")
	// Recognize faces on that image.
	faces, err := rec.RecognizeFile(testImagePristin)
	if err != nil {
		log.Fatalf("Can't recognize: %v", err)
	}
	if len(faces) != 10 {
		log.Fatalf("Wrong number of faces")
	}

	// Fill known samples. In the real world you would use a lot of images
	// for each person to get better classification results but in our
	// example we just get them from one big image.
	var samples []face.Descriptor
	var cats []int32
	for i, f := range faces {
		samples = append(samples, f.Descriptor)
		// Each face is unique on that image so goes to its own category.
		cats = append(cats, int32(i))
	}
	// Name the categories, i.e. people on the image.
	labels := []string{
		"Sungyeon", "Yehana", "Roa", "Eunwoo", "Xiyeon",
		"Kyulkyung", "Nayoung", "Rena", "Kyla", "Yuha",
	}
	// Pass samples to the recognizer.
	rec.SetSamples(samples, cats)

	// Now let's try to classify some not yet known image.
	testImageNayoung := filepath.Join(imagesDir, "nayoung.jpg")
	nayoungFace, err := rec.RecognizeSingleFile(testImageNayoung)
	if err != nil {
		log.Fatalf("Can't recognize: %v", err)
	}
	if nayoungFace == nil {
		log.Fatalf("Not a single face on the image")
	}
	catID := rec.Classify(nayoungFace.Descriptor)
	if catID < 0 {
		log.Fatalf("Can't classify")
	}
	// Finally print the classified label. It should be "Nayoung".
	fmt.Println(labels[catID])
}

Run with:

mkdir -p ~/go && cd ~/go  # Or cd to your $GOPATH
mkdir -p src/go-face-example && cd src/go-face-example
git clone https://github.com/Kagami/go-face-testdata testdata
edit main.go  # Paste example code
go get && go run main.go

Test

To fetch test data and run tests:

make test

FAQ

How to improve recognition accuracy

There are few suggestions:

  • Try CNN recognizing
  • Try different tolerance values of ClassifyThreshold
  • Try different size/padding/jittering values of NewRecognizerWithConfig
  • Provide more samples of each category to SetSamples if possible
  • Implement better classify heuristics (see classify.cc)
  • Train network (dlib_face_recognition_resnet_model_v1.dat) on your own test data

License

go-face is licensed under CC0.

go-face's People

Contributors

danile71 avatar elonzh avatar feinedsquirrel avatar kagami avatar nathany avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-face's Issues

running go-face locally gives an error

I am using go-face locally instead of go-get "github.com/Kagami/go-face" I copied all the files in go-face to my project. It gives me below error

Facial Recognition System v0.01
Cannot initialize recognizer
Recognizer Initialized
panic: runtime error: invalid memory address or nil pointer dereference
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x40bd3d2]

goroutine 1 [running]:
go-face-recognition/goface.(*Recognizer).Close(0x0)
	/Users/reenath/Downloads/go-face-recognition/goface/face.go:185 +0x22
panic(0x41bee00, 0x42ebb50)
	/usr/local/Cellar/go/1.11.1/libexec/src/runtime/panic.go:513 +0x1b9
go-face-recognition/goface.(*Recognizer).recognize(0x0, 0xc0000d8000, 0x1f68e, 0x1fe00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/reenath/Downloads/go-face-recognition/goface/face.go:69 +0x6a
go-face-recognition/goface.(*Recognizer).recognizeFile(0x0, 0xc000092030, 0xf, 0x0, 0xc0000a9470, 0x4091886, 0x5c88d47e, 0xc01fa59000, 0x2226e4ae)
	/Users/reenath/Downloads/go-face-recognition/goface/face.go:118 +0xdc
go-face-recognition/goface.(*Recognizer).RecognizeFile(0x0, 0xc000092030, 0xf, 0xc000092030, 0xf, 0x0, 0x0, 0x0)
	/Users/reenath/Downloads/go-face-recognition/goface/face.go:142 +0x48
main.main()
	/Users/reenath/Downloads/go-face-recognition/main.go:30 +0x1dd

Process finished with exit code 2

Installation error

GCC 7.3.0 , i get this error :

go get github.com/Kagami/go-face
command.

# github.com/Kagami/go-face
In file included from /usr/include/dlib/matrix/matrix_conv.h:8:0,
                 from /usr/include/dlib/matrix.h:13,
                 from /usr/include/dlib/graph_utils/function_objects.h:7,
                 from /usr/include/dlib/graph_utils.h:8,
                 from classify.cc:1:
/usr/include/dlib/matrix/matrix_fft.h:12:10: fatal error: mkl_dfti.h: No such file or directory
 #include <mkl_dfti.h>
          ^~~~~~~~~~~~
compilation terminated.

Do you have an idea ?

Installation Error

I am constantly facing the error highlighted below, any help would be appreciated
OS: ubuntu 16.04

➜ ~ go get "github.com/Kagami/go-face"
gcc --version# github.com/Kagami/go-face facerec.cc:103:7: error: ‘shared_mutex’ in namespace ‘std’ does not name a type std::shared_mutex samples_mutex_;
^
facerec.cc: In member function ‘void FaceRec::SetSamples(std::vector<dlib::matrix<float, 0l, 1l> >&&, std::unordered_map<int, int>&&)’: facerec.cc:91:20: error: ‘shared_mutex’ is not a member of ‘std’ std::unique_lock<std::shared_mutex> lock(samples_mutex_);

➜ ~ gcc --version
gcc (Ubuntu 8.1.0-5ubuntu1~16.04) 8.1.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

RPI Zero - ARM32v6 - Compile error

Running the go-face installation with the current go version and raspian (debian buster) leads to a compiling error:

...
/usr/include/c++/8/bits/vector.tcc: In member function ‘void dlib::loss_mmod_::tensor_to_dets(const dlib::tensor&, const dlib::tensor&, long int, std::vector<dlib::loss_mmod_::intermediate_detection>&, double, const net_type&) const [with net_type = dlib::dimpl::subnet_wrapper<dlib::add_layer<dlib::con_<1, 9, 9, 1, 1, 4, 4>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<45, 5, 5, 1, 1, 2, 2>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<45, 5, 5, 1, 1, 2, 2>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<45, 5, 5, 1, 1, 2, 2>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<32, 5, 5, 2, 2, 0, 0>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<32, 5, 5, 2, 2, 0, 0>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<16, 5, 5, 2, 2, 0, 0>, dlib::input_rgb_image_pyramid<dlib::pyramid_down<6> >, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, true, void>]’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<dlib::loss_mmod_::intermediate_detection*, std::vector<dlib::loss_mmod_::intermediate_detection> >’ changed in GCC 7.1
    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
    ^~~~~~~~~~~~~~~~~
/usr/include/c++/8/bits/vector.tcc: In member function ‘void dlib::loss_mmod_::to_label(const dlib::tensor&, const SUB_TYPE&, label_iterator, double) const [with SUB_TYPE = dlib::dimpl::subnet_wrapper<dlib::add_layer<dlib::con_<1, 9, 9, 1, 1, 4, 4>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<45, 5, 5, 1, 1, 2, 2>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<45, 5, 5, 1, 1, 2, 2>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<45, 5, 5, 1, 1, 2, 2>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<32, 5, 5, 2, 2, 0, 0>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<32, 5, 5, 2, 2, 0, 0>, dlib::add_layer<dlib::relu_, dlib::add_layer<dlib::affine_, dlib::add_layer<dlib::con_<16, 5, 5, 2, 2, 0, 0>, dlib::input_rgb_image_pyramid<dlib::pyramid_down<6> >, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, void>, true, void>; label_iterator = std::vector<dlib::mmod_rect>*]’:
/usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<dlib::mmod_rect*, std::vector<dlib::mmod_rect> >’ changed in GCC 7.1
    _M_realloc_insert(end(), std::forward<_Args>(__args)...);
    ^~~~~~~~~~~~~~~~~
# github.com/Kagami/go-face
../github.com/Kagami/go-face/face.go:117:13: type [1073741824]_Ctype_long larger than address space
../github.com/Kagami/go-face/face.go:117:13: type [1073741824]_Ctype_long too large
../github.com/Kagami/go-face/face.go:121:13: type [1073741824]float32 larger than address space
../github.com/Kagami/go-face/face.go:121:13: type [1073741824]float32 too large
../github.com/Kagami/go-face/face.go:125:13: type [1073741824]_Ctype_long larger than address space
../github.com/Kagami/go-face/face.go:125:13: type [1073741824]_Ctype_long too large

The bit shifts in the face.go file

	rDataLen := numFaces * rectLen
	rDataPtr := unsafe.Pointer(ret.rectangles)
	rData := (*[1 << 30]C.long)(rDataPtr)[:rDataLen:rDataLen]

	dDataLen := numFaces * descrLen
	dDataPtr := unsafe.Pointer(ret.descriptors)
	dData := (*[1 << 30]float32)(dDataPtr)[:dDataLen:dDataLen]

	sDataLen := numFaces * numShapes * shapeLen
	sDataPtr := unsafe.Pointer(ret.shapes)
	sData := (*[1 << 30]C.long)(sDataPtr)[:sDataLen:sDataLen]

Seem to fail with this 32 bit architecture. Is there any workaround?
I installed all requirements as needed but It seems that go get tries to compile dlib itself which take a long time (and swaps obviously a lot). Is there any pre built solution?

Installing error

Hi,

I dont have much experience in golang so maybe it could be a strange question. I am getting following error when I try to install package using
go get github/.com/Kagami/go-face
command.

 github.com/Kagami/go-face
../../Kagami/go-face/facerec.cc:105:7: error: ‘shared_mutex’ in namespace ‘std’ does not name a type
  std::shared_mutex samples_mutex_;
       ^
../../Kagami/go-face/facerec.cc: In member function ‘void FaceRec::SetSamples(std::vector<dlib::matrix<float, 0l, 1l> >&&, std::unordered_map<int, int>&&)’:
../../Kagami/go-face/facerec.cc:91:20: error: ‘shared_mutex’ is not a member of ‘std’
   std::unique_lock<std::shared_mutex> lock(samples_mutex_);
                    ^
../../Kagami/go-face/facerec.cc:91:20: error: ‘shared_mutex’ is not a member of ‘std’
../../Kagami/go-face/facerec.cc:91:37: error: template argument 1 is invalid
   std::unique_lock<std::shared_mutex> lock(samples_mutex_);
                                     ^
../../Kagami/go-face/facerec.cc:91:44: error: ‘samples_mutex_’ was not declared in this scope
   std::unique_lock<std::shared_mutex> lock(samples_mutex_);
                                            ^
../../Kagami/go-face/facerec.cc:91:39: warning: unused variable ‘lock’ [-Wunused-variable]
   std::unique_lock<std::shared_mutex> lock(samples_mutex_);
                                       ^
../../Kagami/go-face/facerec.cc: In member function ‘int FaceRec::Classify(const descriptor&)’:
../../Kagami/go-face/facerec.cc:97:20: error: ‘shared_mutex’ is not a member of ‘std’
   std::shared_lock<std::shared_mutex> lock(samples_mutex_);
                    ^
../../Kagami/go-face/facerec.cc:97:20: error: ‘shared_mutex’ is not a member of ‘std’
../../Kagami/go-face/facerec.cc:97:37: error: template argument 1 is invalid
   std::shared_lock<std::shared_mutex> lock(samples_mutex_);
                                     ^
../../Kagami/go-face/facerec.cc:97:44: error: ‘samples_mutex_’ was not declared in this scope
   std::shared_lock<std::shared_mutex> lock(samples_mutex_);
                                            ^
../../Kagami/go-face/facerec.cc:97:39: warning: unused variable ‘lock’ [-Wunused-variable]
   std::shared_lock<std::shared_mutex> lock(samples_mutex_);
                                       ^

Any idea?

float32 larger than address space on raspberry pi

I think there are more elegant ways of initialising the values, that respect the host env

rData := (*[1 << 30]C.long)(rDataPtr)[:rDataLen:rDataLen]
my fix is relace the 30 with 20, and here are some hints: mattn/go-sqlite3#238

# github.com/Kagami/go-face
../go/src/github.com/Kagami/go-face/face.go:117:13: type [1073741824]_Ctype_long larger than address space
../go/src/github.com/Kagami/go-face/face.go:117:13: type [1073741824]_Ctype_long too large
../go/src/github.com/Kagami/go-face/face.go:121:13: type [1073741824]float32 larger than address space
../go/src/github.com/Kagami/go-face/face.go:121:13: type [1073741824]float32 too large
../go/src/github.com/Kagami/go-face/face.go:125:13: type [1073741824]_Ctype_long larger than address space
../go/src/github.com/Kagami/go-face/face.go:125:13: type [1073741824]_Ctype_long too large

identifier "_Ctype_struct_facerec" may conflict with identifiers generated by cgo

In Go 1.12 there is the following error:

❯ go build
# github.com/Kagami/go-face
./face.go:25:7: identifier "_Ctype_struct_facerec" may conflict with identifiers generated by cgo

macOS 10.14.3, dlib 19.16 via Homebrew. It compiles without error in Go 1.11 after running the sed command in the README.

Mangled C names are no longer accepted in packages that use Cgo. Use the Cgo names instead. For example, use the documented cgo name C.char rather than the mangled name _Ctype_char that cgo generates. https://golang.org/doc/go1.12#cgo

undefined face functions

Hi!
First of all, I am appreciate your project, it's very helpful.
But after installing all dependencies (dlib, openblas, etc) and trying to repeat your example, I catch next errors (and in make test too):

./main.go:19:14: undefined: face.NewRecognizer
./main.go:40:16: undefined: face.Descriptor

I tried set alias for package (import alias_name "github.com/Kagami/go-face") but it doesn't help.
I'm newby in golang, and may set wrong GOPATH settings, but my every try with different of them catch this errors.
Golang paths which I tried setup:

GOROOT = $HOME/Programs/go 
1) GOPATH = $HOME/Programs/go
2) GOPATH = $HOME/projects/Go/project_names/
3) GOPATH = $HOME/go

The funny thing is that GoLand saw package, doesn't show them as error and I can move on it.
Work under XUbuntu 16.04, GoLand 2018.3, Go 1.11.4.

P.S. Excuse me for dummy question and not well english.

GitHub.com/Kagami/go-face

Facing below issue:

github.com/Kagami/go-face

../../pkg/mod/github.com/!kagami/[email protected]/face.go:25:7: identifier "_Ctype_struct_facerec" may conflict with identifiers generated by cgo

Go Version : 1.14.2
Mac OS : 10.15.4

I found a bug with classify.cc .Classifier always gives me some result .

I changed some code。it can work normally。

`
int classify(
const std::vector& samples,
const std::unordered_map<int, int>& cats,
const descriptor& test_sample,
float tolerance
) {
if (samples.size() == 0)
return -1;

std::vector<std::pair<int, float>> distances;
distances.reserve(samples.size());
auto dist_func = dlib::squared_euclidean_distance();
int idx = 0;
for (const auto& sample : samples) {
	float dist = dist_func(sample, test_sample);

	if (dist < tolerance)
	    distances.push_back({idx, dist});
	idx++;
}

if (distances.size() == 0)
	return -1;
std::sort(
	distances.begin(), distances.end(),
	[](const auto a, const auto b) { return a.second < b.second; }
);
int nIndext = distances[0].first;
auto cat = cats.find(nIndext);
if (cat == cats.end())return -1;
return cat->second;

}

`

How to get imgData []byte? func (rec *Recognizer) RecognizeSingle(imgData []byte) (face *Face, err error)

How to get imgData []byte?

         testDrStrange := filepath.Join(dataDir, "dr-strange.jpg")
	//drStrange, err := rec.RecognizeSingleFile(testDrStrange)
	file, err := os.Open(testDrStrange)
	if err != nil {
		log.Fatalf("open %s err: %v", testDrStrange, err)
	}
	rd := bufio.NewReader(file)
	sz := rd.Size()
	b := make([]byte, sz)
	rd.Read(b)
	drStrange, err := rec.RecognizeSingle(b)
	if err != nil {
		log.Fatalf("Can't recognize: %v", err)
	}

Can't recognize: jpeg_mem_loader: decode error: Premature end of JPEG file

dr-strange.jpg Is the right jpg.
use func RecognizeSingleFile is ok!

face detect only function

Hi Kagami,

Thanks for the great work. This is one very nice go implementation of dlib face recognition.

Looking at facerec.cc, the Recognize function does both the face detection and face encoding. I want to try to add a function that does face detection only. Do you think I should sort the rectangles before I return them? You sort the rectangles before you apply the face encoding so I figure I should do the same before returning the face locations.

only Recognizer jpeg image,can't support png

hi ,i user opencv to detect the face regoin,then use go-face to recognizer ,i put []byte to call Recognize() function,but it's error:
jpeg_mem_loader: decode error: Not a JPEG file: starts with 0x75 0x93

ClassifyThreshold only returns one value

Let's say I have an array of faces, and a new one to compare against them, as of today, the function ClassifyThreshold only returns the first possible value matched in the labels that the recognizer has. What if, inside that array of faces there was more than one match to the new face I am trying to classify? That function could be refactored in order to return an array of indexes in the labels array.

How possible do you think this is?

Classify Can't Recognize image always return the id

`
func VerifyUser(image []byte, accessToken string) error {
rec, err := face.NewRecognizer(DATA_DIR)
if err != nil {
return err
}
defer rec.Close()
//TODO ---> Get the image url from db
dataImage := filepath.Join(DATA_DIR, "mix.jpg")

faces, err := rec.RecognizeFile(dataImage)
if err != nil {
	return err
}

var samples []face.Descriptor
var totalF []int32
for i, f := range faces {
	samples = append(samples, f.Descriptor)
	// Each face is unique on that image so goes to its own category.
	totalF = append(totalF, int32(i))
}

// Pass samples to the recognizer.
rec.SetSamples(samples, totalF)

// Now let's try to classify some not yet known image.

//testSumit := filepath.Join(DATA_DIR, "eminem.jpg")
sumit, err := rec.RecognizeSingle(image)
if err != nil {
	log.Println("Face not recorganise not the same person")
	return status.Errorf(
		codes.Internal,
		fmt.Sprintln(errormsg.ERR_FACE_NOT_REC))
}
if sumit == nil {
	log.Println("Not a sigle image")
	return status.Errorf(
		codes.Internal,
		fmt.Sprintln(errormsg.ERR_NOT_A_SINGLE_FACE))
}
id := rec.Classify(sumit.Descriptor)
if id < 0 {
	log.Println("Can't classify")
	return status.Errorf(
		codes.Internal,
		fmt.Sprintln(errormsg.ERR_MSG_INTERNAL_SERVER))
}
log.Println("id", id)
log.Println("Image recorganise")
return nil

}
`

Unclear variable use in classify.cc

Hi,

I'm struggling to understand a part of your code in classify.cc, I kind of understand how the whole process works, but I don't understand what is idxs variable used for.
To be precise, lines 16 through 23:

int idx = 0;
for (const auto& sample : samples) {
	float dist = dist_func(sample, test_sample);
	if (dist < tolerance)
		continue;
	distances.push_back({idx, dist});
	idx++;
}

You're iterating through individual samples (or face vectors, whatever) and comparing the distance between a test_sample and each sample in our collection. What I don't understand is why you push and increase idx if distance is less than tolerance. How does idxs correlate to category index?

installing dlib in Ubuntu 16.04 gives an error

I am trying to install dlib package on Ubuntu 16.04 and it gives me below error

RUN add-apt-repository ppa:kagamih/dlib

error:
Step 7/49 : RUN add-apt-repository ppa:kagamih/dlib
 ---> Running in c4da01f13262
 A toolkit for making real world machine learning and data analysis applications in C++ http://dlib.net https://github.com/davisking/dlib

Compiled with Intel Math Kernel Library (nonfree).

Source package repository: https://github.com/Kagami/dlib-debian
 More info: https://launchpad.net/~kagamih/+archive/ubuntu/dlib
gpg: keybox '/tmp/tmptsrq7_0_/pubring.gpg' created
gpg: /tmp/tmptsrq7_0_/trustdb.gpg: trustdb created
gpg: key 969C9178EAF40ED9: public key "Launchpad PPA for Kagami Hiiragi" imported
gpg: Total number processed: 1
gpg:               imported: 1
Warning: apt-key output should not be parsed (stdout is not a terminal)
gpg: no valid OpenPGP data found.
Removing intermediate container c4da01f13262
 ---> d2b5083516e2
Step 8/49 : RUN apt-get update
 ---> Running in dfa9aa363896
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Ign:5 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco InRelease
Ign:7 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco Release
Ign:8 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main all Packages
Ign:9 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main amd64 Packages
Ign:8 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main all Packages
Ign:9 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main amd64 Packages
Ign:8 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main all Packages
Ign:9 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main amd64 Packages
Ign:8 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main all Packages
Ign:9 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main amd64 Packages
Ign:8 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main all Packages
Ign:9 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main amd64 Packages
Ign:8 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main all Packages
Err:9 http://ppa.launchpad.net/kagamih/dlib/ubuntu disco/main amd64 Packages
  404  Not Found
Reading package lists...
W: The repository 'http://ppa.launchpad.net/kagamih/dlib/ubuntu disco Release' does not have a Release file.
E: Failed to fetch http://ppa.launchpad.net/kagamih/dlib/ubuntu/dists/disco/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update' returned a non-zero code: 100

What am I doing wrong?

static linking to dlib

Hi,
I was trying to check how go-face links to dlib and it seems that it links to a dynamic library. This might be an issue if I want to transfer a binary to another machine (or a docker container) since both dlib and mkl libraries (plus dependencies) needs around ~1 GB of disk space.

Is it possible to link go-face to a statically link to dlib so that we can compile a stand-alone binary?

What about gpu support?

Hi, thank you. Great job.
Please, say about support gpu (nvidia/cuda library) in dlib has this functionality.

After create docker container (dlib work fine on python lib) and install go 1.13.7.
Has problem with Makefile for build:

go get -t github.com/Kagami/go-face

/tmp/go-build529846483/b001/_x005.o: In function `dlib::blas_bindings::cblas_gemm(dlib::blas_bindings::CBLAS_ORDER, dlib::blas_bindings::CBLAS_TRANSPOSE, dlib::blas_bindings::CBLAS_TRANSPOSE, int, int, int, double, double const*, int, double const*, int, double, double*, int)':
/usr/local/include/dlib/matrix/matrix_blas_bindings.h:219: undefined reference to `cblas_dgemm'
/tmp/go-build529846483/b001/_x005.o: In function `dlib::lapack::binding::gesvd(char, char, int, int, double*, int, double*, double*, int, double*, int, double*, int)':
/usr/local/include/dlib/matrix/lapack/gesvd.h:38: undefined reference to `dgesvd_'
/usr/local/include/dlib/matrix/lapack/gesvd.h:38: undefined reference to `dgesvd_'
/tmp/go-build529846483/b001/_x005.o: In function `dlib::lapack::binding::gesdd(char, int, int, double*, int, double*, double*, int, double*, int, double*, int, int*)':
/usr/local/include/dlib/matrix/lapack/gesdd.h:38: undefined reference to `dgesdd_'
/usr/local/include/dlib/matrix/lapack/gesdd.h:38: undefined reference to `dgesdd_'
/tmp/go-build529846483/b001/_x005.o: In function `dlib::lapack::binding::gesvd(char, char, int, int, double*, int, double*, double*, int, double*, int, double*, int)':
/usr/local/include/dlib/matrix/lapack/gesvd.h:38: undefined reference to `dgesvd_'
/usr/local/include/dlib/matrix/lapack/gesvd.h:38: undefined reference to `dgesvd_'
/usr/local/include/dlib/matrix/lapack/gesvd.h:38: undefined reference to `dgesvd_'
/usr/local/include/dlib/matrix/lapack/gesvd.h:38: undefined reference to `dgesvd_'
/usr/local/include/dlib/matrix/lapack/gesvd.h:38: undefined reference to `dgesvd_'
/tmp/go-build529846483/b001/_x005.o:/usr/local/include/dlib/matrix/lapack/gesvd.h:38: more undefined references to `dgesvd_' follow
/tmp/go-build529846483/b001/_x005.o: In function `dlib::blas_bindings::cblas_gemm(dlib::blas_bindings::CBLAS_ORDER, dlib::blas_bindings::CBLAS_TRANSPOSE, dlib::blas_bindings::CBLAS_TRANSPOSE, int, int, int, double, double const*, int, double const*, int, double, double*, int)':
/usr/local/include/dlib/matrix/matrix_blas_bindings.h:219: undefined reference to `cblas_dgemm'
/usr/local/include/dlib/matrix/matrix_blas_bindings.h:219: undefined reference to `cblas_dgemm'
/usr/local/include/dlib/matrix/matrix_blas_bindings.h:219: undefined reference to `cblas_dgemm'
/tmp/go-build529846483/b001/_x005.o: In function `dlib::blas_bindings::cblas_scal(int, float, float*)':
/usr/local/include/dlib/matrix/matrix_blas_bindings.h:177: undefined reference to `cblas_sscal'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tensor_descriptor::set_size(int, int, int, int)':
cudnn_dlibapi.cpp:(.text+0x4b): undefined reference to `cudnnDestroyTensorDescriptor'
cudnn_dlibapi.cpp:(.text+0x6f): undefined reference to `cudnnCreateTensorDescriptor'
cudnn_dlibapi.cpp:(.text+0x99): undefined reference to `cudnnSetTensor4dDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tensor_descriptor::get_size(int&, int&, int&, int&) const':
cudnn_dlibapi.cpp:(.text+0x3ee): undefined reference to `cudnnGetTensor4dDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tensor_conv::clear()':
cudnn_dlibapi.cpp:(.text+0x5ea): undefined reference to `cudnnDestroyFilterDescriptor'
cudnn_dlibapi.cpp:(.text+0x5f8): undefined reference to `cudnnDestroyConvolutionDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tensor_conv::~tensor_conv()':
cudnn_dlibapi.cpp:(.text+0x97a): undefined reference to `cudnnDestroyFilterDescriptor'
cudnn_dlibapi.cpp:(.text+0x988): undefined reference to `cudnnDestroyConvolutionDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::pooling::clear()':
cudnn_dlibapi.cpp:(.text+0xf7d): undefined reference to `cudnnDestroyPoolingDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::pooling::setup(int, int, int, int, int, int, int)':
cudnn_dlibapi.cpp:(.text+0x1065): undefined reference to `cudnnDestroyPoolingDescriptor'
cudnn_dlibapi.cpp:(.text+0x1097): undefined reference to `cudnnCreatePoolingDescriptor'
cudnn_dlibapi.cpp:(.text+0x10d4): undefined reference to `cudnnSetPooling2dDescriptor'
cudnn_dlibapi.cpp:(.text+0x16ae): undefined reference to `cudnnDestroyPoolingDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::add(float, dlib::tensor&, float, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x1f88): undefined reference to `cudnnAddTensor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::batch_normalize(double, dlib::resizable_tensor&, dlib::resizable_tensor&, dlib::resizable_tensor&, double, dlib::resizable_tensor&, dlib::resizable_tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x2bef): undefined reference to `cudnnBatchNormalizationForwardTraining'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::batch_normalize_gradient(double, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor&, dlib::tensor&, dlib::tensor&)':
cudnn_dlibapi.cpp:(.text+0x3a71): undefined reference to `cudnnBatchNormalizationBackward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::batch_normalize_conv(double, dlib::resizable_tensor&, dlib::resizable_tensor&, dlib::resizable_tensor&, double, dlib::resizable_tensor&, dlib::resizable_tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x4f80): undefined reference to `cudnnBatchNormalizationForwardTraining'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::batch_normalize_conv_gradient(double, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor&, dlib::tensor&, dlib::tensor&)':
cudnn_dlibapi.cpp:(.text+0x5e0c): undefined reference to `cudnnBatchNormalizationBackward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tensor_conv::setup(dlib::tensor const&, dlib::tensor const&, int, int, int, int)':
cudnn_dlibapi.cpp:(.text+0x68a7): undefined reference to `cudnnCreateFilterDescriptor'
cudnn_dlibapi.cpp:(.text+0x68d4): undefined reference to `cudnnSetFilter4dDescriptor'
cudnn_dlibapi.cpp:(.text+0x68ea): undefined reference to `cudnnCreateConvolutionDescriptor'
cudnn_dlibapi.cpp:(.text+0x691a): undefined reference to `cudnnSetConvolution2dDescriptor'
cudnn_dlibapi.cpp:(.text+0x696d): undefined reference to `cudnnGetConvolution2dForwardOutputDim'
cudnn_dlibapi.cpp:(.text+0x6a00): undefined reference to `cudnnGetConvolutionForwardAlgorithm'
cudnn_dlibapi.cpp:(.text+0x6a80): undefined reference to `cudnnGetConvolutionForwardWorkspaceSize'
cudnn_dlibapi.cpp:(.text+0x6af0): undefined reference to `cudnnGetConvolutionBackwardDataAlgorithm'
cudnn_dlibapi.cpp:(.text+0x6b70): undefined reference to `cudnnGetConvolutionBackwardDataWorkspaceSize'
cudnn_dlibapi.cpp:(.text+0x6bdf): undefined reference to `cudnnGetConvolutionBackwardFilterAlgorithm'
cudnn_dlibapi.cpp:(.text+0x6c61): undefined reference to `cudnnGetConvolutionBackwardFilterWorkspaceSize'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tensor_conv::operator()(bool, dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x8219): undefined reference to `cudnnConvolutionForward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::pooling::operator()(dlib::resizable_tensor&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x97e4): undefined reference to `cudnnGetPooling2dForwardOutputDim'
cudnn_dlibapi.cpp:(.text+0x9948): undefined reference to `cudnnPoolingForward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::softmax(dlib::tensor&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xa966): undefined reference to `cudnnSoftmaxForward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::softmax_all(dlib::tensor&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xad53): undefined reference to `cudnnSoftmaxForward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::sigmoid(dlib::tensor&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xb18c): undefined reference to `cudnnActivationForward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::relu(dlib::tensor&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xb5bf): undefined reference to `cudnnActivationForward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tanh(dlib::tensor&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xb9ff): undefined reference to `cudnnActivationForward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tanh_gradient(dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xbe92): undefined reference to `cudnnActivationBackward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tensor_conv::get_gradient_for_filters(bool, dlib::tensor const&, dlib::tensor const&, dlib::tensor&)':
cudnn_dlibapi.cpp:(.text+0xc259): undefined reference to `cudaGetDevice'
cudnn_dlibapi.cpp:(.text+0xc2d4): undefined reference to `cudnnConvolutionBackwardFilter'
cudnn_dlibapi.cpp:(.text+0xc40c): undefined reference to `cudnnCreate'
cudnn_dlibapi.cpp:(.text+0xc7f6): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::tensor_conv::get_gradient_for_data(bool, dlib::tensor const&, dlib::tensor const&, dlib::tensor&)':
cudnn_dlibapi.cpp:(.text+0xcc3b): undefined reference to `cudaGetDevice'
cudnn_dlibapi.cpp:(.text+0xccb6): undefined reference to `cudnnConvolutionBackwardData'
cudnn_dlibapi.cpp:(.text+0xcdfc): undefined reference to `cudnnCreate'
cudnn_dlibapi.cpp:(.text+0xd1e6): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::assign_conv_bias_gradient(dlib::tensor&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xd64b): undefined reference to `cudaGetDevice'
cudnn_dlibapi.cpp:(.text+0xd6ae): undefined reference to `cudnnConvolutionBackwardBias'
cudnn_dlibapi.cpp:(.text+0xd7a4): undefined reference to `cudnnCreate'
cudnn_dlibapi.cpp:(.text+0xd9bd): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::pooling::get_gradient(dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor&)':
cudnn_dlibapi.cpp:(.text+0xe01a): undefined reference to `cudaGetDevice'
cudnn_dlibapi.cpp:(.text+0xe08b): undefined reference to `cudnnPoolingBackward'
cudnn_dlibapi.cpp:(.text+0xe174): undefined reference to `cudnnCreate'
cudnn_dlibapi.cpp:(.text+0xe259): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::batch_normalize_conv_inference(double, dlib::resizable_tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xecac): undefined reference to `cudaGetDevice'
cudnn_dlibapi.cpp:(.text+0xed32): undefined reference to `cudnnBatchNormalizationForwardInference'
cudnn_dlibapi.cpp:(.text+0xee24): undefined reference to `cudnnCreate'
cudnn_dlibapi.cpp:(.text+0xf06b): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::batch_normalize_inference(double, dlib::resizable_tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0xf99a): undefined reference to `cudaGetDevice'
cudnn_dlibapi.cpp:(.text+0xfa1d): undefined reference to `cudnnBatchNormalizationForwardInference'
cudnn_dlibapi.cpp:(.text+0xfb14): undefined reference to `cudnnCreate'
cudnn_dlibapi.cpp:(.text+0xfd5b): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::softmax_all_gradient(dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x1026c): undefined reference to `cudnnSoftmaxBackward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::softmax_gradient(dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x1077f): undefined reference to `cudnnSoftmaxBackward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::relu_gradient(dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x10d0c): undefined reference to `cudnnActivationBackward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::sigmoid_gradient(dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
cudnn_dlibapi.cpp:(.text+0x11299): undefined reference to `cudnnActivationBackward'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::pooling::~pooling()':
cudnn_dlibapi.cpp:(.text+0xf59): undefined reference to `cudnnDestroyPoolingDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::cudnn_context::~cudnn_context()':
cudnn_dlibapi.cpp:(.text._ZN4dlib4cuda13cudnn_contextD2Ev[_ZN4dlib4cuda13cudnn_contextD5Ev]+0x21): undefined reference to `cudnnDestroy'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::cudnn_activation_descriptor::~cudnn_activation_descriptor()':
cudnn_dlibapi.cpp:(.text._ZN4dlib4cuda27cudnn_activation_descriptorD2Ev[_ZN4dlib4cuda27cudnn_activation_descriptorD5Ev]+0x4): undefined reference to `cudnnDestroyActivationDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::cudnn_activation_descriptor::cudnn_activation_descriptor(cudnnActivationMode_t, cudnnNanPropagation_t, double)':
cudnn_dlibapi.cpp:(.text._ZN4dlib4cuda27cudnn_activation_descriptorC2E21cudnnActivationMode_t21cudnnNanPropagation_td[_ZN4dlib4cuda27cudnn_activation_descriptorC5E21cudnnActivationMode_t21cudnnNanPropagation_td]+0x30): undefined reference to `cudnnCreateActivationDescriptor'
cudnn_dlibapi.cpp:(.text._ZN4dlib4cuda27cudnn_activation_descriptorC2E21cudnnActivationMode_t21cudnnNanPropagation_td[_ZN4dlib4cuda27cudnn_activation_descriptorC5E21cudnnActivationMode_t21cudnnNanPropagation_td]+0x48): undefined reference to `cudnnSetActivationDescriptor'
/usr/local/lib/libdlib.a(cudnn_dlibapi.cpp.o): In function `dlib::cuda::cudnn_context::get_handle()':
cudnn_dlibapi.cpp:(.text._ZN4dlib4cuda13cudnn_context10get_handleEv[_ZN4dlib4cuda13cudnn_context10get_handleEv]+0x29): undefined reference to `cudaGetDevice'
cudnn_dlibapi.cpp:(.text._ZN4dlib4cuda13cudnn_context10get_handleEv[_ZN4dlib4cuda13cudnn_context10get_handleEv]+0xb1): undefined reference to `cudnnCreate'
cudnn_dlibapi.cpp:(.text._ZN4dlib4cuda13cudnn_context10get_handleEv[_ZN4dlib4cuda13cudnn_context10get_handleEv]+0x173): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cublas_dlibapi.cpp.o): In function `dlib::cuda::gemm(float, dlib::tensor&, float, dlib::tensor const&, bool, dlib::tensor const&, bool)':
cublas_dlibapi.cpp:(.text+0xc2): undefined reference to `cudaGetDevice'
cublas_dlibapi.cpp:(.text+0x13b): undefined reference to `cublasSgemm_v2'
cublas_dlibapi.cpp:(.text+0x224): undefined reference to `cublasCreate_v2'
cublas_dlibapi.cpp:(.text+0x453): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cublas_dlibapi.cpp.o): In function `dlib::cuda::cublas_context::~cublas_context()':
cublas_dlibapi.cpp:(.text._ZN4dlib4cuda14cublas_contextD2Ev[_ZN4dlib4cuda14cublas_contextD5Ev]+0x21): undefined reference to `cublasDestroy_v2'
/usr/local/lib/libdlib.a(curand_dlibapi.cpp.o): In function `dlib::cuda::curand_generator::curand_generator(unsigned long long)':
curand_dlibapi.cpp:(.text+0x38): undefined reference to `curandCreateGenerator'
curand_dlibapi.cpp:(.text+0x4c): undefined reference to `curandSetPseudoRandomGeneratorSeed'
/usr/local/lib/libdlib.a(curand_dlibapi.cpp.o): In function `dlib::cuda::curand_generator::fill_gaussian(dlib::tensor&, float, float)':
curand_dlibapi.cpp:(.text+0x3ff): undefined reference to `curandGenerateNormal'
/usr/local/lib/libdlib.a(curand_dlibapi.cpp.o): In function `dlib::cuda::curand_generator::fill_uniform(dlib::tensor&)':
curand_dlibapi.cpp:(.text+0x617): undefined reference to `curandGenerateUniform'
/usr/local/lib/libdlib.a(curand_dlibapi.cpp.o): In function `dlib::cuda::curand_generator::fill(dlib::cuda::cuda_data_ptr<unsigned int>&)':
curand_dlibapi.cpp:(.text+0x810): undefined reference to `curandGenerate'
/usr/local/lib/libdlib.a(curand_dlibapi.cpp.o): In function `dlib::cuda::curand_generator::~curand_generator()':
curand_dlibapi.cpp:(.text+0x369): undefined reference to `curandDestroyGenerator'
/usr/local/lib/libdlib.a(cuda_data_ptr.cpp.o): In function `std::_Sp_counted_deleter<void*, dlib::cuda::cuda_data_void_ptr::cuda_data_void_ptr(unsigned long)::{lambda(void*)#1}, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()':
cuda_data_ptr.cpp:(.text+0x66): undefined reference to `cudaFree'
cuda_data_ptr.cpp:(.text+0x73): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cuda_data_ptr.cpp.o): In function `dlib::cuda::memcpy(void*, dlib::cuda::cuda_data_void_ptr const&, unsigned long)':
cuda_data_ptr.cpp:(.text+0x192): undefined reference to `cudaMemcpy'
cuda_data_ptr.cpp:(.text+0x22e): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cuda_data_ptr.cpp.o): In function `dlib::cuda::memcpy(dlib::cuda::cuda_data_void_ptr, void const*, unsigned long)':
cuda_data_ptr.cpp:(.text+0x382): undefined reference to `cudaMemcpy'
cuda_data_ptr.cpp:(.text+0x41e): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cuda_data_ptr.cpp.o): In function `dlib::cuda::cuda_data_void_ptr::cuda_data_void_ptr(unsigned long)':
cuda_data_ptr.cpp:(.text+0x692): undefined reference to `cudaMalloc'
cuda_data_ptr.cpp:(.text+0x7de): undefined reference to `cudaGetErrorString'
cuda_data_ptr.cpp:(.text+0x8ee): undefined reference to `cudaFree'
cuda_data_ptr.cpp:(.text+0x90b): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(cuda_data_ptr.cpp.o): In function `dlib::cuda::cudnn_device_buffer::get_buffer()':
cuda_data_ptr.cpp:(.text._ZN4dlib4cuda19cudnn_device_buffer10get_bufferEv[_ZN4dlib4cuda19cudnn_device_buffer10get_bufferEv]+0x30): undefined reference to `cudaGetDevice'
cuda_data_ptr.cpp:(.text._ZN4dlib4cuda19cudnn_device_buffer10get_bufferEv[_ZN4dlib4cuda19cudnn_device_buffer10get_bufferEv]+0x426): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `std::_Sp_counted_deleter<CUstream_st*, dlib::gpu_data::set_size(unsigned long)::{lambda(void*)#3}, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()':
gpu_data.cpp:(.text+0x126): undefined reference to `cudaStreamDestroy'
gpu_data.cpp:(.text+0x133): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `std::_Sp_counted_deleter<float*, dlib::gpu_data::set_size(unsigned long)::{lambda(float*)#2}, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()':
gpu_data.cpp:(.text+0x206): undefined reference to `cudaFree'
gpu_data.cpp:(.text+0x213): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `std::_Sp_counted_deleter<float*, dlib::gpu_data::set_size(unsigned long)::{lambda(float*)#1}, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()':
gpu_data.cpp:(.text+0x2e6): undefined reference to `cudaFreeHost'
gpu_data.cpp:(.text+0x2f3): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `dlib::gpu_data::wait_for_transfer_to_finish() const':
gpu_data.cpp:(.text+0x418): undefined reference to `cudaStreamSynchronize'
gpu_data.cpp:(.text+0x42b): undefined reference to `cudaGetLastError'
gpu_data.cpp:(.text+0x4be): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x5f9): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `dlib::gpu_data::copy_to_host() const':
gpu_data.cpp:(.text+0x746): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x75d): undefined reference to `cudaGetLastError'
gpu_data.cpp:(.text+0x7f0): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x895): undefined reference to `cudaStreamSynchronize'
gpu_data.cpp:(.text+0x8a8): undefined reference to `cudaGetLastError'
gpu_data.cpp:(.text+0x93f): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0xa7c): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0xba1): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `dlib::gpu_data::async_copy_to_device() const':
gpu_data.cpp:(.text+0xccc): undefined reference to `cudaMemcpyAsync'
gpu_data.cpp:(.text+0xd03): undefined reference to `cudaStreamSynchronize'
gpu_data.cpp:(.text+0xda5): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0xeda): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `dlib::memcpy(dlib::gpu_data&, unsigned long, dlib::gpu_data const&, unsigned long, unsigned long)':
gpu_data.cpp:(.text+0x10ac): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x1143): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x12f0): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x1387): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x1480): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x1517): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x15ea): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x1681): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x1792): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x1829): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x190d): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x19a4): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `dlib::memcpy(dlib::gpu_data&, dlib::gpu_data const&)':
gpu_data.cpp:(.text+0x1e15): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x1eac): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x1faf): undefined reference to `cudaMemcpy'
gpu_data.cpp:(.text+0x2042): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(gpu_data.cpp.o): In function `dlib::gpu_data::set_size(unsigned long)':
gpu_data.cpp:(.text+0x2381): undefined reference to `cudaStreamSynchronize'
gpu_data.cpp:(.text+0x23b0): undefined reference to `cudaGetDevice'
gpu_data.cpp:(.text+0x2432): undefined reference to `cudaMallocHost'
gpu_data.cpp:(.text+0x249b): undefined reference to `cudaMalloc'
gpu_data.cpp:(.text+0x2510): undefined reference to `cudaStreamCreateWithFlags'
gpu_data.cpp:(.text+0x2563): undefined reference to `cudaStreamSynchronize'
gpu_data.cpp:(.text+0x285d): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x29a5): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x2acc): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x2bf3): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x2d2c): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x2e1e): undefined reference to `cudaFree'
gpu_data.cpp:(.text+0x2e39): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x2f19): undefined reference to `cudaFreeHost'
gpu_data.cpp:(.text+0x2f31): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x3054): undefined reference to `cudaStreamDestroy'
gpu_data.cpp:(.text+0x30ee): undefined reference to `cudaGetErrorString'
gpu_data.cpp:(.text+0x3198): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_log10(float*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3d): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x88): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x96): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_log(float*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdd): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x110): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x128): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x136): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_set_tensor(float*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x181): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1b0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1c8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1d6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_exp(float*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x21d): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x250): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x268): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x276): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_scale_tensor(float*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2c1): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2f0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x308): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x316): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_threshold(float*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x361): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x390): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3a8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3b6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_dot(float const*, float const*, unsigned long, float*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x405): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x438): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x450): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x468): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x476): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_add_bias_gradient(float*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4c5): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x510): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x528): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x536): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_mult1_add_to(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x585): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5b8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5f6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply1_add_to(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x645): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x678): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x690): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6a8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6b6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_add1(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x705): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x738): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x750): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x768): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x776): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_add_scaled(float*, float const*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7c6): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x810): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x828): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x836): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform1_0(float*, float const*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x886): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8b8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8f6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_prelu(float const*, float*, unsigned long, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x945): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x978): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x990): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9a8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9b6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply1(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa05): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa38): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa50): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa68): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa76): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_mult1(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xac5): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaf8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb10): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb28): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb36): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_scale_channels_add_to(float*, float const*, unsigned long, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb87): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbb8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbd0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbe8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc00): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc0e): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_scale_channels(float*, float const*, unsigned long, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc57): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc88): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xca0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcb8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcd0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcde): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform2(float*, float const*, unsigned long, float const*, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd27): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd58): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd88): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xda0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdae): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_dot_prods(float*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdf7): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe28): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe40): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe58): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe7e): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_dot_prods_add_to(float*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xec7): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xef8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf10): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf28): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf40): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf4e): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform1(float*, float const*, unsigned long, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf9c): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xfd0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xfe8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1000): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1018): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1026): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_add_cv_to_all_columns_no_beta(float*, float, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x107b): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10b0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10c8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1106): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_scale_rows(float*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1157): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1188): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11a0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11b8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11de): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_inverse_norms(float*, float const*, unsigned long, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x122b): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1260): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1278): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1290): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12a8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12b6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_scale_columns(float*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1307): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1338): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1350): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1368): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1380): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x138e): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply3(float*, float const*, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13df): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1410): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1428): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1440): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1458): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1470): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply3(float*, float const*, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1482): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply_conv(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14cf): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1500): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1518): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1530): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1548): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1560): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply_conv(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1572): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply_conv2(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15bf): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15f0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1608): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1620): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1638): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1650): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply_conv2(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1662): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply_conv_add_to(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16af): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1710): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1728): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1740): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply_conv_add_to(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1752): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply_conv2_add_to(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x179f): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x17d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x17e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1800): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1818): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1830): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply_conv2_add_to(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1842): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform4_0(float*, float const*, float const*, unsigned long, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1890): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x18c8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x18e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x18f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x190e): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1926): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform4_0(float*, float const*, float const*, unsigned long, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1938): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_prelu_gradient(float*, float const*, float const*, unsigned long, float const*, float*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x198f): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x19c0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x19d8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x19f0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1a08): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1a20): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_prelu_gradient(float*, float const*, float const*, unsigned long, float const*, float*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1a32): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_copy_tensor_add_to(float*, unsigned long, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1a7f): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1ab0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1ac8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1ae0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1af8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1b10): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_copy_tensor_add_to(float*, unsigned long, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1b22): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_copy_tensor(float*, unsigned long, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1b6f): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1ba0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1bb8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1bd0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1be8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1c00): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_copy_tensor(float*, unsigned long, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1c12): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_add_cv_to_all_columns(float, float*, float, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1c5e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1c90): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1ca8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1cc0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1cd8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1cf0): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_add_cv_to_all_columns(float, float*, float, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1d02): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform3(float*, float const*, unsigned long, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1d4f): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1d80): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1d98): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1db0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1dc8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1de0): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform3(float*, float const*, unsigned long, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1df2): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply3_add_to(float*, float const*, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1e3f): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1e70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1e88): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1ea0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1eb8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1ed0): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply3_add_to(float*, float const*, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1ee2): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_scale_rows2(float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1f36): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1f70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1f88): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1fa0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1fb8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1fd4): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_scale_rows2(float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2002): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply2_add_to(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2056): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2090): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x20a8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x20c0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x20d8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x20f4): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply2_add_to(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2122): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform_conv(float*, float const*, unsigned long, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2176): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x21b0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x21c8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x21e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x21f8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2214): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform_conv(float*, float const*, unsigned long, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2242): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply2(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2296): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x22d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x22e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2300): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2318): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2334): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_multiply2(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2362): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform4(float*, float const*, float const*, unsigned long, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x23b7): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x23f0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2408): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2420): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2438): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2454): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform4(float*, float const*, float const*, unsigned long, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2482): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_scale_rows2_beta(float, float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x24df): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2510): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2528): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2540): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2558): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2570): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_scale_rows2_beta(float, float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x25ba): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_compute_loss_multiclass_log_per_pixel(float*, float*, unsigned short const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned short, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2628): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2660): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2678): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2690): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x26a8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x26c0): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_compute_loss_multiclass_log_per_pixel(float*, float*, unsigned short const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned short, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2726): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform_range(float*, float const*, float const*, float const*, unsigned long, unsigned long, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2791): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x27c8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x27e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x27f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2810): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2828): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform_range(float*, float const*, float const*, float const*, unsigned long, unsigned long, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x288e): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform5(float*, float const*, float const*, float const*, unsigned long, float, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x28f1): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2928): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2940): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2958): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2970): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2986): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform5(float*, float const*, float const*, float const*, unsigned long, float, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x29ec): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_resize_bilinear_gradient(unsigned long, unsigned long, unsigned long, float const*, unsigned long, int, int, float*, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2a5d): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2a90): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2aa8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2ac0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2ad8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2af0): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_resize_bilinear_gradient(unsigned long, unsigned long, unsigned long, float const*, unsigned long, int, int, float*, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2b72): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_resize_bilinear(unsigned long, unsigned long, unsigned long, float*, unsigned long, int, int, float const*, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2bdd): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2c10): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2c28): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2c40): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2c58): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2c70): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_resize_bilinear(unsigned long, unsigned long, unsigned long, float*, unsigned long, int, int, float const*, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2cf2): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform_rect(float*, float const*, float const*, float const*, float, float, float, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2d65): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2da0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2db8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2dd0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2de8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2e04): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_affine_transform_rect(float*, float const*, float const*, float const*, float, float, float, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2ea2): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_compute_adam_update(unsigned long, unsigned long, float*, float*, float*, float, float, float, float, float const*, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2f10): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2f48): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2f60): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2f78): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2f90): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x2fa6): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_compute_adam_update(unsigned long, unsigned long, float*, float*, float*, float, float, float, float, float const*, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3044): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_resize_bilinear_gradient_strided(unsigned long, unsigned long, unsigned long, float const*, unsigned long, int, int, float*, float, float, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x30e3): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3118): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3130): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3148): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3160): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3176): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_resize_bilinear_gradient_strided(unsigned long, unsigned long, unsigned long, float const*, unsigned long, int, int, float*, float, float, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x324c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_resize_bilinear_strided(unsigned long, unsigned long, unsigned long, float*, unsigned long, int, int, float const*, float, float, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x32e3): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3318): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3330): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3348): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3360): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3376): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_resize_bilinear_strided(unsigned long, unsigned long, unsigned long, float*, unsigned long, int, int, float const*, float, float, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x344c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_add2(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3514): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3550): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3568): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3580): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3598): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x35b4): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_add2(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x36c2): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_mult2(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3784): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x37c0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x37d8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x37f0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3808): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3824): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_mult2(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3932): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_mult2_add_to(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x39f4): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3a30): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3a48): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3a60): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3a78): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3a94): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::_cuda_mult2_add_to(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3ba2): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::set_device(int)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3bcd): undefined reference to `cudaSetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3c8a): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::get_device()':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3d9a): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3e5b): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::get_device_name[abi:cxx11](int)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x3f6d): undefined reference to `cudaGetDeviceProperties'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x40e4): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::set_current_device_blocking_sync()':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x41f2): undefined reference to `cudaSetDeviceFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x42af): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::get_num_devices()':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x43b2): undefined reference to `cudaGetDeviceCount'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4473): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::can_access_peer(int, int)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4586): undefined reference to `cudaDeviceCanAccessPeer'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x464c): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::device_synchronize(int)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4792): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x47a2): undefined reference to `cudaSetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x47b1): undefined reference to `cudaDeviceSynchronize'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x47c3): undefined reference to `cudaSetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4883): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x49bd): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4ae4): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4c21): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::enable_peer_access::enable_peer_access(int, int)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4d91): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4da6): undefined reference to `cudaSetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4dba): undefined reference to `cudaDeviceEnablePeerAccess'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4dce): undefined reference to `cudaGetLastError'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4de1): undefined reference to `cudaSetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4eae): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x4fec): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5126): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5253): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x537a): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::enable_peer_access::~enable_peer_access()':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5512): undefined reference to `cudaDeviceDisablePeerAccess'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x55bc): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::dot_prods(dlib::resizable_tensor&, dlib::tensor const&, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5964): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5a00): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5ae7): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5b05): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5b23): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5b41): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5b5b): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5c2a): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x5d16): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::scale_channels(bool, dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x602e): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x60ce): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6197): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x61b5): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x61d3): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x61f1): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x620b): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x628f): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x633a): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x63c1): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6461): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6517): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6535): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6553): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6571): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x658b): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6657): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x66cb): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::tensor&, dlib::tensor const&, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x67b5): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6851): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6966): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x699a): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x69b2): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x69ca): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x69e2): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x69f0): undefined reference to `cudaLaunch'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6a47): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6a65): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6a83): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6aa1): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6abb): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6b7d): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::tensor&, dlib::tensor const&, dlib::tensor const&, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6db5): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6e51): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6f6e): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6fb2): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6fce): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6fe6): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x6ffe): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7016): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x702e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::tensor&, dlib::tensor const&, dlib::tensor const&, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x703c): undefined reference to `cudaLaunch'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x708f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x70ad): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x70cb): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x70e9): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7103): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x71d2): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::add_scaled(dlib::tensor&, float, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7545): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x75e1): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x76f6): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x772a): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7742): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x775a): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7772): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7780): undefined reference to `cudaLaunch'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x77d7): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x77f5): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7813): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7831): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x784b): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x790d): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::assign_bias_gradient(dlib::tensor&, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7cb8): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7d54): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7e86): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7eb3): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7ecb): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7ee3): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7efb): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7f09): undefined reference to `cudaLaunch'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7f4f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7f6d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7f8b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7fa9): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x7fc3): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8093): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::dot(dlib::tensor const&, dlib::tensor const&, dlib::tensor&, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x815f): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x81ff): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x831e): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x834f): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8367): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x837f): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8397): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x83a5): undefined reference to `cudaLaunch'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x83ff): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x841d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x843b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8459): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8473): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8541): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::copy_tensor(bool, dlib::tensor&, unsigned long, dlib::tensor const&, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8ab9): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8b53): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8c64): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8ca4): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8cc0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8cd8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8cf0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8d08): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8d20): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::copy_tensor(bool, dlib::tensor&, unsigned long, dlib::tensor const&, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8d2e): undefined reference to `cudaLaunch'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8d77): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8e11): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8ebf): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8edc): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8ef9): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8f16): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8f3b): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x901f): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x90b4): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x90f7): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9114): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9131): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x914e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9173): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9259): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda19_cuda_inverse_normsEPfPKfmmf(float*, float const*, unsigned long, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x95cb): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x95f0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9608): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9620): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9638): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9646): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda15_cuda_dot_prodsEPfPKfS3_mm(float*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x967a): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x96a0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x96b8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x96d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x96e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x96f6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda22_cuda_dot_prods_add_toEPfPKfS3_mm(float*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x972a): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9750): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9768): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9780): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9798): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x97a6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda19_cuda_scale_columnsEPfPKfS3_mm(float*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x97da): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9800): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9818): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9830): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9848): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9856): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda16_cuda_scale_rowsEPfPKfS3_mm(float*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x988a): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x98b0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x98c8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x98e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x98f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9906): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda17_cuda_scale_rows2EPfPKfS3_S3_S3_mm(float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x993e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9960): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9978): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9990): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x99a8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x99be): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda17_cuda_scale_rows2EPfPKfS3_S3_S3_mm(float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x99e8): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda22_cuda_scale_rows2_betaEfPfPKfS3_S3_S3_mm(float, float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9a35): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9a58): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9a70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9a88): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9aa0): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9ab8): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda22_cuda_scale_rows2_betaEfPfPKfS3_S3_S3_mm(float, float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9b02): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda9_cuda_expEPfPKfm(float*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9b30): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9b50): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9b68): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9b76): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda9_cuda_logEPfPKfm(float*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9ba0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9bc0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9bd8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9be6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda11_cuda_log10EPfPKfm(float*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9c10): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9c30): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9c48): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9c56): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda15_cuda_multiply1EPfPKfS3_m(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9c84): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9ca8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9cc0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9cd6): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9ce4): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda15_cuda_multiply2EPfPKfS3_mmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9d1e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9d40): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9d58): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9d70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9d88): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9d9e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda15_cuda_multiply2EPfPKfS3_mmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9dc8): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda15_cuda_multiply3EPfPKfS3_mmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9e0e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9e30): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9e48): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9e60): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9e78): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9e8e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda15_cuda_multiply3EPfPKfS3_mmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9e9c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda22_cuda_multiply1_add_toEPfPKfS3_m(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9ed4): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9ef8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9f10): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9f26): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9f34): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda22_cuda_multiply2_add_toEPfPKfS3_mmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9f6e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9f90): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9fa8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9fc0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9fd8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x9fee): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda22_cuda_multiply2_add_toEPfPKfS3_mmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa018): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda22_cuda_multiply3_add_toEPfPKfS3_mmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa05e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa080): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa098): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa0b0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa0c8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa0de): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda22_cuda_multiply3_add_toEPfPKfS3_mmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa0ec): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda19_cuda_multiply_convEPfPKfmS3_mm(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa12e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa150): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa168): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa180): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa198): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa1ae): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda19_cuda_multiply_convEPfPKfmS3_mm(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa1bc): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda20_cuda_multiply_conv2EPfPKfmS3_mm(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa1fe): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa220): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa238): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa250): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa268): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa27e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda20_cuda_multiply_conv2EPfPKfmS3_mm(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa28c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda26_cuda_multiply_conv_add_toEPfPKfmS3_mm(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa2ce): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa2f0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa308): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa320): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa338): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa34e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda26_cuda_multiply_conv_add_toEPfPKfmS3_mm(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa35c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_multiply_conv2_add_toEPfPKfmS3_mm(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa39e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa3c0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa3d8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa3f0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa408): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa41e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_multiply_conv2_add_toEPfPKfmS3_mm(float*, float const*, unsigned long, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa42c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_scale_channels_add_toEPfPKfmS3_m(float*, float const*, unsigned long, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa46a): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa490): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa4a8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa4c0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa4d8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa4e6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda20_cuda_scale_channelsEPfPKfmS3_m(float*, float const*, unsigned long, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa51a): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa540): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa558): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa570): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa588): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa596): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda11_cuda_mult1EPfPKfS3_m(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa5c4): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa5e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa600): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa616): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa624): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda18_cuda_mult1_add_toEPfPKfS3_m(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa654): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa678): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa690): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa6a6): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa6b4): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda11_cuda_mult2EPfPKfS3_mmmmmmmmmmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa6ee): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa710): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa728): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa740): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa758): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa76e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda11_cuda_mult2EPfPKfS3_mmmmmmmmmmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa87b): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda18_cuda_mult2_add_toEPfPKfS3_mmmmmmmmmmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa8be): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa8e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa8f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa910): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa928): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xa93e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda18_cuda_mult2_add_toEPfPKfS3_mmmmmmmmmmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaa4b): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda10_cuda_add1EPfPKfS3_m(float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaa84): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaaa8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaac0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaad6): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaae4): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda10_cuda_add2EPfPKfS3_mmmmmmmmmmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xab1e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xab40): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xab58): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xab70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xab88): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xab9e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda10_cuda_add2EPfPKfS3_mmmmmmmmmmmm(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xacab): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda23_cuda_affine_transform1EPfPKfmff(float*, float const*, unsigned long, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaceb): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xad10): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xad28): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xad40): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xad56): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xad64): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::tensor&, dlib::tensor const&, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xade9): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xae85): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xaf8a): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xafbe): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xafd6): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xafee): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb006): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb014): undefined reference to `cudaLaunch'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb07d): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb119): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb1cf): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb1ed): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb20b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb229): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb243): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb324): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb39f): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb3df): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb3fd): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb41b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb439): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb453): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb528): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda25_cuda_affine_transform1_0EPfPKfmf(float*, float const*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb716): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb738): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb750): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb768): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb776): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_affine_transform_rectEPfPKfS3_S3_fffmmmm(float*, float const*, float const*, float const*, float, float, float, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb7c0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb7e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb7f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb810): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb828): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb840): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_affine_transform_rectEPfPKfS3_S3_fffmmmm(float*, float const*, float const*, float const*, float, float, float, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xb8d8): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::rectangle const&, dlib::tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xba52): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbaee): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbdc5): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbe6f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbe8d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbeab): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbec9): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbee6): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xbfc4): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda23_cuda_affine_transform4EPfPKfS3_mfff(float*, float const*, float const*, unsigned long, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc8e7): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc908): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc920): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc938): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc950): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc968): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda23_cuda_affine_transform4EPfPKfS3_mfff(float*, float const*, float const*, unsigned long, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xc996): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::tensor&, dlib::tensor const&, dlib::tensor const&, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xca38): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcad4): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcbd9): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcc1d): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcc39): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcc51): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcc69): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcc81): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcc99): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::tensor&, dlib::tensor const&, dlib::tensor const&, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcca7): undefined reference to `cudaLaunch'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcd1a): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcdb6): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xce6f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xce8d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xceab): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcec9): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcee3): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xcfd6): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd051): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd097): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd0b5): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd0d3): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd0f1): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd10b): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd1ee): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda25_cuda_affine_transform4_0EPfPKfS3_mff(float*, float const*, float const*, unsigned long, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd551): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd570): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd588): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd5a0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd5b8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd5d0): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda25_cuda_affine_transform4_0EPfPKfS3_mff(float*, float const*, float const*, unsigned long, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd5de): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda16_cuda_add_scaledEPfPKfmf(float*, float const*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd616): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd638): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd650): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd668): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd676): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_add_cv_to_all_columnsEfPffPKfmm(float, float*, float, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd6b1): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd6d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd6e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd700): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd718): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd730): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_add_cv_to_all_columnsEfPffPKfmm(float, float*, float, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd73e): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda35_cuda_add_cv_to_all_columns_no_betaEPffPKfmm(float*, float, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd77b): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd7a0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd7b8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd7d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd7e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd7f6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::add_cv_to_all_columns(float, dlib::tensor&, float, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xd9e9): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xda85): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdb8a): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdc13): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdcaf): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdd5f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdd7d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdd9b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xddb9): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xddd3): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdec2): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdeef): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdf0d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdf2b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdf49): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xdf63): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe042): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe0d0): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda23_cuda_affine_transform5EPfPKfS3_S3_mffff(float*, float const*, float const*, float const*, unsigned long, float, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe192): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe1b0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe1c8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe1e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe1f8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe210): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda23_cuda_affine_transform5EPfPKfS3_S3_mffff(float*, float const*, float const*, float const*, unsigned long, float, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe272): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, float, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe32b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe3cd): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe4ec): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe56f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe58e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe5ad): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe5cc): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe5e7): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xe6b4): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda28_cuda_affine_transform_rangeEPfPKfS3_S3_mmfff(float*, float const*, float const*, float const*, unsigned long, unsigned long, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xeb71): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xeb90): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xeba8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xebc0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xebd8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xebf0): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda28_cuda_affine_transform_rangeEPfPKfS3_S3_mmfff(float*, float const*, float const*, float const*, unsigned long, unsigned long, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xec52): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform_range(unsigned long, unsigned long, dlib::tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&, float, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xed20): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xedc2): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf043): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf0b7): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf0d6): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf0f5): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf114): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf12f): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf202): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda23_cuda_affine_transform2EPfPKfmS3_S3_(float*, float const*, unsigned long, float const*, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf6ba): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf6e0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf6f8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf710): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf728): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf736): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda23_cuda_affine_transform3EPfPKfmS3_S3_m(float*, float const*, unsigned long, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf76e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf790): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf7a8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf7c0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf7d8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf7ee): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda23_cuda_affine_transform3EPfPKfmS3_S3_m(float*, float const*, unsigned long, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xf7fc): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform(dlib::tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xfec5): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0xff61): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10021): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1003f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1005d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1007b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x100a9): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10144): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x101ff): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x102c5): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1036b): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1041f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1043d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1045b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10479): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10493): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10564): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x105f5): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda25_cuda_compute_adam_updateEmmPfS1_S1_ffffPKfS3_(unsigned long, unsigned long, float*, float*, float*, float, float, float, float, float const*, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x106c6): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x106e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10700): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10718): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10730): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10748): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda25_cuda_compute_adam_updateEmmPfS1_S1_ffffPKfS3_(unsigned long, unsigned long, float*, float*, float*, float, float, float, float, float const*, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x107e4): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::compute_adam_update(unsigned long, unsigned long, dlib::tensor&, dlib::tensor&, dlib::tensor&, float, float, float, float, float, dlib::tensor const&, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10c04): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10c9e): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10dc2): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10e5f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10e7c): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10e99): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10eb6): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10ed2): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x10fa4): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_affine_transform_convEPfPKfmS3_S3_mm(float*, float const*, unsigned long, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1103e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11060): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11078): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11090): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x110a8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x110be): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda27_cuda_affine_transform_convEPfPKfmS3_S3_mm(float*, float const*, unsigned long, float const*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x110e8): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::affine_transform_conv(dlib::tensor&, dlib::tensor const&, dlib::tensor const&, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1165d): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x116f9): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1181b): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1188f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x118ad): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x118cb): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x118e9): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11903): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x119d9): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda18_add_bias_gradientEPfPKfmm(float*, float const*, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11a54): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11a78): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11a90): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11aa6): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11ab4): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda11_set_tensorEPfmf(float*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11ae1): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11b00): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11b18): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11b26): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda13_scale_tensorEPfmf(float*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11b51): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11b70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11b88): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11b96): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda15_cuda_thresholdEPfmf(float*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11bc1): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11be0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11bf8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11c06): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda9_cuda_dotEPKfS2_mPf(float const*, float const*, unsigned long, float*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11c34): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11c58): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11c70): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11c86): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11c94): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda11_cuda_preluEPKfPfmS2_(float const*, float*, unsigned long, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11cc4): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11ce8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11d00): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11d16): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11d24): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda20_cuda_prelu_gradientEPfPKfS3_mS3_S1_(float*, float const*, float const*, unsigned long, float const*, float*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11d5e): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11d80): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11d98): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11db0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11dc8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11dde): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda20_cuda_prelu_gradientEPfPKfS3_mS3_S1_(float*, float const*, float const*, unsigned long, float const*, float*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11dec): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda21_cuda_resize_bilinearEmmmPfmiiPKfff(unsigned long, unsigned long, unsigned long, float*, unsigned long, int, int, float const*, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11e3b): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11e60): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11e78): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11e90): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11ea8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11ec0): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda21_cuda_resize_bilinearEmmmPfmiiPKfff(unsigned long, unsigned long, unsigned long, float*, unsigned long, int, int, float const*, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11f42): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda29_cuda_resize_bilinear_stridedEmmmPfmiiPKfffmmm(unsigned long, unsigned long, unsigned long, float*, unsigned long, int, int, float const*, float, float, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11f8b): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11fb0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11fc8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11fe0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x11ff8): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12010): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda29_cuda_resize_bilinear_stridedEmmmPfmiiPKfffmmm(unsigned long, unsigned long, unsigned long, float*, unsigned long, int, int, float const*, float, float, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x120e6): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::resize_bilinear(dlib::tensor&, long, long, dlib::tensor const&, long, long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12223): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x122bd): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x123da): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x124b2): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1254c): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1261d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12640): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12663): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12686): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x126a2): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1277e): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12812): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12885): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x128a8): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x128cb): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x128ee): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1290a): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x129e6): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda30_cuda_resize_bilinear_gradientEmmmPKfmiiPfff(unsigned long, unsigned long, unsigned long, float const*, unsigned long, int, int, float*, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12e9b): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12ec0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12ed8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12ef0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12f08): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12f20): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda30_cuda_resize_bilinear_gradientEmmmPKfmiiPfff(unsigned long, unsigned long, unsigned long, float const*, unsigned long, int, int, float*, float, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12fa2): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda38_cuda_resize_bilinear_gradient_stridedEmmmPKfmiiPfffmmm(unsigned long, unsigned long, unsigned long, float const*, unsigned long, int, int, float*, float, float, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x12feb): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13010): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13028): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13040): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13058): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13070): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda38_cuda_resize_bilinear_gradient_stridedEmmmPKfmiiPfffmmm(unsigned long, unsigned long, unsigned long, float const*, unsigned long, int, int, float*, float, float, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13146): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::resize_bilinear_gradient(dlib::tensor&, long, long, dlib::tensor const&, long, long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13283): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1331d): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1343a): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13512): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x135ac): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1367d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x136a0): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x136c3): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x136e6): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13702): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x137de): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13872): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x138e5): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13908): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1392b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1394e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1396a): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13a4e): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda24_cuda_copy_tensor_add_toEPfmPKfmmm(float*, unsigned long, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13efe): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13f20): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13f38): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13f50): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13f68): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13f7e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda24_cuda_copy_tensor_add_toEPfmPKfmmm(float*, unsigned long, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13f8c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda17_cuda_copy_tensorEPfmPKfmmm(float*, unsigned long, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13fce): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x13ff0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14008): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14020): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14038): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1404e): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda17_cuda_copy_tensorEPfmPKfmmm(float*, unsigned long, float const*, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1405c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda43_cuda_compute_loss_multiclass_log_per_pixelEPfS1_PKtmmmmtf(float*, float*, unsigned short const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned short, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x140ae): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x140d0): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x140e8): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14100): undefined reference to `cudaSetupArgument'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14118): undefined reference to `cudaSetupArgument'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14130): more undefined references to `cudaSetupArgument' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__device_stub__ZN4dlib4cuda43_cuda_compute_loss_multiclass_log_per_pixelEPfS1_PKtmmmmtf(float*, float*, unsigned short const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned short, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14196): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::compute_loss_multiclass_log_per_pixel::do_work(float*, unsigned short const*, dlib::tensor const&, dlib::tensor&, double&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x141db): undefined reference to `cudaMemset'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14265): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14301): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14431): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14499): undefined reference to `cudaMemcpy'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1450f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1452d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x1454b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14569): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x145a2): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14683): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14723): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x14859): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::multiply(bool, dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x157e6): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15882): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15993): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15ad2): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15b6e): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15d03): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15d21): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15d3f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15d5d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15d81): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15e11): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15ec5): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15f03): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15f21): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15f3f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15f5d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x15f81): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16018): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `dlib::cuda::multiply_conv(bool, dlib::tensor&, dlib::tensor const&, dlib::tensor const&)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16627): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x166cc): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16861): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16906): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16a11): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16a2f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16a4d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16a6b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16a98): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16b30): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16bea): undefined reference to `cudaConfigureCall'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16c34): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16c52): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16c70): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16c8e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16cbb): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16d53): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x16e0a): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__cudaUnregisterBinaryUtil()':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text+0x8): undefined reference to `__cudaUnregisterFatBinary'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `__sti____cudaRegisterAll()':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text.startup+0x7): undefined reference to `__cudaRegisterFatBinary'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text.startup+0x37): undefined reference to `__cudaRegisterFunction'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text.startup+0x61): undefined reference to `__cudaRegisterFunction'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text.startup+0x8b): undefined reference to `__cudaRegisterFunction'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text.startup+0xb5): undefined reference to `__cudaRegisterFunction'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text.startup+0xdf): undefined reference to `__cudaRegisterFunction'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o):tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text.startup+0x109): more undefined references to `__cudaRegisterFunction' follow
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, unsigned long, unsigned long, float), float*, float const*, long long, unsigned long long, double>(void (*)(float*, float const*, unsigned long, unsigned long, float), dlib::cuda::max_jobs, float*, float const*, long long, unsigned long long, double)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x8b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x150): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x235): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x253): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x271): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x28f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x2bd): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x3bd): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmmfEJS2_S4_xydEEEvT_NS0_8max_jobsEDpT0_]+0x4f6): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, float const*, unsigned long, unsigned long), float*, float const*, float const*, long long, unsigned long long>(void (*)(float*, float const*, float const*, unsigned long, unsigned long), dlib::cuda::max_jobs, float*, float const*, float const*, long long, unsigned long long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x8b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x150): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x234): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x252): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x270): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x28e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x2b0): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x399): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmEJS2_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x4bc): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long), float*, float const*, float const*, float const*, float const*, long long, unsigned long long>(void (*)(float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long), dlib::cuda::max_jobs, float*, float const*, float const*, float const*, float const*, long long, unsigned long long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x96): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x158): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x234): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x252): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x270): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x28e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x2ba): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x3b7): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_S4_S4_mmEJS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x4ea): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float, float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long), float, float*, float const*, float const*, float const*, float const*, long long, unsigned long long>(void (*)(float, float*, float const*, float const*, float const*, float const*, unsigned long, unsigned long), dlib::cuda::max_jobs, float, float*, float const*, float const*, float const*, float const*, long long, unsigned long long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x9e): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x168): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x245): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x263): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x281): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x29f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x2d5): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x3e3): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvfPfPKfS4_S4_S4_mmEJfS2_S4_S4_S4_S4_xyEEEvT_NS0_8max_jobsEDpT0_]+0x528): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, unsigned long), float*, float const*, unsigned long>(void (*)(float*, float const*, unsigned long), dlib::cuda::max_jobs, float*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x7b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x138): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x20a): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x228): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x246): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x264): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x285): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x35d): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmEJS2_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x46d): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, float const*, unsigned long), float*, float const*, float const*, unsigned long>(void (*)(float*, float const*, float const*, unsigned long), dlib::cuda::max_jobs, float*, float const*, float const*, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x8b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x150): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x234): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x252): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x270): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x28e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x2b0): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x399): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mEJS2_S4_S4_mEEEvT_NS0_8max_jobsEDpT0_]+0x4bc): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long), float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long>(void (*)(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long), dlib::cuda::max_jobs, float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x8b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x150): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x234): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x252): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x270): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x28e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x2b0): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x399): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmEJS2_S4_S4_mmmmEEEvT_NS0_8max_jobsEDpT0_]+0x4bc): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, unsigned long, float const*, unsigned long, unsigned long), float*, float const*, long long, float const*, long long, long long>(void (*)(float*, float const*, unsigned long, float const*, unsigned long, unsigned long), dlib::cuda::max_jobs, float*, float const*, long long, float const*, long long, long long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x8b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x150): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x234): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x252): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x270): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x28e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x2b0): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x399): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfmS4_mmEJS2_S4_xS4_xxEEEvT_NS0_8max_jobsEDpT0_]+0x4bc): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long), float*, float const*, float const*, long long, long long, long long, long long, long long, long long, long long, long long, long long, long long, long long, long long>(void (*)(float*, float const*, float const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long), dlib::cuda::max_jobs, float*, float const*, float const*, long long, long long, long long, long long, long long, long long, long long, long long, long long, long long, long long, long long)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x8b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x150): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x234): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x252): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x270): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x28e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x2b0): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x399): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mmmmmmmmmmmmEJS2_S4_S4_xxxxxxxxxxxxEEEvT_NS0_8max_jobsEDpT0_]+0x4bc): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, unsigned long, float), float*, unsigned long, float>(void (*)(float*, unsigned long, float), dlib::cuda::max_jobs, float*, unsigned long, float)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x83): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x140): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x21a): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x238): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x256): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x274): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x28c): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x369): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfmfEJS2_mfEEEvT_NS0_8max_jobsEDpT0_]+0x47c): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float const*, float*, unsigned long, float const*), float const*, float*, unsigned long, float const*>(void (*)(float const*, float*, unsigned long, float const*), dlib::cuda::max_jobs, float const*, float*, unsigned long, float const*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x8b): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x150): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x234): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x252): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x270): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x28e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x2b0): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x399): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPKfPfmS3_EJS3_S4_mS3_EEEvT_NS0_8max_jobsEDpT0_]+0x4bc): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cuda_dlib.cu.o): In function `void dlib::cuda::launch_kernel<void (*)(float*, float const*, float const*, unsigned long, float const*, float*), float*, float const*, float const*, unsigned long, float const*, float*>(void (*)(float*, float const*, float const*, unsigned long, float const*, float*), dlib::cuda::max_jobs, float*, float const*, float const*, unsigned long, float const*, float*)':
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0xa3): undefined reference to `cudaGetDevice'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0x168): undefined reference to `cudaGetErrorString'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0x244): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0x262): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0x280): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0x29e): undefined reference to `cudaDeviceGetAttribute'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0x2ca): undefined reference to `cudaFuncGetAttributes'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0x3c7): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
tmpxft_00000049_00000000-5_cuda_dlib.cudafe1.cpp:(.text._ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_[_ZN4dlib4cuda13launch_kernelIPFvPfPKfS4_mS4_S2_EJS2_S4_S4_mS4_S2_EEEvT_NS0_8max_jobsEDpT0_]+0x4fa): undefined reference to `cudaConfigureCall'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `dlib::cuda::_cuda_set_to_identity_matrix(float*, unsigned long)':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x3b): undefined reference to `cudaSetupArgument'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x70): undefined reference to `cudaSetupArgument'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x7e): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `dlib::cuda::set_to_identity_matrix(dlib::tensor&)':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0xe7): undefined reference to `cudaGetDevice'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x183): undefined reference to `cudaGetErrorString'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x295): undefined reference to `cudaConfigureCall'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x2b4): undefined reference to `cudaSetupArgument'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x2cc): undefined reference to `cudaSetupArgument'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x2da): undefined reference to `cudaLaunch'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x32f): undefined reference to `cudaDeviceGetAttribute'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x34d): undefined reference to `cudaDeviceGetAttribute'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x36b): undefined reference to `cudaDeviceGetAttribute'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x389): undefined reference to `cudaDeviceGetAttribute'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x3a3): undefined reference to `cudaFuncGetAttributes'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x45f): undefined reference to `cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `dlib::cuda::inv::~inv()':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x7e4): undefined reference to `cudaDeviceSynchronize'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `__device_stub__ZN4dlib4cuda28_cuda_set_to_identity_matrixEPfm(float*, unsigned long)':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0xa6a): undefined reference to `cudaSetupArgument'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0xa8e): undefined reference to `cudaSetupArgument'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0xa9c): undefined reference to `cudaLaunch'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `dlib::cuda::inv::operator()(dlib::tensor const&, dlib::resizable_tensor&)':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0xfa1): undefined reference to `cudaGetDevice'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0xffc): undefined reference to `cusolverDnSgetrf_bufferSize'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x119b): undefined reference to `cudaGetDevice'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x11fe): undefined reference to `cusolverDnSgetrf'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x1275): undefined reference to `cudaGetDevice'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x12d6): undefined reference to `cusolverDnSgetrs'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x152c): undefined reference to `cusolverDnCreate'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x1594): undefined reference to `cusolverDnCreate'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x15fc): undefined reference to `cusolverDnCreate'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x1784): undefined reference to `cudaDeviceSynchronize'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x1794): undefined reference to `cudaDeviceSynchronize'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x1b5c): undefined reference to `cudaGetErrorString'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x21f3): undefined reference to `cudaGetErrorString'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x2325): undefined reference to `cudaGetErrorString'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `__cudaUnregisterBinaryUtil()':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0x8): undefined reference to `__cudaUnregisterFatBinary'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `dlib::cuda::inv::sync_if_needed()':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text+0xa44): undefined reference to `cudaDeviceSynchronize'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `dlib::cuda::cusolver_context::~cusolver_context()':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text._ZN4dlib4cuda16cusolver_contextD2Ev[_ZN4dlib4cuda16cusolver_contextD5Ev]+0x21): undefined reference to `cusolverDnDestroy'
/usr/local/lib/libdlib.a(dlib_generated_cusolver_dlibapi.cu.o): In function `__sti____cudaRegisterAll()':
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text.startup+0xa): undefined reference to `__cudaRegisterFatBinary'
tmpxft_0000001f_00000000-5_cusolver_dlibapi.cudafe1.cpp:(.text.startup+0x37): undefined reference to `__cudaRegisterFunction'
collect2: error: ld returned 1 exit status

Instruction seems not right for MacOS High Serra

MacOS High Serra 10.13.4,
$ sed -i 's/^Libs: .*/& -lblas -llapack/' /usr/local/lib/pkgconfig/dlib-1.pc
sed: 1: "/usr/local/lib/pkgconfi ...": extra characters at the end of l command

$ go run main.go
#pkg-config --cflags dlib-1
pkg-config: exec: "pkg-config": executable file not found in $PATH

The solution is :
$ brew install pkg-config
After that it works.

Thanks

Test python result and golang

Unit tests pass well against I have a lot of problem.

``
package main

import (
"fmt"
"io/ioutil"
"log"
"github.com/Kagami/go-face"
)

func main() {

    var samples []face.Descriptor
    var cats []int32
    var labels []string

    rec, err := face.NewRecognizer("../opencv-test-sample/train")
    if err != nil {
            log.Fatalf("Can't init face recognizer: %v", err)
    }


    folderNameOfPersons, err := ioutil.ReadDir("../opencv-test-sample/train")
    if err != nil {
            log.Fatal(err)
    }

    //GEt all Personn
    indexPerson:=0
    for _, folderNameOfPerson := range folderNameOfPersons {
            if folderNameOfPerson.IsDir(){
                    pathPerson:="../opencv-test-sample/train/"+folderNameOfPerson.Name()

                    personFiles, err := ioutil.ReadDir(pathPerson)
                    if err != nil {
                            log.Fatal(err)
                    }

                    labels = append(labels, folderNameOfPerson.Name())
                    for _, file := range personFiles {
                            fmt.Println("Load:",pathPerson+"/"+file.Name())
                            faces, err := rec.RecognizeFile(pathPerson+"/"+file.Name())
                            if err != nil {
                                    log.Fatalf("Can't get faces: %v", err)
                            }
                            numFaces := len(faces)
                            if numFaces == 1 {
                                    samples = append(samples, faces[0].Descriptor)
                                    cats = append(cats, int32(indexPerson))
                            }
                    }
                    indexPerson++
            }
    }
    rec.SetSamples(samples, cats)

    fmt.Println("list categories:",cats)
    fmt.Println("list labels:",labels)

    fileTests, err := ioutil.ReadDir("../opencv-test-sample/test")
    if err != nil {
            log.Fatal(err)
    }
    for _, fileTest:= range fileTests {
            faces,err:=rec.RecognizeFile("../opencv-test-sample/test/"+fileTest.Name())
            fmt.Println("../opencv-test-sample/test/"+fileTest.Name()+" ",err)
            // for
            for _,f:=range faces {
                    catID := rec.Classify(f.Descriptor)
                    if catID < 0 {
                            log.Fatalf("   ! Can't classify")
                    }else{
                            fmt.Println("  * ",labels[catID])
                    }
            }

    }

    return

}
``

The result is: ``

Load: ../opencv-test-sample/train/Pascal_Praud/photo2.jpg
Load: ../opencv-test-sample/train/Pascal_Praud/photo3.jpg
Load: ../opencv-test-sample/train/Pascal_Praud/photo4.jpg
Load: ../opencv-test-sample/train/alex_lacamoire/img1.jpg
Load: ../opencv-test-sample/train/biden/biden.jpg
Load: ../opencv-test-sample/train/biden/biden2.jpg
Load: ../opencv-test-sample/train/kit_harington/john1.jpeg
Load: ../opencv-test-sample/train/kit_harington/john2.jpeg
Load: ../opencv-test-sample/train/obama/obama.jpg
Load: ../opencv-test-sample/train/obama/obama2.jpg
Load: ../opencv-test-sample/train/rose_leslie/img1.jpg
Load: ../opencv-test-sample/train/rose_leslie/img2.jpg
list categories: [0 0 0 1 2 2 3 3 4 4 5 5]
list labels: [Pascal_Praud alex_lacamoire biden kit_harington obama rose_leslie]
../opencv-test-sample/test/alex_lacamoire1.jpg

  • Pascal_Praud
    ../opencv-test-sample/test/johnsnow_test1.jpg
  • Pascal_Praud
    ../opencv-test-sample/test/kit_with_rose.jpg
  • Pascal_Praud
  • Pascal_Praud
    ../opencv-test-sample/test/obama1.jpg
  • Pascal_Praud
    ../opencv-test-sample/test/obama_and_biden.jpg
  • Pascal_Praud
  • Pascal_Praud
  • Pascal_Praud
    ``

I don't see a issue ? Can you help me ?

OS: Linux unbutu 16.04 and 18.04

Running sudo apt-get install libdlib-dev on Ubuntu 16.04 gives error

I am trying to install libdlib-dev on Ubuntu 16.04 but gives below error

Step 12/49 : RUN apt-get install libdlib-dev
 ---> Running in 844ecf1ab057
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libdlib19 libmkl-dev libmkl1
The following NEW packages will be installed:
  libdlib-dev libdlib19 libmkl-dev libmkl1
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 166 MB of archives.
After this operation, 664 MB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
The command '/bin/sh -c apt-g
```et install libdlib-dev' returned a non-zero code: 1
Exited with code 1

What am I doing wrong?

Cannot recognize PNG files

Hi, thank you for the awesome project!
I was playing around with RecognizeFile but it seems like this function cannot recognize PNG files even if I explicitly add .png at the end. (?)

Windows 7/10 build errors

Greetings! I can’t assemble the go-face, everything is done according to the instructions and on Win7 and 10 it produces the same error:

###@##### MSYS ~/go-face
$ go build
/C_/msys64/home/###/go-face
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK_\C_\msys64\home\DEZ\go-face_obj\facerec.cc.o: in function dlib::blas_bindings::cblas_gemm(dlib::blas_bindings::CBLAS_ORDER, dlib::blas_bindings::CBLAS_TRANSPOSE, dlib::blas_bindings::CBLAS_TRANSPOSE, int, int, int, double, double const*, int, double const*, int, double, double*, int):
C:/msys64/home/DEZ/go-face/dlib/matrix/matrix_blas_bindings.h:218: undefined reference to cblas_dgemm
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/DEZ/go-face/dlib/matrix/matrix_blas_bindings.h:218: undefined reference to cblas_dgemm
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/DEZ/go-face/dlib/matrix/matrix_blas_bindings.h:218: undefined reference to cblas_dgemm
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/home/DEZ/go-face/dlib/matrix/matrix_blas_bindings.h:218: undefined reference to cblas_dgemm
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: $WORK_\C_\msys64\home\DEZ\go-face_obj\facerec.cc.o: in function dlib::blas_bindings::cblas_scal(int, float, float*):
C:/msys64/home/DEZ/go-face/dlib/matrix/matrix_blas_bindings.h:177: undefined reference to cblas_sscal
collect2.exe: error: ld returned 1 exit status

If it does not bother you, tell me, please, a solution. Thank!

macOS High Sierra errors

> $ sed -i 's/^Libs: .*/& -lblas -llapack/' /usr/local/lib/pkgconfig/dlib-1.pc
sed: 1: "/usr/local/lib/pkgconfi ...": extra characters at the end of l command

fatal error: dlib/graph_utils.h: No such file or directory

Ubuntu 16.04
I have created dlib-1.pc and copied it to /usr/local/lib/pkgconfig/dlib-1.pc
Installing dlib through PPA

# github.com/Kagami/go-face
classify.cc:1:30: fatal error: dlib/graph_utils.h: No such file or directory
 #include <dlib/graph_utils.h>
                              ^
compilation terminated.

Any idea why this error is coming?
Docker File

FROM ubuntu:16.04

RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:kagamih/dlib
RUN apt-get update && apt-get install -y wget curl
RUN apt-get install -y libdlib-dev


FROM golang:1.11.1 as builder

# build the go binary
#
ENV GOPATH /go
ADD . /project
WORKDIR /project


ENV PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig


#WORKDIR /root/
#COPY dlib-1.pc /usr/local/lib/pkgconfig/dlib-1.pc

WORKDIR /project
RUN GO111MODULE=on go build -o app main.go

When I remove /usr/local/lib/pkgconfig/dlib-1.pc below error is shown

# pkg-config --cflags  -- dlib-1
Package dlib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dlib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dlib-1' found
pkg-config: exit status 1

dlib-1.pc file

libdir=/usr/lib/x86_64-linux-gnu
includedir=/usr/include

Name: dlib
Description: Numerical and networking C++ library
Version: 19.15.0
Libs: -L${libdir} -ldlib -L/opt/intel/mkl/lib/intel64 -lmkl_rt
Cflags: -I${includedir} -I/opt/intel/mkl/include
Requires:

macOS build errors

When i run go get github.com/Kagami/go-face, I get a bunch of errors pertaining to the files in the go-face folder

libjpeg centos 7

Get the following when compiling on CentOS 7 using dlib 19.16 and libjpeg-turbo-devel-1.2.90-6.el7.x86_64

jpeg_mem_loader.cc: In function 'void load_mem_jpeg(dlib::matrix<dlib::rgb_pixel>&, const uint8_t*, int)':
jpeg_mem_loader.cc:45:36: error: invalid conversion from 'const uint8_t* {aka const unsigned char*}' to 'unsigned char*' [-fpermissive]
  jpeg_mem_src(&cinfo, img_data, len);
                                    ^
In file included from jpeg_mem_loader.cc:3:0:
/usr/include/jpeglib.h:1008:14: note:   initializing argument 2 of 'void jpeg_mem_src(j_decompress_ptr, unsigned char*, long unsigned int)'
 EXTERN(void) jpeg_mem_src JPP((j_decompress_ptr cinfo,
              ^~~~~~~~~~~~
# g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) 

pkg-config

I was new to this, I follow instruction for windows using MSYS. I install them correctly. But when i try to download using "go get github.com/Kagami/go-face" it gives me error "# pkg-config --cflags -- dlib-1".

Run go test got errors

Hi~ Good work,
os: win 7 64 bit, and other libs are ok, go build also ok.
when i tried run the test use go test . , got these errors:

face_test.go:217: Can't recognize: jpeg_mem_loader: 
  decode error: Wrong JPEG library version: library is 80, caller expects 62

i use libjpeg-turbo-1.5.3-gcc64.exe to install libjpeg-turbo, and i also tried only link to libturbojpeg.a, but still not working, need u help, thanks.

How do I get descriptor from shape? Will support?

// New creates new face with the provided parameters.
func New(r image.Rectangle, d Descriptor) Face {
	return Face{r, d, []image.Point{}}
}

func NewWithShape(r image.Rectangle, s []image.Point, d Descriptor) Face {
	return Face{r, d, s}
}

How do I get descriptor from shape?
I didn't find a way to do it.
Will support?
I want to speed up by shape of opencv.

Build into one binary

I want to build into one binary.
face.Recognizer requires model directory.

Is it possible to build with model files into one binary ?
Could you give me your advice?

Error detected in function dlib::chip_details dlib::get_face_chip_details(const dlib::full_object_detection&, long unsigned int, double)

Im trying to run go-face package in docker container. I have managed to setup dlib in my container. but, when I run the docker container i get these error messages

Can't recognize: 
Error detected at line 1958.
Error detected in file /usr/local/include/dlib/image_transforms/interpolation.h.
Error detected in function dlib::chip_details dlib::get_face_chip_details(const dlib::full_object_detection&, long unsigned int, double).

Failing expression was det.num_parts() == 68.
	 chip_details get_face_chip_details()
	 You must give a detection with exactly 68 parts in it.
	 det.num_parts(): 5

Here is the Dockerfile and the golang code im using

FROM golang:1.11.1 as builder
ENV GOPATH /go
ADD . /project
WORKDIR /project
RUN \
  bashfiles/setup.sh
WORKDIR /root/
COPY dlib-1.pc /usr/local/lib/pkgconfig/dlib-1.pc
RUN go get github.com/Kagami/go-face
WORKDIR /project
RUN go build -o app main.go
CMD ["./app"]

here is my setup.sh bash file

#!/bin/bash
set -v
export ROOT=$(cd $(dirname $0)/.. && pwd)

# 1. Install Python, pip
apt-get update
apt-get install -y python-pip python-dev swig python-numpy

# installing dlib
apt-get install -y build-essential cmake pkg-config
apt-get install -y libx11-dev libatlas-base-dev
apt-get install -y libjpeg62-turbo-dev
apt-get install -y libgtk-3-dev libboost-python-dev
apt-get install -y python-dev python-pip python3-dev python3-pip
pip2 install -y -U pip numpy
pip3 install -y -U pip numpy

wget http://dlib.net/files/dlib-19.6.tar.bz2
tar xvf dlib-19.6.tar.bz2
cd dlib-19.6/
mkdir build
cd build
cmake ..
cmake --build . --config Release
make install
ldconfig

Here is a sample golang code im using

package main

import (

	"encoding/json"
	"fmt"
	"github.com/Kagami/go-face"
	"log"
	"strings"

)


func GetFaceEncodings(name string) (encodings_float []float64 , encodings_string string, err error)  {

	const dataDir = "models"

	rec, err := face.NewRecognizer(dataDir)

	if err != nil {
		fmt.Println("Cannot initialize recognizer")
	}
	defer rec.Close()


	facesdlib, err := rec.RecognizeFile(name)

	if err != nil {
		log.Fatalf("Can't recognize: %v", err)
	}
	//fmt.Println("Number of Faces in Image: ", len(facesdlib))

	var face_encodings []face.Descriptor

	for _, f := range facesdlib {

		face_encodings = append(face_encodings, f.Descriptor)

		encodings_string = fmt.Sprintf("%f", face_encodings)
		encodings_string = strings.Replace(encodings_string, " ", ", ", -1)
		encodings_string = strings.Replace(encodings_string, "[[", "[", -1)
		encodings_string = strings.Replace(encodings_string, "]]", "]", -1)

		//fmt.Printf("encodings string is %v \n", encodings_string)

		if err := json.Unmarshal([]byte(encodings_string), &encodings_float); err != nil {
			fmt.Println("unable to parse signature")
		}
		//fmt.Printf("encodings float64 is %v \n", encodings_float)

	}
	return encodings_float, encodings_string, err
}

func main() {

	encodings_float1, encodings_string, err := GetFaceEncodings("data/kohli1.jpg")

	if err != nil {
		fmt.Println("error processing image 1")
	}

	fmt.Printf("encodings float is %v \n \n \n", encodings_float1)
	fmt.Printf("encodings string is %v \n", encodings_string)

}

What am I doing wrong ?

Threshold

Is there any way to set up minimal threshold, cause now classifier always gives me some result even if I try with absolutely different face

Thanks

How to operate the fifth and sixth steps

hello,
If you already have Go and Git installed and available in PATH uncomment set MSYS2_PATH_TYPE=inherit line in msys2_shell.cmd located in MSYS2 installation folder
Otherwise run pacman -S mingw-w64-x86_64-go git
Run MSYS2 MinGW 64-bit shell from Start menu to compile and use go-face

Macos compilation

I was trying to build on mac and it threw some errors build errors due to missing symbols, which I was able to fix by modifying ldflags. Maybe we can add it to readme.
Steps

  1. install dlib using homebrew
  2. Modify face.go to add the blas and lapack dependencies
// #cgo LDFLAGS: -ljpeg -lblas -llapack

PS: I think you have these 2 dependencies in the pkgconfig file on linux, but I find it easier to add here than to modify pkgconfig.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.