-
Notifications
You must be signed in to change notification settings - Fork 1
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
CPPGUI - READ ME FIRST (SETUP) #31
Comments
When doing step 1:cmake --build . -- -j4 i get the following errors.
|
@EitanSomething Looks to me like boost didn't build right on your system. |
@EitanSomething update your slic3r source checkout and delete/remake your build directory. I've made boost a hard requirement so if it doesn't detect right it'll die earlier. |
When doing step 10 I get Boost version: 1.63.0 Boost include path: C:/dev/boost_1_63_0 Could not find the following Boost libraries:
Some (but not all) of the required Boost libraries were found. You may |
@EitanSomething I'd rebuild Boost then and make sure you used gcc to build it (instead of MSVC). CMake's telling you what is wrong and what it can't find. The Slic3r Wiki instructions will work so long as the version of GCC you are using is first in the PATH (or the only gcc in your path). Related discussion somewhere else Clean up your environment and figure out what is going on, I can't help you anymore unless you sort out your system environment. Remove other MinGW installs, make sure MinGW is in your PATH variable. Ensure Boost is built. As a last resort you could probably overwrite C:\dev\boost_1_63_0 with https://bintray.com/lordofhyphens/Slic3r/download_file?file_path=boost_1_63_0-x64-gcc-6.3.0-seh.7z It may work, or it may not (it probably won't). |
Figured it out. I needed to rename files in C:\dev\boost_1_63_0\stage\lib |
@EitanSomething I'm glad it worked out for you, but that should not have been necessary. |
At least now we know it could happen |
I've seen it; the operation on Windows is barely tested. So no, it should not happen, but it probably isn't something incorrect in your environment. Since you are primarily working on Windows you can figure it out (or ignore it until I get to it). |
Same problem with @EitanSomething . in My case : I rename libboost_filesystem-mgw73-mt-s-1_63.a => libboost_filesystem-mgw73-mt-1_63.a And the result
|
I also have wxWidget debug alert . |
I have updated the issue with a short list of minimum standards and guidelines. Code that is submitted that doesn't meet these will be required to change before it is merged. |
Trying to get this to work using visual Studios |
@EitanSomething You are largely on your own with that (although you could probably reference some of the work on Prusa3d, as they do their debug on VS IIRC). |
@lordofhyphens , what IDE you used to build this CPPGUI ? |
We currently aren’t using an IDE, but I am trying to get it to work with Visual studios 2017 |
@robbycandra I don't use an IDE and I don't plan to officially support one. I use CMAKE to build, my editor is gvim. |
I'm getting this error when building slic3r.
|
Odd, cmake should be compiling in nowide. Could you pull from slic3r/Slic3r:cppgui and give it a try? |
I built slic3r/Slic3r:cppgui and I get
|
I bet I missed a spot when I pulled apart the include definitions. Odds are the target definition for boost nowide just needs an include directory added for ${LIBDIR} |
I’ve tried to fix it, but haven’t succeeded so can you try to fix the issue. |
I will just run slic3r in a virtual machine until the errors are fixed |
I don't usually develop at all on Windows, so figuring out weird linking
issues because Windows is usually the last on my list of things to do.
Also you should be using Slic3r/Slic3r:cppgui
…On Wed, Dec 5, 2018, 11:27 AM EitanSomething ***@***.*** wrote:
I will just run slic3r in a virtual machine until the errors are fixed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB8CoppM0HH5kJ7d5hRt3TZ6g467vU2ks5u2AH8gaJpZM4T_8sm>
.
|
I am pushing an update now for this in the build system. It was just adding
2 lines to CMakeFiles.
…On Wed, Dec 5, 2018, 1:40 PM Joe Lenox ***@***.*** wrote:
I don't usually develop at all on Windows, so figuring out weird linking
issues because Windows is usually the last on my list of things to do.
Also you should be using Slic3r/Slic3r:cppgui
On Wed, Dec 5, 2018, 11:27 AM EitanSomething ***@***.***
wrote:
> I will just run slic3r in a virtual machine until the errors are fixed
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#31 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAB8CoppM0HH5kJ7d5hRt3TZ6g467vU2ks5u2AH8gaJpZM4T_8sm>
> .
>
|
@EitanSomething slic3r@cd80dac builds on my system now (that I have it put back together). |
the slicer.exe says the gui has not been built. |
Configure with -DEnable_GUI
…On Wed, Dec 5, 2018, 7:56 PM EitanSomething ***@***.*** wrote:
the slicer.exe says the gui has not been built.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAB8Cpjlvs_sMb4b8KZG7Pt7gRndJuUKks5u2HlMgaJpZM4T_8sm>
.
|
I get errors a bunch of errors when Enabling the GUI C:In file included from C:/dev/wxWidgets-3.1.1-static/include/wx/glcanvas.h:324:0, |
Don't know what is going on with the errors in wxWidgets itself, odds are the Plate3D error need includes of cstdint, the include rules are slightly different between different compilers. |
Remember that the c++ GUI is experimental and I currently do not guarantee that it works on all platforms. |
I built it in an ubuntu virtual machine when I open it an everything works. |
Preamble
If you're here to get started on working on Slic3r, thank you!
The Windows instructions were developed with my laptop.
Linux instructions were developed through my setup for Travis CI (the build server) and my main development workstation (running Debian sid).
OSX instructions were developed through the Travis CI setup (build server). They have not been tested by me on a local OSX system (yet).
Coding Standards (incomplete)
auto*
if referring to a pointer.Code Checkout
Here's how to get going for the purposes of assisting with the CPPGUI port.
If you are planning on contributing code you should create a fork to stage your code:
git clone https://github.com/lordofhyphens/Slic3r -b cppgui slic3r-cppgui
git remote add me https://<username>@github.com/<username>/Slic3r
To get updates that I or other people have done:
git pull origin cppgui
To get your code into
lordofhyphens/slic3r
git push me cppgui
<username>/Slic3r
tolordofhyphens/Slic3r
cppgui branch.General notes
If you have problems with CMake not figuring out the build settings, you need to delete and re-create the build folder before trying again.
If you see
/path/to/Slic3r
this means replace that text with where you checked out Slic3r.Windows Build Instructions
C:\dev
in the instructions with the new path.mkdir C:\dev\wxwidgets-3.1.1-build
cd C:\dev\wxwidgets-3.1.1-build
cmake -G"MinGW Makefiles" C:\dev\wxwidgets-3.1.1-src -DwxBUILD_SHARED=OFF -DCMAKE_INSTALL_PREFIX=C:\dev\wxWidgets-3.1.1-static
cmake --build . --target install -- -j4
(reference: http://docs.wxwidgets.org/3.1/overview_cmake.html)mkdir /path/to/Slic3r/build
cd /path/to/Slic3r/build
cmake -G"MinGW Makefiles" ..\src\ -DBOOST_ROOT=C:\dev\boost_1_63_0 -DSLIC3R_STATIC=1
Expected output from CMake:
cmake --build . -- -j4
Linux
cd
to the Slic3r checkout.mkdir build
cd build
cmake ../src
cmake --build .
-- -j4
to build with 4 threads.OSX
brew install wxmac
brew install boost
cd
to the Slic3r checkout.mkdir build
cd build
cmake ../src
cmake --build .
The text was updated successfully, but these errors were encountered: