Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations
eudoxos
plea at trashmail.de
Tue Jun 19 15:18:05 CEST 2012
Hello,
I tried it with: scilab 5.4 (nightly building) (64 bit), mingw 0.8 gcc 4.6.3
(64 bit). It doesn't work. I got an error message:
erzeuge eine Laderdatei
erzeuge ein Makefile
!--error 144
Undefinierte Operation für die gegebenen Operanden.
Überprüfen oder definieren der Funktion %b_a_c für Überlast.
at line 54 of function dlwGenerateMakefile called by :
at line 34 of function generateMakefile called by :
at line 79 of function ilib_for_link called by :
ilib_for_link(link_name,dot_filename,[],'c');
at line 27 of exec file called by :
exec('C:\Clib\clib.sce', -1)
----------------------------------------------
*.sce - File:
// Script zur Ansteuerung des RT-Prozessors
clear all;
clc;
///////////////////////////////////////////////
cd "C:\Clib"
// Abfrage, ob ein c-Compiler vorhanden ist.
cOK = haveacompiler();
if (~cOK) then
disp('Fehler: Kein C-Compiler gefunden!');
abort
end
//Sytax-Prüfung
[out,bOK] = dos('call C:\gcc\bin\gcc.exe C:\Clib\dspace.c');
exec('C:\Clib\cleaner.sce', -1)
//////////////////////////////////////
dot_filename='C:\Clib\dspace.c'; // zu compilierende Datei
link_name = ['main']; // zu exportierende Prozeduren
dos('del dspace.dll'); // sicherstellen, dass auch wirklich eine neue dll
erstellt wird.
files=['dspace.c'];
//ilib_build('build_c','main',files,[]);
ilib_for_link(link_name,dot_filename,[],'c');
//link(dot_filename,link_name,'c');
--
View this message in context: http://mailinglists.scilab.org/Problem-Gcc-compiler-Scilab-5-3-1-version-64-bits-MinGW-Scilab-demonstrations-tp2892455p4024392.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
More information about the users
mailing list