RDKit 2020.09 build on Win10 using VS2019

The ussual build script in the qtplatz/scripts/windows-bootstrap.bat failes for compile GraphMol/FileParsers/PNGParser.cpp due to lack of zlib.h.

Quck dirty hack for this is just delete a statement for include zlib.h at around line 25.



Eigen3 install on Windows (cmake friendly way)

Download Eigen 3.3.7

Expand the zip file, then cd 'eigen-eigen-323c052e1731'

mkdir build

cd build

cmake -G "NMake Makefiles" ..

nmake install



Quartus Prime Lite on Debian9 memo

Quartus Prime Lite does not officially support Debian though...

Download 'Quartus-lite-', expand tar file and execute can be done on Debian9.  However, /opt/intelFPGA_lite/17.0/quartus/linux64/quartus cannot be started due to no found.  After hours of web search, I've found it can be downlaod .deb package for Ubuntu and it worked.


CUDA 9 issue: Got an error '__CUDACC_VER__ is no longer supported.' while compiling QtPlatz

I've prepared new debian 9 install on HP 640 Workstation equipped with Quadro M4000 GPU.  Install CUDA 9 RC (, and all dependent software for QtPlatz build.  I got an error while compiling as "__CUDACC_VER__ is no longer supported." message.  After few hours search, I've figured out it came from include/boost/config/compiler/nvcc.hpp.

Just dirty hack, comment out the line, then cuda compilation went through.



Kernel module build on DE0-nano-SoC and/or Sodia

Copy corrensponging linux source to /usr/src, then configure kernel.

After we have .config, then 

make modules_prepare

Don't forget

DE0-nano-SoC: CAN Netowrk should be disabled




Debian install to Sodia board from Macnica

Debian install to Sodia board from Macnica


Create an SD Dard Image for Debian on Sidia Macnica

Create an SD Dard Image for Debian on Sidia Macnica


Build linux 4.4.52 kernel and debian 8 root file system based on this page.

Extract boot loader & u-boot from sodia image file

Our goal is to make a minimum debian system on Sodia board for fast data acquisition system development.  It can be re-used for boot process files by copy from provided file.


Quartus Prime Lite USB-Blaster install on Debian Jessie

USB Driver permissions

Edit /etc/udev/rules.d/51-usbblaster.rules as following;

# Altera USB-Blaster for Quartus FPGA Software
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6010|6810",TAG+="uaccess"

Then run:

$ sudo udevadm control --reload

Execute jtagconfig

 $ jtagconfig
1) DE-SoC [3-1.1]
  4BA00477   SOCVHPS
  02D010DD   5CSE(BA4|MA4)/5CSXFC4C6


Kill jtagd if already running, then run jtagd in debug mode


CUDA 8.0 Sample Compile (on Debian 8.6)

sudo apt-get install freeglut3-dev

Goto NVIDIA_CUDA-8.0_Samples directory, run make as following; 

GLPATH=/usr/lib/x86_64-linux-gnu make

OpenCV Install Memo




Subscribe to RSS - blogs

User login