Results 1 to 20 of 170

Thread: Edyuk : fully-featured, highly flexible and free cross-platform IDE

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    I tried downloading 0.9.0beta, but when I ran the build.bat program on windows it seemed to go into an infinite recursion.

    Edyuk crashes when I load my project in v0.8.0, so I was hoping this problem would be resolved in the latest update.

    I'm interested in using Edyuk... but first step is of course to get it installed and working properly.

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by magland View Post
    I tried downloading 0.9.0beta, but when I ran the build.bat program on windows it seemed to go into an infinite recursion.

    Edyuk crashes when I load my project in v0.8.0, so I was hoping this problem would be resolved in the latest update.

    I'm interested in using Edyuk... but first step is of course to get it installed and working properly.
    The batch file was originally added to workaround a bug/missing feature in Window$ ME which prevented proper compilation of subdirs project. If you are not using this version of Windows you should try the "regular" commands :
    Qt Code:
    1. $ qmake
    2. $ mingw32-make
    To copy to clipboard, switch view to plain text mode 
    Anyway I checked the content of the build.bat file and I didn't see anything that might cause kinda infinite recursion... Maybe you could give me more details.
    Current Qt projects : QCodeEdit, RotiDeCode

  3. #3
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    OK thanks. It's possible that it wasn't actually an infinite recursion, but just taking a long time, and I wan't seeing the compilation details.

    Anyway now I get the following compilation error: (see end of message). Also, I had to add "#include <QDebug>" to a couple of the .cpp files... qgenericlanguagefactory.cpp, qshortcutmanager.cpp.

    Any ideas? I'm using Windows XP SP2, GNU Make 3.80, Qt 4.2.1

    ....................
    ....................
    qmakemodel\qmakeproject.cpp:507: warning: function 'void QMakeProject:ptions()
    ' is defined after prior declaration as dllimport: attribute ignored
    qmakemodel\qmakeproject.cpp: At global scope:
    qmakemodel\qmakeproject.cpp:513: warning: function 'virtual void QMakeProject::w
    rite(QTextStream&, QString, QProjectNode*)' is defined after prior declaration a
    s dllimport: attribute ignored
    qmakemodel\qmakeproject.cpp: In member function `virtual void QMakeProject::setu
    pMenu(QMenu*)':
    qmakemodel\qmakeproject.cpp:553: warning: function 'virtual void QMakeProject::s
    etupMenu(QMenu*)' is defined after prior declaration as dllimport: attribute ign
    ored
    qmakemodel\qmakeproject.cpp: In constructor `QMakeProjectPrivate::QMakeProjectPr
    ivate()':
    qmakemodel\qmakeproject.cpp:612: warning: function 'QMakeProjectPrivate::QMakePr
    ojectPrivate()' is defined after prior declaration as dllimport: attribute ignor
    ed
    qmakemodel\qmakeproject.cpp: In constructor `QMakeProjectPrivate::QMakeProjectPr
    ivate()':
    qmakemodel\qmakeproject.cpp:615: internal compiler error: in rest_of_handle_fina
    l, at toplev.c:2064
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.mingw.org/bugs.shtml> for instructions.
    mingw32-make[2]: *** [..\tmp-default-4.2.1-\obj\debug\qmakeproject.o] Error 1
    mingw32-make[2]: Leaving directory `C:/cstuff/edyuk-0.9.0-beta/src/default'
    mingw32-make[1]: *** [debug] Error 2
    mingw32-make[1]: Leaving directory `C:/cstuff/edyuk-0.9.0-beta/src/default'
    mingw32-make: *** [sub-src_default-make_default] Error 2

  4. #4
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by magland View Post
    Anyway now I get the following compilation error: (see end of message). Also, I had to add "#include <QDebug>" to a couple of the .cpp files... qgenericlanguagefactory.cpp, qshortcutmanager.cpp.

    Any ideas? I'm using Windows XP SP2, GNU Make 3.80, Qt 4.2.1

    ....................
    ....................
    qmakemodel\qmakeproject.cpp:507: warning: function 'void QMakeProject:ptions()
    ' is defined after prior declaration as dllimport: attribute ignored
    qmakemodel\qmakeproject.cpp: At global scope:
    qmakemodel\qmakeproject.cpp:513: warning: function 'virtual void QMakeProject::w
    rite(QTextStream&, QString, QProjectNode*)' is defined after prior declaration a
    s dllimport: attribute ignored
    qmakemodel\qmakeproject.cpp: In member function `virtual void QMakeProject::setu
    pMenu(QMenu*)':
    qmakemodel\qmakeproject.cpp:553: warning: function 'virtual void QMakeProject::s
    etupMenu(QMenu*)' is defined after prior declaration as dllimport: attribute ign
    ored
    qmakemodel\qmakeproject.cpp: In constructor `QMakeProjectPrivate::QMakeProjectPr
    ivate()':
    qmakemodel\qmakeproject.cpp:612: warning: function 'QMakeProjectPrivate::QMakePr
    ojectPrivate()' is defined after prior declaration as dllimport: attribute ignor
    ed
    qmakemodel\qmakeproject.cpp: In constructor `QMakeProjectPrivate::QMakeProjectPr
    ivate()':
    qmakemodel\qmakeproject.cpp:615: internal compiler error: in rest_of_handle_fina
    l, at toplev.c:2064
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.mingw.org/bugs.shtml> for instructions.
    mingw32-make[2]: *** [..\tmp-default-4.2.1-\obj\debug\qmakeproject.o] Error 1
    mingw32-make[2]: Leaving directory `C:/cstuff/edyuk-0.9.0-beta/src/default'
    mingw32-make[1]: *** [debug] Error 2
    mingw32-make[1]: Leaving directory `C:/cstuff/edyuk-0.9.0-beta/src/default'
    mingw32-make: *** [sub-src_default-make_default] Error 2
    Not enough testing on Windows (none actually because I don't have any available windows PC to perform them). Sorry... This is actually very easy to fix :

    src/default/qmakemodel/qmake.h :
    #if defined(_QMAKEMODEL_BUILD_)
    should be :
    #if defined(_QMAKE_MODEL_BUILD_)
    This should solve your troubles building the plugins.

    Thanks for reporting this. I'll commit appropriate changes on SVN soon and advance the release of the rc1 to prevent too many people from facing similar troubles.
    Current Qt projects : QCodeEdit, RotiDeCode

  5. #5
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by fullmetalcoder View Post
    This should solve your troubles building the plugins.
    Yes, thanks.

    Now I get the following error (see below). Probably some trivial things, so perhaps we should take this debugging off the forum for now? (Jeremy.Magland at gmail.com)

    ....................................
    Creating library file: ..\..\plugins\libdefault_debug.a
    ./..\tmp-default-4.2.1-\obj\debug\core.o(.text+0x26cd): In function `ZN11Default
    Core15parseCompileLogERK7QString':
    C:/cstuff/edyuk-0.9.0-beta/src/default/core.cpp:373: undefined reference to `Edy
    uk::makeAbsolute(QString const&, QString const&)'
    ./..\tmp-default-4.2.1-\obj\debug\core.o(.text$_ZN18CppCallbackHandler5ev entE7QS
    tring11QStringList[CppCallbackHandler::event(QString, QStringList)]+0x13e2): In
    function `ZN11DefaultCoreD0Ev':
    C:/cstuff/edyuk-0.9.0-beta/src/default/core.cpp:223: undefined reference to `Edy
    ukTemplateManager::create(QString const&, QString const&, QStringList*, QHash<QS
    tring, QString> const*) const'
    ./..\tmp-default-4.2.1-\obj\debug\core.o(.text$_ZN18CppCallbackHandler5ev entE7QS
    tring11QStringList[CppCallbackHandler::event(QString, QStringList)]+0x1425): In
    function `ZNK11DefaultCore4iconEv':
    C:/cstuff/edyuk-0.9.0-beta/src/default/core.cpp:226: undefined reference to `Edy
    ukTemplateManager::create(QString const&, QString const&, QStringList*, QHash<QS
    tring, QString> const*) const'
    ./..\tmp-default-4.2.1-\obj\debug\qrcedit.o(.text+0x616a): In function `ZN7QRCEd
    it7addFileEv':
    C:/cstuff/edyuk-0.9.0-beta/src/default/qrcedit.cpp:378: undefined reference to `
    Edyuk::makeRelative(QString const&, QString const&)'
    ./..\tmp-default-4.2.1-\obj\debug\qrcedit.o(.text+0x76bb): In function `ZN7QRCEd
    it11fileChangedEP15QTreeWidgetItemS1_':
    C:/cstuff/edyuk-0.9.0-beta/src/default/qrcedit.cpp:459: undefined reference to `
    -- More (7%) --

  6. #6
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Quote Originally Posted by magland View Post
    Now I get the following error (see below). Probably some trivial things, so perhaps we should take this debugging off the forum for now? (Jeremy.Magland at gmail.com)
    Sure, I've send you a solution to this by e-mail and will issue another beta really soon (as soon as you report proper compilation actually )

    For the others, here comes the solution : the EDYUK_EXPORT macro needs to be added so that several classes/functions get exported properly under windows :

    src/lib/edyuktemplatemanager.h :
    Qt Code:
    1. class EDYUK_EXPORT EdyukTemplateManager
    To copy to clipboard, switch view to plain text mode 

    src/lib/edyuk.h :
    Qt Code:
    1. EDYUK_EXPORT QString settingsPath();
    2. EDYUK_EXPORT QString makeAbsolute(const QString& rel, const QString& abs);
    3. EDYUK_EXPORT QString makeRelative(const QString& src, const QString& ref);
    To copy to clipboard, switch view to plain text mode 
    Last edited by jacek; 2nd April 2007 at 17:16. Reason: wrapped too long line
    Current Qt projects : QCodeEdit, RotiDeCode

  7. #7
    Join Date
    Feb 2007
    Location
    Philadelphia, USA
    Posts
    255
    Thanks
    43
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Thumbs up Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    We worked through the Windows-specific installation problems offline, and everything looks very nice indeed.

    Windows users should wait for the corrected version to be released since there were a bunch of small adjustments.

    ... but I certainly like what I see... thanks for the help!

    magland

  8. #8
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Here we go! Edyuk 0.9.0 had indeed many compilation problems under Window$ but, thanks to the perseverant feedback of Jeremy Magland, I've been able to fix them and also some potential crash issues.

    A second beta is thus available which now feature real "platform independence" and several minor improvements! Enjoy!

    https://sourceforge.net/project/show...ease_id=499004
    Current Qt projects : QCodeEdit, RotiDeCode

  9. #9
    Join Date
    Feb 2006
    Location
    Lublin, Poland
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    It's still impossible to compile on FreeBSD 6.1
    Reason:
    gdbthread.cpp : line with

    #ifdef OS_LINUX

    should be

    #ifdef OS_UNIX (I suppose)
    i
    I deleted this line wih it's corresponding #endif and the compilation goes well until the end. Sadly, when running edyuk after the 'make install', I get a core dump just a while after the splash screen appears :/

  10. #10
    Join Date
    Jun 2006
    Location
    Regensburg, Bavaria
    Posts
    5
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Hi
    I compiled edyuk on windows but with the visual studio compiler and had some compilation problems, too.
    After finding some work arounds (which I may post soon after some more tests) the compilation finishes well.
    But when I try to start the program I face what I believe is the same problem hoborg has: Right after the splash screen appears the program terminates.

    This only happens if the "default.*" library files are in the "\plugins" directory. Edyuk starts when there are no plugin files.

    QtmPlayer

  11. #11
    Join Date
    Feb 2006
    Location
    Lublin, Poland
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    Thanks for your suggestion, QTmplayer :)
    I deleted the .so file from plugins subdirectory and now edyuk starts.
    I still can't run it as a normal user - I had to do 'make install' as root and only root can start the environment (when I try as an user, nothing happens, even the splash screen doesn't appear).

    ------
    edit:

    Well, I was celebrating too early. The environment launches well but after I select 'Open' it goes down with a core dump (Illegal instruction).

  12. #12
    Join Date
    Jun 2006
    Location
    Regensburg, Bavaria
    Posts
    5
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Edyuk : fully-featured, highly flexible and free cross-platform IDE

    I must correct my old statement:
    This crash occurs only when I build the \lib, \exec and \default one after another and then run the executable.

    When I do all these steps together by simply using the .pro file in the main directory it works perfectly after the workarounds have been installed.

    I listed all workarounds in the "msvc_fix.txt" file attached to the post.

    Hope this helps.

    QtmPlayer

    PS: Now Edyuk runs I admit that it's really nice work
    Attached Files Attached Files

  13. #13
    Join Date
    Dec 2006
    Posts
    9
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default I don't compile edyuk-0.8.0-rc1

    I geting this error :

    C:\edyuk-0.8.0-rc1\src\exec>mingw32-make
    mingw32-make -f Makefile.Release
    mingw32-make[1]: Entering directory `C:/edyuk-0.8.0-rc1/src/exec'
    windres -i edyuk.rc -o ..\tmp\obj\exec\release\edyuk_res.o --include-dir=.
    cc1: unrecognized option `-E'
    windres: no resources
    mingw32-make[1]: *** [..\tmp\obj\exec\release\edyuk_res.o] Error 1
    mingw32-make[1]: Leaving directory `C:/edyuk-0.8.0-rc1/src/exec'
    mingw32-make: *** [release] Error 2

    Please help ...

  14. #14
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: I don't compile edyuk-0.8.0-rc1

    Quote Originally Posted by tebessum View Post
    I geting this error :

    C:\edyuk-0.8.0-rc1\src\exec>mingw32-make
    mingw32-make -f Makefile.Release
    mingw32-make[1]: Entering directory `C:/edyuk-0.8.0-rc1/src/exec'
    windres -i edyuk.rc -o ..\tmp\obj\exec\release\edyuk_res.o --include-dir=.
    cc1: unrecognized option `-E'
    windres: no resources
    mingw32-make[1]: *** [..\tmp\obj\exec\release\edyuk_res.o] Error 1
    mingw32-make[1]: Leaving directory `C:/edyuk-0.8.0-rc1/src/exec'
    mingw32-make: *** [release] Error 2

    Please help ...
    Compilation failed for 0.8.0-rc1 under Windows but if I remember well the error reported was not the one you encounter... I suggest you get Edyuk 0.9.0-beta2 instead (which is know to compile under Windows) or possibly the SVN trunk if you want to try latest enhancements and check your version of MinGW...
    Current Qt projects : QCodeEdit, RotiDeCode

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.