Main menu

Search
Login
Signup
Links
<< Previous thread | Next thread >>   
[IDE per C++] CodeLite

Go to page   <<      
Author Post
rbon
Tue 01 Jul 2008 - 18:17
online
Registered Member #4134
Joined: Sat 14 Apr 2007 - 11:42
Posts: 910
Aggiornamento:
Nome del software: CodeLite 1.0
Direct Link al download: -Link-
Download Page: -Link-
Dimensione File: byte 10736015 / MB 10.2
Nome autore: Eran Ifrah
Sito Web Autore: -Link-
nome del file: CodeLite-rev1789.exe
data aggiornamento: 01/07/2008

test: non testato
Back to top
rbon
Tue 01 Jul 2008 - 19:43
online
Registered Member #4134
Joined: Sat 14 Apr 2007 - 11:42
Posts: 910
rbon scrisse....
'CodeLite-rev1789.exe' risultato del test: non testato


Risultato del test: applicazione portatile

Portable how-to: scaricare l'installer 'CodeLite-rev1789.exe' e scampattarlo con Inno Setup Unpacker ver .020 (l'ultima): si ottiene la directory {app} che si può rinominare in CodeLite. Copiare tale directory sulla chiave USB.
All'interno della cartelle si trova l'eseguibile 'CodeLite.exe' che va lanciato: il programma parte normalmente.

Nota
continua ad essere scritta sul registro la chiave relativa all'estensione.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
Da mia esperienza, utilizzando tale chiave, vengono intercettati tutti i possibili tipi di file che vengano aperti con questo IDE. Comunque rispetto la maggior esperienza di Danix sull'argomento.
ciao

[ Edited Fri 17 Oct 2008 - 08:46 ]
Back to top
Danix
Tue 01 Jul 2008 - 20:44

online

Registered Member #1
Joined: Fri 29 Dec 2006 - 05:38
Location: Sassari
Posts: 12956
rbon wrote ...

Nota
continua ad essere scritta sul registro la chiave relativa all'estensione.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts
Da mia esperienza, utilizzando tale chiave, vengono intercettati tutti i possibili tipi di file che vengano aperti con questo IDE. Comunque rispetto la maggior esperienza di Danix sull'argomento.



rbon, la mia era solo una domanda per la quale chiedevo conferma:

Danix wrote ...

Se si decidesse di esportare le sottochiavi relative alle varie estensioni, quali e quante dovrebbero essere per la chiave principale HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts?
Non credi che potrebbero essere infinite?


Il punto è che io sotto FileExts ho centinaia di sottochiavi, quindi non so proprio come comportarmi in questo caso.



Inoltre, sei sicuro che crei la chiave HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts?
Non creerà, piuttosto, qualche sottochiave?

Back to top
Website
Danix
Tue 01 Jul 2008 - 20:57

online

Registered Member #1
Joined: Fri 29 Dec 2006 - 05:38
Location: Sassari
Posts: 12956
Appena avviato su un pc pulito: non mi crea nessuna chiave.
Nè quando apro un file (ad esempio .txt) dal programma (File/apri), nè quando trascino il file sull'eseguibile.

Mi auguro che tu non abbia aperto il file dal menù contestuale di Windows/Apri con.. altrimenti è logico che:

----------------------------------
Chiave aggiunta:8
----------------------------------
HKU\S-1-5-21-1606980848-1637723038-1801674531-500\Software\Classes\Applications\CodeLite.exe
HKU\S-1-5-21-1606980848-1637723038-1801674531-500\Software\Classes\Applications\CodeLite.exe\shell
HKU\S-1-5-21-1606980848-1637723038-1801674531-500\Software\Classes\Applications\CodeLite.exe\shell\open
HKU\S-1-5-21-1606980848-1637723038-1801674531-500\Software\Classes\Applications\CodeLite.exe\shell\open\command
HKU\S-1-5-21-1606980848-1637723038-1801674531-500_Classes\Applications\CodeLite.exe
HKU\S-1-5-21-1606980848-1637723038-1801674531-500_Classes\Applications\CodeLite.exe\shell
HKU\S-1-5-21-1606980848-1637723038-1801674531-500_Classes\Applications\CodeLite.exe\shell\open
HKU\S-1-5-21-1606980848-1637723038-1801674531-500_Classes\Applications\CodeLite.exe\shell\open\command


Altra cosa (grave): i percorsi inclusi negli XML (codelite.xml, sessions.xml) della cartella \config (ad es. i percorsi dei file recenti, ma non solo) non vengono aggiornati. Quindi il programma continua ad essere non portatile ed occorre sempre il launcher, un pò modificato x-codelite_launcher_rev2.zip

Mi sa che bisognerà ri-informare l'autore..

[ Edited Tue 01 Jul 2008 - 21:47 ]
Back to top
Website
rbon
Fri 30 Jul 2010 - 13:50
online
Registered Member #4134
Joined: Sat 14 Apr 2007 - 11:42
Posts: 910
Ciao,
riprendo questa discussione per vedere se è possibile ottenere una versione portabilizzata di questo ottimo ambiente di sviluppo per C++.
Nel frattempo il programma:
- è passato dalla versione 1.0 alla versione 2.6.0.4189
- nel forum è stata molto dibattuta la questione "portable"
...
Recentemente lo sviluppatore la inserito nel Forum -> Help, questo mini how-to per ottenere una versione portable -Link- , ma per comodità lo riporto interamente (scusate la lunghezza).
Portable CodeLite + MinGW + wxWidgets (Windows)
by eranif on Fri Mar 26, 2010 1:44 am

Using trunk version of codelite (or any build > 3984), you can make a *fully* portable version codelite (including MinGW/wxWidgets)

How to achieve that?

First install codelite with the wxWidgets + MinGW package (or you can choose to install only MinGW or without MinGW)

Make sure that you install MinGW and / or wxWidgets under the same directory that you have selected for codelite itself so they will all have a common root directory

For the example, I have installed codelite under the following paths:
CodeLite : C:\Program Files\CodeLite
MinGW : C:\Program Files\CodeLite\MinGW-4.4.1
wxWidgets:C:\Program Files\CodeLite\wxWidgets-2.8.10

Next, we need to update some environment variables:


•Start codelite on your local machine
•Open the environment variable dialog - you should now see a new environment variable named $(CodeLiteDir) - this environment points to codelite installation path (in our example: C:\Program Files\CodeLite)
•First, we need to add codelite installation path to the PATH environment variable, we also want to add the MinGW bin's directory + wxWidgets DLL path, so copy / paste the following into the env variables dialog:

Code: Select all
PATH=$(CodeLiteDir);$(CodeLiteDir)\MinGW-4.4.1\bin;$(CodeLiteDir)\wxWidgets-2.8.10\lib\gcc_dll;$(PATH)
•(If you dont want wxWidgets, you can skip this step) For the wx-config tool to work properly, we need to set/update the environment variables WXCFG and WXWIN

Code: Select all
WXCFG=gcc_dll\mswu
WXWIN=$(CodeLiteDir)\wxWidgets-2.8.10

So, you should end up with environment variables (for the 'Default' set, or any other set you might want to choose) similar to this:

Code: Select all
CodeLiteDir=\some\path\to\codelite
PATH=$(CodeLiteDir);$(CodeLiteDir)\MinGW-4.4.1\bin;$(CodeLiteDir)\wxWidgets-2.8.10\lib\gcc_dll;$(PATH)
WXCFG=gcc_dll\mswu
WXWIN=$(CodeLiteDir)\wxWidgets-2.8.10


Note that the environment variable order DOES MATTER:
In order to use the CodeLiteDir environment variable, it must be defined FIRST (so it will be recognized later)

You can now copy the entire codelite directory into your USB stick and you are ready to go!

Note:
The environment variable CodeLiteDir will be updated automatically whenever you start codelite - so there is no need to modify it by hand.

Eran

.... il desiderio è che venga reso portable un "pack" che comprenda l'IDE e l'ambiente di svuluppo:
IDE + MinGW GCC 4.41 (25.9 MB) direct download: -Link-
ma il launcher dovrebbe prevedere la possibilità di utilizzare anche wsWidgets -Link- .
Grazie per quanto potrete fare.
Back to top

Go to page   <<      
Moderators: Danix, Taf, Rcs, Energy, zandet2, ZioZione, Admin, LordJim60

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System