GLM linking in CMakeLists.txt

Advertisements I cannot link glm library with my executable. I tried link via ${GLM_INCLUDE_DIRS}, ${GLM_LIBRARIES} and ${GLM_LIBRARY_DIRS} cmake variables but it does not work. How can I link libraries and inludes of glm with my executable? I am using find_package() method : find_package(glm REQUIRED PATHS "${GLM_BINARY_DIR}" NO_DEFAULT_PATH) And does not have any problem with find_package()… Read More GLM linking in CMakeLists.txt

Creating a new file and add some text to it using bash

Advertisements I’m making a basic installation script (my first to be precise) for LAMP, and I experienced some difficulties: I trying to put some configuration in a new file, in this case for ssl-params My humble code: cat > /etc/apache2/conf-available/ssl-params.conf << ENDOFFILE SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH SSLProtocol All -SSLv2 -SSLv3 -TLSv1 -TLSv1.1 SSLHonorCipherOrder On Header always set… Read More Creating a new file and add some text to it using bash

nvim started as desktop application | :checkhealth – commands not available

Advertisements When I start neovide from my applications and run :checkhealth I get errors that node and other commands are not available. But when I start it from my terminal there is no error for those commands. I tried to copy and modify the neovide desktop file to start just nvim and see if there… Read More nvim started as desktop application | :checkhealth – commands not available

Unable to install certain python modules

Advertisements I’m trying to follow a tutorial about creating and hosting an HTTP proxy. When I try to install the modules, it fails. (SimpleHTTPServer and SocketServer) Tutorial used: https://levelup.gitconnected.com/how-to-build-a-super-simple-http-proxy-in-python-in-just-17-lines-of-code-a1a09192be00 Output: pip install SimpleHTTPServer ERROR: Could not find a version that satisfies the requirement SimpleHTTPServer (from versions: none) ERROR: No matching distribution found for SimpleHTTPServer pip… Read More Unable to install certain python modules