Jump to content



LastWave


theoamd

Recommended Posts

Προσπαθώ να εγκαταστήσω το εν λόγω πρόγραμμα(σε linux), μάταια όμως.

Παρόλο που μου 'χει

ξανατύχει να απαιτείται η αρχικοποίηση του config file για κάποιο install

και έπειτα η παραμετροποίηση του makefile για το compile, θεωρώ ότι οι

συγκεκριμένες οδηγίες είναι ίσως άτοπες.

Μπορεί κάποιος να με βοηθήσει;

:tomato:

Link to comment
Share on other sites

Προσπαθώ να εγκαταστήσω το εν λόγω πρόγραμμα(σε linux), μάταια όμως.

Παρόλο που μου 'χει

ξανατύχει να απαιτείται η αρχικοποίηση του config file για κάποιο install

και έπειτα η παραμετροποίηση του makefile για το compile, θεωρώ ότι οι

συγκεκριμένες οδηγίες είναι ίσως άτοπες.

Μπορεί κάποιος να με βοηθήσει;

:tomato:

****************************************************
*
* INSTALLING LASTWAVE ON LINUX/X11
*
****************************************************



*************
* Installing Developer's version
*************

You should install the wx-widgets library. If not already done (ask your administrator), you
should download the latest wxGTK package from the web site http://www.wxwidgets.org/downloads/
and follow the instructions to install the ANSI (non unicode) version of this library.

Next you should uncompress the downloaded LastWave archive. Then for compiling LastWave, you must

1) define the environment variable ARCH to ’linux’ (e.g., setenv ARCH linux)

2) define the environment variable LWPATH to the path directory of the directory LastWave 3 0/LastWave
(e.g., setenv ARCH /users/bacry/LastWave 3 0/LastWave)

3) go in the ’LastWave 3 0/LastWave/Makefiles/’ directory and type
make dirs
and then
make makes
and then
make
It should call the Makefile of each package and compile each of them and then generate an executable file called ’lw’ in the ’bin/’ directory.

This procedure should create a lw executable file in the LastWave 3 0/LastWave/bin/linux
directory.
To run LastWave just run this executable file.

Remark : In order to ”reset” the make (i.e., delete all the .o files), you can type
make clean



** RUNNING LASTWAVE

To run LastWave just run the executable file called lw (you can move it wherever you want).
A terminal window should open as well as a dialog window. You are asked to localized the
directory which includes the startup file (i.e., the scripts directory). Just do so, and you
are all set! If you move the scripts directory, you will have to specify the new path again,
just use the ’choosestartupscriptdir’ command.

You should start by runnig the Demos : for that purpose, just type
Demo

Που είναι το πρόβλημα στα στάδια εγκατάστασης;

Link to comment
Share on other sites

(αρχικά επειδή αντιμετώπισα το εν λόγω πρόβλημα με την τελευταία έκδοση της εφαρμογής, υπέθεσα ότι θα έχει κάποια τέλεια κι έτσι κατέβασα και την παλιότερη, η οποία δεν διαφέρει σχεδόν καθόλου, οπότε παραθέτω δυο ξεχωριστά αποτελέσματα)

Παλιότερη έκδοση:

Όσον αφορά την χειροκίνητη εισαγωγή της μεταβλητής περιβάλλοντος ARCH, μου εμφανίστηκε σφάλμα ανυπαρξίας της εντολής setenv, όμως ακόμη και όταν προσπάθησα να γράψω στο .bash_profile, μέσω της εντολής export ARCH=linux και της επόμενης που παρέθετε(αφορούσε το path αν θυμάμαι καλά) -αρχικά δεν εμφανίστηκε κάποιο πρόβλημα έπειτα από το "σώσιμο" του αρχείου-, προχωρώντας στο κομμάτι των make, δεν έβρισκε τα αρχεία κι έτσι δεν γινόταν σωστά το compile του αρχείου, οπότε δεν μπόρεσα να προχωρήσω και στην εγκατάσταση.

Νεότερη έκδοση:

έδωσα χειροκίνητα στο τερματικό τις εντολές των βημάτων 1) και 2) και δεν τις αναγνώριζε(μου παρέθετε σφάλμα υποννόησής μου για την εντολή netenv, η οποία προφανώς είναι άσχετη.

Προσπαθούσα αρκετή ώρα για κάτι παιδιάστικο, μάταια όμως.

--------------------------------------------------------------

Ουσιαστικά, αυτό που θέλω να κάνω είναι να εισάγω ένα σήμα και μέσω του αλγόριθμου mp, να πάρω την tf(time frequency)του, οπότε αν γνωρίζει κάποιος κάποια εφαρμογή μέσω της οποίας γίνεται δυνατή η παραπάνω σκέψη, παρακαλώ ας με ενημερώσει.

Link to comment
Share on other sites

Αν δεν κάνω λάθος η setenv δεν είναι της bash,η αντίστοιχη είναι η export. Άρα παίζεις μπάλα με αυτήν.

Ώς user κάνεις τα παρακάτω

$ export ARCH=linux
$ export LWPATH=/path/to/dir/LastWave
cd /path/to/dir/LastWave/Makefiles
make dirs
make makes
make [B]-jN[/B]

Το j=jobs όπου μπορεί να είναι ο αριθμός των επεξεργαστών +1,άρα αν έχεις διπύρηνο επεξεργαστή για να το χτίσεις βάζεισ j=3.Αυτό θα επιταχύνει το χτίσιμο. Αν πάλι είναι ένας πυρήνας άστο ως έχει χωρίς j.

Link to comment
Share on other sites

Κατά την εγκατάσταση των wxWidgets, ζητάει να δημιουργήσω ένα κατάλογο στο base dir κι εκεί να κάνω κάποια πράγματα, όμως ένα ξέμπαρκο make που έχει δεν δουλεύει καθόλου, εμφανίζοντάς μου το μήνυμα :

make: *** No rule to make target `install'.Stop.

και πιστεύω αυτό είναι που μου χαλάει όλο το θέμα.... :weep:

------------

edit:

στην τελευταία έκδοση, βλέπω ότι είναι εγκατεστημένα, οπότε χρειάζονται τα λίγα που αναφέρονται στα αριθμημένα βήματα.

Ωστόσο, έπειτα και από αυτά, δεν βλε΄πω πουθενά στον κατάλογο /bin/linux το εκτελέσιμο lw... :/

Link to comment
Share on other sites


for i in kernel user wxsystem ; do cd /root/LastWave_3_0.unix/LastWave_3_0/LastWave/$i/obj ; make all; done
make[1]: Entering directory `/root/LastWave_3_0.unix/LastWave_3_0/LastWave/kernel/obj'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/LastWave_3_0.unix/LastWave_3_0/LastWave/kernel/obj'
make[1]: Entering directory `/root/LastWave_3_0.unix/LastWave_3_0/LastWave/user/obj'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/LastWave_3_0.unix/LastWave_3_0/LastWave/user/obj'
make[1]: Entering directory `/root/LastWave_3_0.unix/LastWave_3_0/LastWave/wxsystem/obj'
gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/terminalCtrl.cc -o linux/terminalCtrl.o
/bin/sh: wx-config: command not found
../src/terminalCtrl.cc:3:23: error: wx/wxprec.h: No such file or directory
../src/terminalCtrl.cc:8:19: error: wx/wx.h: No such file or directory
../src/terminalCtrl.cc:13:24: error: wx/ioswrap.h: No such file or directory
../src/terminalCtrl.cc:19:25: error: wx/wfstream.h: No such file or directory
../src/terminalCtrl.cc:20:24: error: wx/datstrm.h: No such file or directory
../src/terminalCtrl.cc:21:24: error: wx/txtstrm.h: No such file or directory
../src/terminalCtrl.cc:22:24: error: wx/mstream.h: No such file or directory
../src/terminalCtrl.cc:24:22: error: wx/utils.h: No such file or directory
../src/terminalCtrl.cc:33:25: error: wx/textctrl.h: No such file or directory
../src/terminalCtrl.cc:436:20: error: wx/log.h: No such file or directory
In file included from ../src/terminalCtrl.cc:34:
../include/terminalCtrl.h:7: error: expected class-name before ‘{’ token
../include/terminalCtrl.h:13: error: expected ‘)’ before ‘*’ token
../include/terminalCtrl.h:25: error: ‘wxKeyEvent’ has not been declared
../include/terminalCtrl.h:26: error: ‘wxKeyEvent’ has not been declared
../include/terminalCtrl.h:27: error: ‘wxMouseEvent’ has not been declared
../include/terminalCtrl.h:28: error: ‘wxMouseEvent’ has not been declared
../include/terminalCtrl.h:29: error: ‘wxMouseEvent’ has not been declared
../include/terminalCtrl.h:30: error: ‘wxIdleEvent’ has not been declared
../include/terminalCtrl.h:39: error: ISO C++ forbids declaration of ‘DECLARE_EVENT_TABLE’ with no type
../include/terminalCtrl.h:40: error: expected ‘;’ before ‘}’ token
../include/terminalCtrl.h:40: error: expected ‘;’ before ‘}’ token
../include/terminalCtrl.h:45: error: expected class-name before ‘{’ token
../include/terminalCtrl.h:50: error: expected ‘)’ before ‘*’ token
../include/terminalCtrl.h:61: error: ‘wxActivateEvent’ has not been declared
../include/terminalCtrl.h:71: error: ‘wxCommandEvent’ has not been declared
../include/terminalCtrl.h:72: error: ‘wxCommandEvent’ has not been declared
../include/terminalCtrl.h:74: error: ISO C++ forbids declaration of ‘DECLARE_EVENT_TABLE’ with no type
../include/terminalCtrl.h:75: error: expected ‘;’ before ‘}’ token
../include/terminalCtrl.h:75: error: expected ‘;’ before ‘}’ token
../include/terminalCtrl.h: In member function ‘void TerminalFrame::Clear()’:
../include/terminalCtrl.h:62: error: ‘class TerminalCtrl’ has no member named ‘Clear’
../include/terminalCtrl.h: At global scope:
../include/terminalCtrl.h:80: error: ‘wxID_EXIT’ was not declared in this scope
../include/terminalCtrl.h:81: error: ‘wxID_ABOUT’ was not declared in this scope
../include/terminalCtrl.h:88: warning: ‘GetKeyDownLWEvent’ initialized and declared ‘extern’
../include/terminalCtrl.h:88: error: ‘wxWindow’ was not declared in this scope
../include/terminalCtrl.h:88: error: ‘w’ was not declared in this scope
../include/terminalCtrl.h:88: error: ‘wxKeyEvent’ was not declared in this scope
../include/terminalCtrl.h:88: error: expected primary-expression before ‘,’ token
../include/terminalCtrl.h:88: error: expected primary-expression before ‘struct’
../include/terminalCtrl.h:88: error: initializer expression list treated as compound expression
../include/terminalCtrl.h:89: warning: ‘GetKeyCharLWEvent’ initialized and declared ‘extern’
../include/terminalCtrl.h:89: error: ‘wxWindow’ was not declared in this scope
../include/terminalCtrl.h:89: error: ‘w’ was not declared in this scope
../include/terminalCtrl.h:89: error: ‘wxKeyEvent’ was not declared in this scope
../include/terminalCtrl.h:89: error: expected primary-expression before ‘,’ token
../include/terminalCtrl.h:89: error: expected primary-expression before ‘struct’
../include/terminalCtrl.h:89: error: initializer expression list treated as compound expression
In file included from ../src/terminalCtrl.cc:35:
../include/wxmain.h:20: error: expected class-name before ‘{’ token
../include/wxmain.h:32: error: ISO C++ forbids declaration of ‘DECLARE_DYNAMIC_CLASS’ with no type
../include/wxmain.h:33: error: expected ‘;’ before ‘DECLARE_EVENT_TABLE’
../include/wxmain.h:34: error: expected ‘;’ before ‘}’ token
../include/wxmain.h: In member function ‘int MyApp::OnExit()’:
../include/wxmain.h:28: error: ‘wxApp’ has not been declared
../include/wxmain.h: At global scope:
../include/wxmain.h:38: error: expected constructor, destructor, or type conversion before ‘extern’
In file included from ../src/terminalCtrl.cc:36:
../include/wxgraphics.h:23: warning: ‘GetKeyCharLWEvent’ initialized and declared ‘extern’
../include/wxgraphics.h:23: error: redefinition of ‘bool GetKeyCharLWEvent’
../include/terminalCtrl.h:89: error: ‘bool GetKeyCharLWEvent’ previously defined here
../include/wxgraphics.h:23: error: ‘wxWindow’ was not declared in this scope
../include/wxgraphics.h:23: error: ‘w’ was not declared in this scope
../include/wxgraphics.h:23: error: ‘wxKeyEvent’ was not declared in this scope
../include/wxgraphics.h:23: error: expected primary-expression before ‘,’ token
../include/wxgraphics.h:23: error: expected primary-expression before ‘struct’
../include/wxgraphics.h:24: warning: ‘GetKeyDownLWEvent’ initialized and declared ‘extern’
../include/wxgraphics.h:24: error: redefinition of ‘bool GetKeyDownLWEvent’
../include/terminalCtrl.h:88: error: ‘bool GetKeyDownLWEvent’ previously defined here
../include/wxgraphics.h:24: error: ‘wxWindow’ was not declared in this scope
../include/wxgraphics.h:24: error: ‘w’ was not declared in this scope
../include/wxgraphics.h:24: error: ‘wxKeyEvent’ was not declared in this scope
../include/wxgraphics.h:24: error: expected primary-expression before ‘,’ token
../include/wxgraphics.h:24: error: expected primary-expression before ‘struct’
../src/terminalCtrl.cc: In function ‘void ProcessPrompt()’:
../src/terminalCtrl.cc:96: warning: deprecated conversion from string constant to ‘char*’
../src/terminalCtrl.cc:98: warning: deprecated conversion from string constant to ‘char*’
../src/terminalCtrl.cc: At global scope:
../src/terminalCtrl.cc:115: error: ‘wxTextCtrl’ has not been declared
../src/terminalCtrl.cc:116: error: expected constructor, destructor, or type conversion before ‘EVT_KEY_DOWN’
../src/terminalCtrl.cc:140: error: expected ‘)’ before ‘*’ token
../src/terminalCtrl.cc:149: error: variable or field ‘MouseDownEvents’ declared void
../src/terminalCtrl.cc:149: error: ‘wxMouseEvent’ was not declared in this scope
../src/terminalCtrl.cc:149: error: expected primary-expression before ‘)’ token
make[1]: *** [linux/terminalCtrl.o] Error 1
make[1]: Leaving directory `/root/LastWave_3_0.unix/LastWave_3_0/LastWave/wxsystem/obj'
make: *** [libkernel] Error 2

Link to comment
Share on other sites

Λοιπόν το πρόβλημα ξεκίνησε απο εδώ

gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include  -c ../src/terminalCtrl.cc -o linux/terminalCtrl.o
/bin/sh: [B]wx-config: command not found[/B]

Σε τι διανομή πάς να το περάσεις; Αν μιλάμε για debianοειδή(debian,ubuntu,κτλπ) τότε χρειάζεται να περάσεις το παρακάτω πακέτο libwxgtk2.8-dev.

Link to comment
Share on other sites

Σε backtrack δουλευω.πρεπει κ εκει να το περασω;κι αν ναι,πρεπει να ειναι στο ιδιο directory η εν λογω βιβλιοθηκη;

Ναι δεν έχει σημασία σε τι διανομή δουλεύεις,σημασία έχει να έχει όλα τα dependencies για να χτιστεί σωστά. Όχι δεν πρέπει να είναι στο ίδιο directory,με το package manager θα το περάσεις και μετά το βρίσκει απο την PATH environment variable.

Link to comment
Share on other sites

Κατέβασα το πακέτο wxGTK-2.8.12 και ακολούθησα και πάλι τις οδηγίες για το compile του, όμως στο σημείο που δίνω make μου εμφανίζει make: *** No targets specified and no makefile found. Stop. Τι γίνεται εδώ και μισή μέρα μ' αυτό το θέμα; --------------------------------------------- If you compile wxWidgets on Linux for the first time and don't like to read install instructions just do (in the base dir): > mkdir buildgtk > cd buildgtk > ../configure --with-gtk > make > su > make install > ldconfig [if you get "ldconfig: command not found", try using "/sbin/ldconfig"] If you don't do the 'make install' part, you can still use the libraries from the buildgtk directory, but they may not be available to other users.

Link to comment
Share on other sites

Πάς να κάνεις compile και το wxGTK;;;

Το pms δεν σου αρκεί,debian based είναι και το backtrack.

apt-get install libwxgtk2.8-dev

ή αν δεν εχει την 2.8, βάλε όποια έχει.

Για να δείς ποιά υπάρχει στο repository apt-cache search libwxgtk

Link to comment
Share on other sites

Έπειτα από όλα αυτά μου πετάγεται κι ένα άκυρο output :

for i in kernel user wxsystem ; do cd /root/LastWave_3_1/LastWave//$i/obj ; make all; done make[1]: Entering directory `/root/LastWave_3_1/LastWave/kernel/obj' gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/commands.c -o linux/commands.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_alloc.c -o linux/int_alloc.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_procs.c -o linux/int_procs.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_controls.c -o linux/int_controls.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_error_result.c -o linux/int_error_result.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_eval.c -o linux/int_eval.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_expr.c -o linux/int_expr.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_hash.c -o linux/int_hash.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_history.c -o linux/int_history.o ../src/int_history.c: In function ‘ReadHistory’: ../src/int_history.c:206: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_main.c -o linux/int_main.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_misc.c -o linux/int_misc.o ../src/int_misc.c: In function ‘C_SystemUnix’: ../src/int_misc.c:92: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:93: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:94: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:95: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:96: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:97: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:98: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:100: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:102: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:103: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:104: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:105: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:106: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:107: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result ../src/int_misc.c:108: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_parser.c -o linux/int_parser.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_package.c -o linux/int_package.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_streams.c -o linux/int_streams.o ../src/int_streams.c: In function ‘_CPrintf’: ../src/int_streams.c:978: warning: format not a string literal and no format arguments ../src/int_streams.c:986: warning: format not a string literal and no format arguments gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_toplevel.c -o linux/int_toplevel.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_variable.c -o linux/int_variable.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_value.c -o linux/int_value.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_str.c -o linux/int_str.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_listv.c -o linux/int_listv.o ../src/int_listv.c: In function ‘CReadListvStream’: ../src/int_listv.c:1335: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c:1376: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c:1402: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c:1417: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c:1418: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c:1575: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c:1604: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c: In function ‘Skip1LineStream’: ../src/int_listv.c:1754: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c: In function ‘Read1LineStream’: ../src/int_listv.c:1762: warning: format ‘%[^ ’ expects type ‘char *’, but argument 3 has type ‘char (*)[10000]’ ../src/int_listv.c:1762: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c: In function ‘ReadListvStream’: ../src/int_listv.c:1850: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘char (*)[100]’ ../src/int_listv.c:1872: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result ../src/int_listv.c:1880: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result ../src/int_listv.c:1886: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_num.c -o linux/int_num.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_fsilist.c -o linux/int_fsilist.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/int_range.c -o linux/int_range.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/gobject.c -o linux/gobject.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/color.c -o linux/color.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/event.c -o linux/event.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/window_manager.c -o linux/window_manager.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/terminal.c -o linux/terminal.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -c ../src/postscript.c -o linux/postscript.o ar cr linux/libkernel.a ./linux/commands.o ./linux/int_alloc.o ./linux/int_procs.o ./linux/int_controls.o ./linux/int_error_result.o ./linux/int_eval.o ./linux/int_expr.o ./linux/int_hash.o ./linux/int_history.o ./linux/int_main.o ./linux/int_misc.o ./linux/int_parser.o ./linux/int_package.o ./linux/int_streams.o ./linux/int_toplevel.o ./linux/int_variable.o ./linux/int_value.o ./linux/int_str.o ./linux/int_listv.o ./linux/int_num.o ./linux/int_fsilist.o ./linux/int_range.o ./linux/gobject.o ./linux/color.o ./linux/event.o ./linux/window_manager.o ./linux/terminal.o ./linux/postscript.o ranlib linux/libkernel.a make[1]: Leaving directory `/root/LastWave_3_1/LastWave/kernel/obj' make[1]: Entering directory `/root/LastWave_3_1/LastWave/user/obj' gcc -O `wx-config --cxxflags` -I../include/ -I../../kernel/include -c ../src/user.c -o linux/user.o ar cr linux/libuser.a ./linux/user.o ranlib linux/libuser.a make[1]: Leaving directory `/root/LastWave_3_1/LastWave/user/obj' make[1]: Entering directory `/root/LastWave_3_1/LastWave/wxsystem/obj' gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/terminalCtrl.cc -o linux/terminalCtrl.o ../src/terminalCtrl.cc: In function ‘void ProcessPrompt()’: ../src/terminalCtrl.cc:96: warning: deprecated conversion from string constant to ‘char*’ ../src/terminalCtrl.cc:98: warning: deprecated conversion from string constant to ‘char*’ ../src/terminalCtrl.cc: In function ‘void ProcessTerminalEvent(int)’: ../src/terminalCtrl.cc:308: warning: deprecated conversion from string constant to ‘char*’ ../src/terminalCtrl.cc:328: warning: deprecated conversion from string constant to ‘char*’ gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxgraphics.cc -o linux/wxgraphics.o ../src/wxgraphics.cc: In function ‘bool GetKeyDownLWEvent(wxWindow*, wxKeyEvent&, event&)’: ../src/wxgraphics.cc:385: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:386: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:387: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:388: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:390: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:398: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:399: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:400: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:401: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:402: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:404: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:405: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:407: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:408: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:409: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:410: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:411: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:412: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:413: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:414: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:415: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:416: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:417: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:418: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:419: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:420: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:421: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:424: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:425: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:426: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:427: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:428: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:429: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:430: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:431: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:432: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:433: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:434: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:435: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:436: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:437: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:438: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:455: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:456: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:457: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:458: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:459: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:460: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:461: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:462: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:463: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:465: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:472: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:473: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:474: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:475: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:476: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:477: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:478: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:479: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:480: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:481: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:484: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:485: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:486: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:487: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:488: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:492: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:497: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:498: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:499: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc: In function ‘char* XXScreenType()’: ../src/wxgraphics.cc:1231: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc: In function ‘char* XXGetDefaultFont(int**, int*)’: ../src/wxgraphics.cc:1296: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc: In function ‘void XXGetFontInfo(font*, int*, int*, int*)’: ../src/wxgraphics.cc:1321: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc: In function ‘int XXGetStringWidth(font*, char*)’: ../src/wxgraphics.cc:1378: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc: In function ‘int XXGetStringHeight(font*, char*)’: ../src/wxgraphics.cc:1428: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc: In function ‘void XXSetFont(void*, font*)’: ../src/wxgraphics.cc:1479: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc: In function ‘void XXFontMatch(char*, int, char, listvValue*)’: ../src/wxgraphics.cc:1537: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc: In function ‘void C_System(char**)’: ../src/wxgraphics.cc:1587: warning: deprecated conversion from string constant to ‘char*’ ../src/wxgraphics.cc:1595: warning: deprecated conversion from string constant to ‘char*’ gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxmain.cc -o linux/wxmain.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxterminal.cc -o linux/wxterminal.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxsystem.cc -o linux/wxsystem.o ../src/wxsystem.cc: In function ‘void XXSetSystemInfo()’: ../src/wxsystem.cc:151: error: conversion from ‘const char [4]’ to ‘wxString’ is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) ../src/wxsystem.cc:152: error: ambiguous overload for ‘operator+’ in ‘wxStandardPathsBase::GetUserDataDir() + "."’ /usr/include/wx-2.8/wx/longlong.h:1060: note: candidates are: wxULongLong operator+(long unsigned int, const wxULongLong&) /usr/include/wx-2.8/wx/longlong.h:1047: note: wxLongLong operator+(long int, const wxLongLong&) /usr/include/wx-2.8/wx/string.h:1618: note: wxString operator+(const wxString&, const wxWCharBuffer&) /usr/include/wx-2.8/wx/string.h:1425: note: wxString operator+(const wxChar*, const wxString&) /usr/include/wx-2.8/wx/string.h:1423: note: wxString operator+(wxChar, const wxString&) /usr/include/wx-2.8/wx/string.h:1422: note: wxString operator+(const wxString&, wxChar) /usr/include/wx-2.8/wx/string.h:1421: note: wxString operator+(const wxString&, const wxString&) ../src/wxsystem.cc:170: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:177: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:186: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:188: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:194: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:199: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:200: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:204: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:205: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:209: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:210: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:213: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:214: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:178: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result make[1]: *** [linux/wxsystem.o] Error 1 make[1]: Leaving directory `/root/LastWave_3_1/LastWave/wxsystem/obj' make: *** [libkernel] Error 2

Link to comment
Share on other sites

gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxmain.cc -o linux/wxmain.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxterminal.cc -o linux/wxterminal.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxsystem.cc -o linux/wxsystem.o ../src/wxsystem.cc: 
In function ‘void XXSetSystemInfo()’: ../src/wxsystem.cc:151: error: conversion from ‘const char [4]’ to ‘wxString’ is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) ../src/wxsystem.cc:152: error: ambiguous overload for ‘operator+’ in ‘wxStandardPathsBase::GetUserDataDir() + "."’ /usr/include/wx-2.8/wx/longlong.h:1060: note: candidates are: wxULongLong operator+(long unsigned int, const wxULongLong&) /usr/include/wx-2.8/wx/longlong.h:1047: note: wxLongLong operator+(long int, const wxLongLong&) /usr/include/wx-2.8/wx/string.h:1618: note: wxString operator+(const wxString&, const wxWCharBuffer&) /usr/include/wx-2.8/wx/string.h:1425: note: wxString operator+(const wxChar*, const wxString&) /usr/include/wx-2.8/wx/string.h:1423: note: wxString operator+(wxChar, const wxString&) /usr/include/wx-2.8/wx/string.h:1422: note: wxString operator+(const wxString&, wxChar) /usr/include/wx-2.8/wx/string.h:1421: note: wxString operator+(const wxString&, const wxString&) ../src/wxsystem.cc:170: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:177: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:186: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:188: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:194: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:199: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:200: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:204: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:205: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:209: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:210: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:213: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:214: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:178: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result make[1]: *** [linux/wxsystem.o] Error 1 make[1]: Leaving directory `/root/LastWave_3_1/LastWave/wxsystem/obj' make: *** [libkernel] Error 2

Τα περισσότερα είναι warnings αυτό είναι το μόνο error που έβγαλα.To Code tag το βγάζει όλο σε μια γραμμή :p

Link to comment
Share on other sites

gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxmain.cc -o linux/wxmain.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxterminal.cc -o linux/wxterminal.o gcc -O `wx-config --cxxflags` -I../include/ -I../../package_signal/include -I../../package_image/include -I../../kernel/include -I../../package_sound/include -c ../src/wxsystem.cc -o linux/wxsystem.o ../src/wxsystem.cc: 
In function ‘void XXSetSystemInfo()’: ../src/wxsystem.cc:151: error: conversion from ‘const char [4]’ to ‘wxString’ is ambiguous /usr/include/wx-2.8/wx/string.h:692: note: candidates are: wxString::wxString(wxChar, size_t) /usr/include/wx-2.8/wx/string.h:682: note: wxString::wxString(int) ../src/wxsystem.cc:152: error: ambiguous overload for ‘operator+’ in ‘wxStandardPathsBase::GetUserDataDir() + "."’ /usr/include/wx-2.8/wx/longlong.h:1060: note: candidates are: wxULongLong operator+(long unsigned int, const wxULongLong&) /usr/include/wx-2.8/wx/longlong.h:1047: note: wxLongLong operator+(long int, const wxLongLong&) /usr/include/wx-2.8/wx/string.h:1618: note: wxString operator+(const wxString&, const wxWCharBuffer&) /usr/include/wx-2.8/wx/string.h:1425: note: wxString operator+(const wxChar*, const wxString&) /usr/include/wx-2.8/wx/string.h:1423: note: wxString operator+(wxChar, const wxString&) /usr/include/wx-2.8/wx/string.h:1422: note: wxString operator+(const wxString&, wxChar) /usr/include/wx-2.8/wx/string.h:1421: note: wxString operator+(const wxString&, const wxString&) ../src/wxsystem.cc:170: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:177: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:186: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:188: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:194: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:199: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:200: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:204: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:205: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:209: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:210: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:213: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:214: warning: deprecated conversion from string constant to ‘char*’ ../src/wxsystem.cc:178: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result make[1]: *** [linux/wxsystem.o] Error 1 make[1]: Leaving directory `/root/LastWave_3_1/LastWave/wxsystem/obj' make: *** [libkernel] Error 2

Τα περισσότερα είναι warnings αυτό είναι το μόνο error που έβγαλα.To Code tag το βγάζει όλο σε μια γραμμή :p

Αρα χλωμό να παίξει,άντε να κάνεις τις syntax αλλαγές όπου χρειάζεται.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Δημιουργία...

Important Information

Ο ιστότοπος theLab.gr χρησιμοποιεί cookies για να διασφαλίσει την καλύτερη εμπειρία σας κατά την περιήγηση. Μπορείτε να προσαρμόσετε τις ρυθμίσεις των cookies σας , διαφορετικά θα υποθέσουμε ότι είστε εντάξει για να συνεχίσετε.