Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows compile #72

Open
hurzl opened this issue Mar 13, 2012 · 13 comments
Open

Windows compile #72

hurzl opened this issue Mar 13, 2012 · 13 comments

Comments

@hurzl
Copy link
Collaborator

hurzl commented Mar 13, 2012

maybe someone can tell which versions of libraries can be compiled on mingw32
and work with gtk+-2.20.1?

gettext
libiconv
glib
glibmm
gtkmm
atk
atkmm
gtkglext
gdkglext
cairo
cairomm
pango
pangomm
pangocairo
guile?
dbus?
freeglut

etc.???

@thaytan
Copy link
Collaborator

thaytan commented Mar 13, 2012

I nearly have take 2 of the win32 build bits ready to commit... maybe later tonight

@hurzl
Copy link
Collaborator Author

hurzl commented Mar 13, 2012

great.

and somehow our configure.ac doesn't do pkg-config right if cross compiling with --target/--host

AC_CANONICAL_SYSTEM doesn't help
neither does setting PKG_CONFIG_PATH or --prefix or whatever

@thaytan
Copy link
Collaborator

thaytan commented Mar 13, 2012

Can you be more specific?

@hurzl
Copy link
Collaborator Author

hurzl commented Mar 13, 2012

none of the necessary include/lib paths are included when compiling
necessary libs are all missing in the command when linking

cant replicate it now because my reinstall of mingw is not complete enough

i used ./autogen.sh --target=mingw32 --host=mingw32 --prefix=/usr/local/mingw32/

and did export PKG_CONFIG_PATH=/usr/local/mingw32/lib/pkgconfig
which works with all other packages

@thaytan
Copy link
Collaborator

thaytan commented Mar 13, 2012

I can't say what might be wrong from that description, although I'll not I am using the configure command I put in the WIN32_CROSS_COMPILE.txt file

@hurzl
Copy link
Collaborator Author

hurzl commented Mar 13, 2012

ok even if I use configure i get no paths.
I hacked together a configure command with all the CFLAGS which is too long to post here
.... but that's not a solution

and how do you use pkg-config.exe?
wine is no option here

@thaytan
Copy link
Collaborator

thaytan commented Mar 13, 2012

I'm using Wine to run pkg-config.exe. My new method doesn't use that, but it still relies on wine in one place - which can probably be avoided too.

@mmeeks
Copy link
Collaborator

mmeeks commented Mar 13, 2012

I would download the binaries from here:

https://build.opensuse.org/project/show?project=windows%3Amingw%3Awin32

if you're building on windows - it'll save a lot of effort; it'd be even better to plug the last few bits (the minus-minus) packages into that framework - it's easy to fork & create your own repos based on that there & submit them back. I'd be happy to poke Fridrich (the maintainer) about that.

@hurzl
Copy link
Collaborator Author

hurzl commented Mar 13, 2012

no version information anywhere at those suse packages...

But I now see that arch linux has gtk+-2.24.10 for mingw32
so it has to be possible ...
my linux box is too weak for all this.

@thaytan
Copy link
Collaborator

thaytan commented Mar 17, 2012

I've committed the jhbuild cross compiler infrastructure to git, and an NSIS based installer script. It might be a little fragile at first, but hopefully we can make it more robust over time - but the only thing left blocking an actual release is to get libreprap working on Windows. After that, I think we should do a 2.0 release.

@thaytan thaytan closed this as completed Mar 17, 2012
@hurzl hurzl reopened this Mar 17, 2012
@hurzl
Copy link
Collaborator Author

hurzl commented Mar 17, 2012

There's still a problem with the GL window. It doesn't resize properly and takes very long if I load a file.(Win7 64)

@netpipe
Copy link

netpipe commented Apr 21, 2019

https://github.com/tecan/QPrint3D qt might make a good windows alternative was thinking about using GCodeViz with it.

@hurzl
Copy link
Collaborator Author

hurzl commented Apr 21, 2019

Probably yes if someone would like to port it ...?

hurzl added a commit that referenced this issue Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants