Hi,
C import does not come out of the box with Moose, and you have to rely on extra projects to do achieve it.
You have two options.
1. CAnalyzer. This is a plugin that depends on another external project one called srcML. scrML is used from the command line to produce XML files out of the C (not C++) files, and those can be afterwards loaded through the Moose Panel.
Steps: - download srcML: http://www.sdml.info/projects/srcml/ - run it on your system - download CAnalyzer by executing: Gofer new squeaksource: 'CAnalyzer'; package: 'ConfigurationOfCAnalyzer'; load. (Smalltalk at: #ConfigurationOfCAnalyzer) perform: #loadDefault. - load the XMLs through Moose Panel
2. The other option is to use inFusion: http://www.moosetechnology.org/docs/faq/importCandCPPWithinFusion
Cheers, Doru
On 1 Mar 2011, at 14:32, Fron, Annick wrote:
Thanks
Where is the tutorial to import C code ? Annick
From: Tudor Girba [mailto:tudor.girba@gmail.com] Sent: mardi 1 mars 2011 14:32 To: Fron, Annick Cc: Moose-dev Moose Dev Subject: Fwd: Moose-dev post from stephane.ducasse@inria.fr requires approval
Hi,
Thanks for reporting.
Indeed, it looks like the link is broken. We will have to fix that.
Until then, please
- run manually: Contents/Resources/Moose.image
- with: Contents/Windows/Squeak.exe
Cheers, Doru
Begin forwarded message:
From: Stéphane Ducasse stephane.ducasse@inria.fr Date: 1 March 2011 13:56:15 CET To: Moose-related development moose-dev@iam.unibe.ch Cc: Annick Fron afron@cincom.com Subject: Fwd: SCG
can somebody try to help annik apparently moose does not work on windows.
Je n'ai pas trop le temps de m'abonner à la liste et bla bla
En gros j'ai mis mon app sous d:\apps et il pense être sous mon root directory c'est-à-dire : C:\users etc.... En plus sous Windows 7 le home directory n'est plus sous settings mais sous users ... Donc il faut au moins changer les properties du .link
Begin forwarded message:
From: "Fron, Annick" afron@cincom.com Date: March 1, 2011 1:50:15 PM GMT+01:00 To: Stéphane Ducasse stephane.ducasse@inria.fr Subject: RE: SCG
J'obtiens ceci , et en plus pas moyen de trouver la commande pour lancer Moose
-- www.tudorgirba.com
"To lead is not to demand things, it is to make them happen."