Cmake easy to use

I. Principles of CMake compilation Cmake is a cross platform compilation tool, which is more advanced than make and much more convenient to use. Cmake is mainly to write CMakeLists.txt file, then use cmake command to convert CMakeLists.txt file to make required makefile file file, and finally use make command to compile source code ...

Posted by nezbo on Mon, 02 Dec 2019 06:25:29 -0800

GNU link script use

The main function of link script is to describe how the section of input file is mapped to the memory layout of output file. The popular way is to compile each obj file and place it in the bin address according to which order; at the same time, associate the run-time variable symbol with VMA. It mainly refers to the following Blogs:1. attribute ...

Posted by jcavard on Wed, 27 Nov 2019 01:54:04 -0800

Basic C with your handwritten redis adlist

Introduction - Navigation Some friends may be full of endless thirst for knowledge about redis. Maybe redis belongs to the big play of work, communication (interview), I have to... But now I just stay at the level of using redis, and I have little involvement in the level of detail. In order to integrate into the big faster Let's write the s ...

Posted by Sanjib Sinha on Fri, 22 Nov 2019 05:49:26 -0800

Jet nano configuration and caffe installation under Xshell6

Configuration and use of jet nano (6) caffe installation under Xshell6 Before installing caffe, we need to do some preparation work, and the whole process is relatively long. There may be various problems in the process, so we must carefully operate step by step. First, refer to the article between, use Xshell6 to connect the ...

Posted by sparc-e on Mon, 18 Nov 2019 08:22:27 -0800

Developing STM32 in ubuntu environment

Create directory libs directory puts stm32 firmware library, src puts user source code, inc puts user header file # mkdir libs src inc 1 Copy file Copy stm32f10x? Stdperiph? Lib? V3.5.0 to the libs directory Create Makefile.common Create the Makefile.common file in the home directory. This is a general Makefile file file # ...

Posted by s0me0ne on Thu, 14 Nov 2019 08:21:46 -0800

The writing of makefile in Linux

A little bit of eye A series of rules will be defined in the makefile to specify which files are compiled first, which files are compiled later, which files need to be recompiled, or even more complex functional operations. The advantage of makefile is "automatic compilation". Once written, only one make command is ...

Posted by MrPotatoes on Wed, 13 Nov 2019 08:19:22 -0800

idea debugging opentsdb source code

Reference resources: https://blog.51cto.com/1196740/2394289?source=dra Catalog Download source code: Compile and pack Modify file directory Modify opnetsdb.conf Running TSDMain Download source code:     git clone https://github.com/OpenTSDB/opentsdb.git Compile and pack To build the pom.xml configuration file: [root@Mac ...

Posted by makoy on Sat, 09 Nov 2019 07:11:06 -0800

How to transplant boa based on am335?

boa transplantation based on am335 needs five steps in total. Here are the detailed steps. You can learn from those who are unfamiliar with this knowledge. 1. Prepare development environment: (1)VMware 10.0 (2)Ubuntu 14.04 64bit (3) Sail335 development board (4) cross compiler: gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux 2. source code: ( ...

Posted by Fabrizzio PHP on Sun, 03 Nov 2019 01:15:22 -0700

The cause of curl extension error in PHP compilation

For a while, I wanted to install through the source code, and then expand the installation one by one. Many of them are installed smoothly, but curl seems to report an error. In file included from /usr/local/php7.3/include/php/main/php.h:468:0, from /home/download/php-7.3.7/ext/curl/interface.c:25: /home/download/php-7.3.7/e ...

Posted by Roja on Sun, 03 Nov 2019 01:05:43 -0700

C language calls java

Java is also called by C language through JNI. Linux platform can be realized by introducing libjvm.so dynamic link library. First, you need to write java classes   public class Sample { public static void test2() { System.out.println("java Printed helloword"); } } This is a very simple java class. There is only one Java met ...

Posted by mattbrad on Fri, 01 Nov 2019 20:13:43 -0700