It is currently Sat Jul 20, 2024 4:25 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 355 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 18  Next
Author Message
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Mon Sep 03, 2012 4:21 pm  (#41) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
Yes that was the trouble i had with compiling it on Fedora. "boost"
Is that boost-devel, cmake and boost-math?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Mon Sep 03, 2012 4:32 pm  (#42) 
Offline
GimpChat Member

Joined: Aug 19, 2012
Posts: 173
lylejk wrote:
Not sure where I can post requires, but maybe a cool feature would be to stretch scale the knots instead of having to spread the knot manually.

You can scale/rotate nodes while dragging and using the mouse wheel (just wheel to scale, hold shift to rotate)
I know this is cumbersome, I need to work out a way to make it easier (I think I'll make this work like inkscape does)
but this is not trivial so it will take some time.

lylejk wrote:
Definitely appreciate your effort MareroQ; maybe mbasagli will host your compile with the extra DLL that Pogo shared on his Sourceforge site.

I can host the package but I need to know the license for the included libraries and their sources.

MareroQ wrote:
Question to the author Knotter.
Mattia - in git version You have added a new library.
What version of Windows - we recommend Boost QT?

Boost can be disabled on qmake by setting BOOST=no, configure.sh will disable if it cannot be found or passing --without-boost
Right now removing Boost does no harm to the program, in the future Boost will allow more command-line options (most likely not much useful for Windows users).

The boost library used is program_options, sadly it's one of the few Boost library that require linking


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Mon Sep 03, 2012 4:40 pm  (#43) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
I installed boost-devel, cmake and boost-math and it compiled fine for me after that in Fedora. :)
Although at launch it couldn't seem to find the svg images?

Image

Could not locate resource img/go-up.svg
Could not locate resource img/go-down.svg
Could not locate resource img/list-remove.svg
Could not locate resource img/list-add.svg
Could not locate resource img/insert-horizontal-rule.svg
Could not locate resource img/list-add.svg
Could not locate resource img/list-remove.svg
Could not locate resource img/edit-clear.svg
loaded the Generic plugin
Could not locate resource img/document-new.svg
Could not locate resource img/document-save.svg
Could not locate resource img/document-save-as.svg
Could not locate resource img/document-open.svg
Could not locate resource img/application-exit.svg
Could not locate resource img/document-open-recent.svg
Could not locate resource img/edit-copy.svg
Could not locate resource img/edit-paste.svg
Could not locate resource img/edit-cut.svg
Could not locate resource img/edit-undo.svg
Could not locate resource img/edit-redo.svg
Could not locate resource img/edit-select-all.svg
Could not locate resource img/preferences-other.svg
Could not locate resource img/zoom-in.svg
Could not locate resource img/zoom-out.svg
Could not locate resource img/zoom-original.svg
Could not locate resource img/view-refresh.svg
Could not locate resource img/view-restore.svg
Could not locate resource img/help-contents.svg
Could not locate resource img/help-contents.svg
Could not locate resource img/help-about.svg
Could not locate resource img/help-about.svg
[root@rod code]#


_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Mon Sep 03, 2012 4:46 pm  (#44) 
Offline
GimpChat Member

Joined: Aug 19, 2012
Posts: 173
Those are the theme icons. Did they get loaded in previous versions?

They should be loaded from the system icon theme. If it fails you can configure like this:
./configure.sh --with-tango

And it will use the icons in themes/tango-icons as a replacement.

The error messages point to img/*.svg because that's how Knotter looks for icons that are not in the current theme.

[edit]
I see from the screenshot that you get windows style for widgets, is there a particular reason for that to happen?


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Mon Sep 03, 2012 4:57 pm  (#45) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14715
Location: USA
mbasagli wrote:
Those are the theme icons. Did they get loaded in previous versions?

They should be loaded from the system icon theme. If it fails you can configure like this:
./configure.sh --with-tango

And it will use the icons in themes/tango-icons as a replacement.

The error messages point to img/*.svg because that's how Knotter looks for icons that are not in the current theme.


Yes they loaded fine in my last git compile. :)
Thanks Mbasagli.I will give that a go.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Mon Sep 03, 2012 5:00 pm  (#46) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12533
Cool; really should read the manual then mbasagli. lol

Rotate and scale worked great. Also, you can press ctrl to zoom in and out via scroll button too (found that my accident; lol). Thanks for the extra info. :)

And Rod just ninja'd me. ;)

:ninja

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Tue Sep 04, 2012 1:07 pm  (#47) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Knotter manual (0.6.1 dev) - the first message.
For more accessible (Sourceforge site) should only programs with no known bugs (for Windows)


Attachments:
Knotter 0-6-1 dev.png
Knotter 0-6-1 dev.png [ 51.86 KiB | Viewed 2893 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Tue Sep 04, 2012 3:14 pm  (#48) 
Offline
GimpChat Member

Joined: Aug 19, 2012
Posts: 173
The fact that the manual window shows the message is a good sign, it means that everything is working, it's should only be a problem related to the file location.

I've added to the message the locations it's trying when it attempts to load the manual so the problem can be tracked. This can be downloaded from git (version 0.6.1debug).
If you try this I need to know:
* The message given by the manual window
* The location of knotter.exe
* The URL the browser show when you open user_guide.htm externally
(If the urls contain personal informations you can hide them, but then tell me how they differ from one another)

Does the manual window show up that small or did you resize it?
It should be created with a size of 800x600 (+ Window decorations)


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Fri Sep 14, 2012 7:57 pm  (#49) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Version 0.6.2 - Good work for Linux (Ubuntu 12-64 bit)
For Win XP back problems ...


Attachments:
Knotter-0-6-2.png
Knotter-0-6-2.png [ 129 KiB | Viewed 2824 times ]
problems 1.png
problems 1.png [ 9.25 KiB | Viewed 2824 times ]
problems 2.png
problems 2.png [ 31.69 KiB | Viewed 2824 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Fri Sep 14, 2012 11:10 pm  (#50) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12533
I'm still greatful for 0.6.1 MareroQ. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Sun Sep 16, 2012 9:24 am  (#51) 
Offline
GimpChat Member

Joined: Aug 19, 2012
Posts: 173
If you have updated the sources but compiling in the same directory from Creator, the segmentation fault may be caused by old object files and can be solved by a rebuild (or clean+build).
If it's a bug can you give me a screenshot of the call stack?
Thanks for testing Knotter!


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Tue Sep 18, 2012 11:48 am  (#52) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Hi Mattia !
As several users on this site - I am very interested in Your program - but unfortunately, i am an amateur in QT.
According to me there was a problem in Windows when you add the Debugger (version 4.6.2?).
Now build (0.7.0) ends without an error - but you could see running QT Creator Debugger ... and then the error GDM.
Can you write (as in kindergarten) to disable this feature?


Attachments:
Error-QT.png
Error-QT.png [ 43.81 KiB | Viewed 1898 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Tue Sep 18, 2012 12:09 pm  (#53) 
Offline
GimpChat Member

Joined: Aug 19, 2012
Posts: 173
You can skip the debugger if you run the application via Build -> Run (Ctrl+R), or the plain green arrow (without the blue beetle).

You can ensure you are compiling Knotter with or without debugging symbols disabled from the project profile (see screenshot)
Image


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Tue Sep 18, 2012 12:21 pm  (#54) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Do you run in mode Debug and Relase - the message (from version 0.6.2?) Is always present ....

ps. Possible was a mistake on my system - so I repeated compilation for 0.6 - does it work - 0.7 does not...

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Fri Sep 21, 2012 3:41 pm  (#55) 
Offline
GimpChat Member

Joined: Aug 19, 2012
Posts: 173
What happens if you try to launch the executable from outside Creator?
( The executable should be called knotter.exe )


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Fri Sep 21, 2012 8:12 pm  (#56) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Regardless of the version of the build (Debug or Release) - the same message Qt Creator Debugger


Attachments:
Qt Creator Debugger.png
Qt Creator Debugger.png [ 9.25 KiB | Viewed 1845 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Sat Oct 20, 2012 10:13 am  (#57) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Using MinGW
Knotter 0.7.0 Win32 bit
http://maxshare.pl/44f
Mattia - can cuddle on http://sourceforge.net/projects/knotter/files/ ?
Edit: removed link - newer version is further


Attachments:
knotter 0.7.0.png
knotter 0.7.0.png [ 67.52 KiB | Viewed 1728 times ]

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Fri Oct 26, 2012 12:20 pm, edited 1 time in total.
Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Sat Oct 20, 2012 10:41 am  (#58) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12533
Thanks for the update MareroQ; 0.7 works fine. Wish the author would allow your compiles to be shared at Sourceforge (and give you credit too for your effort). :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Sun Oct 21, 2012 5:22 am  (#59) 
Offline
GimpChat Member

Joined: Aug 19, 2012
Posts: 173
I can add a README_WINDOWS.txt and include credits for the extra files and the build.

Qt*.dll
Are fine (GPLv3)

KnotterSwithforGimp.py
Says "Copyright 2011 Rob Antonishen" but doesn't specify any license. I can't redistribute it if I don't know the license.

libgcc_s_dw2-1.dll, libstdc++-6.dll, mingwm10.dll
Should be fine.
If I understand correctly the MinGW licensing terms they are in the public domain; if they are not in the public domain they should be GPLv3+ as the whole GCC which is fine.

phonon4.dll
I don't know what that is or what the licensing terms are.

Are the building issue solved?
Does the user guide work from Knotter UI?


Top
 Post subject: Re: Anyone know how to compile Knotter for Windows?
PostPosted: Sun Oct 21, 2012 7:44 am  (#60) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
All files (outside libstdc + +-6.dll) come from Qt SDK version 1.2.1.
KnotterSwithforGimp.py - This fragment of code ShellOut.py -is: The GNU Public License is available at http://www.gnu.org/copyleft/gpl.html.

Quote:
Are the building issue solved?

Yes.The solution was to remove the debug (only relase) the building from your code.

Quote:
Does the user guide work from Knotter UI?

No.I'll try in the next week


Attachments:
Knotter Manual.png
Knotter Manual.png [ 8.78 KiB | Viewed 1693 times ]

_________________
Image

Slava
Ukraini!
Top
Post new topic Reply to topic  [ 355 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 18  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Reviving Knotter

43

No new posts SOLVED - Help with compile env

12

No new posts Attachment(s) I need a Mac Dev to compile my Gimp GEGL Plugins on Mac

8

No new posts Attachment(s) Pattern Monster (Cloud and Local version) and how to compile it.

3

No new posts Attachment(s) Why my windows are not See-through?

5



* Login  



Powered by phpBB3 © phpBB Group