Codelite will not download correctly? - c

I am trying to download Codelite on Windows 10 but only downloads as a "7z" file and will not open. I literally have no idea what I'm doing. Thanks!

7z is an archive file format (like zip or rar). For windows you can use for example 7-Zip to unpack it.

Related

I can't find /rootfs on Windows 10

I'm very confused with the whole WSL situation. Sometimes I feel like I get it but in reality, I don't. My main confusion is where does Ubuntu (I use Ubuntu 20.04) save files? And how do they intertwine with files I install with Windows Command Line? All installations I have done via Ubuntu have been a waste of time, I can't find packages or libraries I install for any programming language. If someone knows of a course or video that could help me understand, I would appreciate it if you share it as well.
The specific situation of this question is caused because I installed a package for C with Ubuntu (the cs50 one) but I can't get VS Code to recognize it. I tried adding /usr/local path to the c_cpp_properties.json but it doesn't find this path.
I go to this folder in the explorer and I don't find anything, as expected.
Thanks in advance.
The file ext4.vhdx is the complete filesystem for the Linux subsystem. However, you can't (or shouldn't) access it directly from Windows 10.
Instead (within the Linux subsystem) you can access your C: drive through mount point /mnt/c (E.g. ls -l /mnt/c/Users ), and that way copy files between the two file systems.
If you want to user Windows explorer (again within the Linux subsystem), use following command:
/mnt/c/Windows/explorer.exe .
Just found out. You can access the files directly from Windows 10. E.g:
dir \\wsl$\Ubuntu-20.04\home
I faced the same problem. I was trying to reach rootfs but couldn't and as you have shown, I was reaching a dead end at "ext4.vhdx". After looking at articles, I found the home directory is found within the Linux subsystem, and to reach there you can use the following path to Linux and go to Linux > Ubuntu > home > user/admin and you'll be in your home directory.
You can directly type \\\\wsl$ in the directory path and then you can see the below image to access the file directory of ubuntu.
File Directory
Then, You can navigate here to see all the files as same as rootfs.`
\Ubuntu-22.04\home\user-name
`
I had the same issue and this is how I figured it out:
first, open PowerShell and type: wsl -d Ubuntu
then, go to your file explorer and type: \\wsl$
this will open the Ubuntu folder and you can access all your files

How to compile a precompiled ".dll" SQLite file and get a ".exe" file for it's installation?

This is the page ref from where I am asked to download SQLite
I am not getting a ".exe" installer file in the zip file which is getting downloaded. How do I compile the precompiled ".dll" file so that I get the desired ".exe" file for installing SQLite Software?
Any solutions? As I am a rookie, I would like to get a solution in layman words.
SC of the files that I am getting after unzipping

Charset problems for custom tags for jsp in Netbeans

I want to create a layout.tag file in NetBeans, but NetBeans doesn't support creating files with this type of extension. After just copying an empty layout.tag file into my directory in NetBeans I then wrote my code, but NetBeans didn't allow me to save it with normal encoding and parsed my special letters into rubbish-looking letters, and encoded the file ISO-8859-1.
However, when I write my code in a notepad, save it somewhere else, and then copy it into my directory project (not in the IDE), the encoding stays the same during compilation in NetBeans. This means for sure that it's IDE's problem. I had the same problem with saving a FreeMarker file (NetBeans changed it's encoding to ISO-8859-1). Installing a plugin helped then but I haven't seen any plugin for .tag files.
Is there a way to fix it?
Ps. Yes, I have <%#tag description="layout" pageEncoding="UTF-8"%> in my file.
Ps 2 Yes, I added -J-Dfile.encoding=UTF-8 into NetBeans config file
Ps 3 Yes, Sources of my projects are set to encoding utf-8
I'm so fed up with that, I may even change IDE

How to ship .dll files with the .exe file

I have an application that depends on some .dll files.
I know if I just make them in the same folder as the .exe file, it would work, but I don't want to leave 30 .dll files with my .exe file. Is there a way I can put them in a folder with my .exe file ?
Or even better, is it possible to compile them and link them with the .exe file to have a standalone file? And no I don't have the static version of these dynamic libraries.
(p.s. the application is written with c, compiled with gcc, mingw win64, and the .dll are from gtk3 libs)
Thank you for reading my question
You have a number of options.
A) get hold of the library files, .lib on windows and statically link with these libraries.
B) It is a bit of a hack but you can attach resources into a Windows executable. This is usually used for strings, icons, that sort of thing, but you could even attach in a binary file. But if you do this you would probably need to generate the dll binaries at program startup and save to eg same folder as your executable. So no point in doing this really, simply distribute in the same folder as your exe. What is the problem doing that? (lookup LoadResource, FindResource, MAKEINTRESOURCE, etc)
C) If you don't want to put the dlls is the same path as your exe you will need to store them in a folder in your system's path env variable. Eg you could copy them to C:\Windows - but due to security that will be harder. You could create your own dll_path and add this path to the env variable as part of the installation of your program.
D) One other variation on C) is that you copy to for example a subdirectory of you exe location, called eg dll_files. Then you use a startup script to launch your program like this:
#echo off
set PATH=%PATH%;<path to dll files>
myprogram.exe
Let's make is simple
download winrar from www.rarlab.com/download.htm A) create standalone winrar executable pack your file in archive and execute your main program.
no idea how to create standalone installer guide for you
http://www.groovypost.com/howto/howto/how-to-make-your-own-offline-installers-using-winrar/

How to convert executable jar to text file.?

I have a executable jar file and i want to see code behind it.
Is this possible?
If yes then tell me the way.
If no then tell me what can i do?
I have download this jar from <http://www.4shared.com/file/FKZjrzCu/FB_Chat.html>
Thank you.
Download Java decompiler from http://java.decompiler.free.fr/?q=jdgui
Open the executable jar file using winrar or winzip.
Place the .class files into Java decompiler application to view the code.

Resources