-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Use CMake to build Slic3r XS #4168
Conversation
Going to work out most of the build server pain/suffering before I merge this. |
…things. Yet I persist.
…he the file later)
+1 for this, a real benefit of this is that this will allow incremental builds instead of rebuilding all cpp files every time with I tried creating a qmake project for libslic3r (XS) simply so that I could do the build with |
@GilesBathgate I've got the verbosity turned up |
@lordofhyphens I wonder if it also needs |
Here's all the switches being used in the Build.PL compile of XS.cpp (the only holdout so far on Windows)
And here's the command spit out with cmake.
Both of these commands have had some light trimming (the second one calls g++, not gcc), and I sorted the commands alphabetically (easier to diff that way). |
Seeing as how this is the last issue blocking 1.3.0 from being released, can this be resolved easily (say, within the next week)? If not, it seems that this should be deferred to the next release so that 1.3.0 can ship. |
For what it's worth, per #4168 (comment), I still don't see EDIT: Never mind, it does appear that it's being added, somehow, though the |
If I understand correctly this PR has nothing to do with the being able to release, it's merely an improvement to the development tooling. I do agree that it is nice to have, but there is no reason for it to hold up the release. |
|
@lordofhyphens Does that location contain a file which in turn contains the definition for the thing which cannot be found in the compile error? |
Not that I can tell.
…On Jan 12, 2018 3:11 AM, "Giles Bathgate" ***@***.***> wrote:
@lordofhyphens <https://github.com/lordofhyphens> Does that location
contain a file which in turn contains the definition for the thing which
cannot be found in the compile error?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4168 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAB8CvD-hfjtcjCvda-fKN5n2-p09rllks5tJyHXgaJpZM4QDvpx>
.
|
@lordofhyphens in typedef struct interpreter PerlInterpreter; The interpreter struct looks like this: struct interpreter {
# ifndef USE_5005THREADS
# include "thrdvar.h"
# endif
# include "intrpvar.h"
/*
* The following is a buffer where new variables must
* be defined to maintain binary compatibility with previous versions
*/
PERLVARA(object_compatibility,30, char)
}; So something is up with that typedef, the struct, or the |
It only does this on Windows, of course.
…On Jan 12, 2018 9:34 AM, "Giles Bathgate" ***@***.***> wrote:
@lordofhyphens <https://github.com/lordofhyphens> in perl.h we have
PerlInterpreter but this is then defined
typedef struct interpreter PerlInterpreter;
The interpreter struct looks like this:
struct interpreter {
# ifndef USE_5005THREADS
# include "thrdvar.h"
# endif
# include "intrpvar.h"/* * The following is a buffer where new variables must * be defined to maintain binary compatibility with previous versions */PERLVARA(object_compatibility,30, char)
};
So something is up with that typedef, the struct, or the intrpvar.h
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4168 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAB8CluHmDx6T5QDkBT8-V2mIQSi1Z58ks5tJ3uDgaJpZM4QDvpx>
.
|
Any plans to continue with this? Well, I could open a PR against the cmake branch to start with |
I have yet to be able to figure out what is going on with the build on
windows. I might have to work out a stopgap where windows builds use the
old build.pl
…On Feb 13, 2018 8:32 AM, "platsch" ***@***.***> wrote:
Any plans to continue with this?
I'd like to write some new test cases and it would be great if I could do
it with catch...
which in turn would require the cmake stuff to be merged so I can PR my
catch-branch...
Well, I could open a PR against the cmake branch to start with
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4168 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAB8Cpo5m8gd7Bp42lqlNn4C-H6gT_6qks5tUZzrgaJpZM4QDvpx>
.
|
The issue mentioned on CPAN uses a patch for perl.h, found at the bottom of this thread: https://rt.cpan.org/Public/Bug/Display.html?id=121683 The patch should be in the latest perl. Maybe try addng -DHAS_STRTOUL and -DHAS_STRTOULL? Cannot figure out where PerlInterpreter comes from to figure out what the problem is. |
CMake is being used for the C++GUI efforts and the C++CLI. |
Working from the efforts done by @bubnikv and @CReimer