-
Notifications
You must be signed in to change notification settings - Fork 173
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
Build the GTK+ stack! Need Help with Microsoft Visual Studio 2013 Version Details for command? #401
Comments
My version I believe with great assumption although I still can not be certain is that I have a 32bit Version of Microsoft Visual Studio 2013. I assume because I did here many mention that there was only a 32bit version of Microsoft Visual Studio 2013. |
The visual studio 2013 is a little bit old (in computer science 6 years are ages) and you should use a newer one (2017 or, better, 2019: also the community versions are ok). To try with the 2013 you should follow the instrunction: install a suitable python and then launch the scripts and see what's happen. The parameter you need to pass are the vs version (--vs-ver 12) and the installation dir of the visual studio suite (--vs-install-path xxxx) and a project to see if it runs. You can start with libpng (a simple lib) and, if it works, continue with alla the stack. |
Could you give one full example with the exact type that needs to be typed in Command Prompt that starts with the word python. Also if you could give me a link to get any files needed before I type the information into command prompt which needs to start with the word python. My install directory is C:\Program Files (x86)\Microsoft Visual Studio 12.0\ so you mentioned that the command would need to be COMMAND PROMPT>"**python .\build.py build -p x64 --vs-ver 12 --vs-install-path C:\Program Files (x86)\Microsoft Visual Studio 12.0**" and I think I am missing a project if you could just provide me with one full example and a project which has a location from where I could download the project I would appreciate your help on trying to turn me into a computer guru that maybe one day I may be a person just like you helping people on the web at www.github.com ! It noticed that there is a x64 and a -p on there command string although I believe that I have a 32bit version and I think that x64 would be a 64 bit version do I need to change that to x86 and what would be the purpose for the "-p" part of this command string and should I type the word "build" also into the command which is before the "-p". Would there be a location where it would have a documentation regarding the question That I am asking at the current moment. The building the stack a very in depth documentation? |
If you would happen to know where I would be able to get a very detailed document or file which contains information regarding my issue I would truly appreciate any type of link which would provide very in depth information regrading this type of python build with any version of Microsoft Visual Studio it would be great that why I do not need to ask so many questions here and waste your time! Sorry for any time you may have wasted as is with this comment question or any previous comment question! |
First of all you need the python language: you can download it from www.python.org, There is a download button, select All Release, then in the second box click on Python 3.7.9 (dated Aug, 17, 2020) to get to all the packages (in the bottom of the page). Select and download 'Window x86 embeddable zip file' and, at the end of the download extract it in c:\gtk-build\py Now you have the needed python, so follow the instruction: go in a shell, change dir to c:\gtk-build\github\gvsbuild and type c:\gtk-build\py\python --version I everything is ok you should get a 'Python 3.7.9' response. Now you can start building some projects (the projects are downloaded with the build script so you don't need to fetch them from outside, is the script that get what it needs). So to build your first project you can type: c:\gtk-build\py\python.exe build.py build -p x86 --vs-ver 12 --vs-install-path "C:\Program Files (x86)\Microsoft Visual Studio 12.0" zlib if it builds then youy can procede with more projects and add it at the end of the command line: to build the gtk3 stack you can type: c:\gtk-build\py\python.exe build.py build -p x86 --vs-ver 12 --vs-install-path "C:\Program Files (x86)\Microsoft Visual Studio 12.0" gtk3 and so on. Hope this helps, with best regards
|
It does work when I run that command you provided from the CMD PROMPT at the directory c:\gtk-build\github\gvsbuild\ location |
After I run that command will I be able to use the GTK stack api to build from Microsoft Visual Studio 2013 GUI Interface and compile from that GUI Interface? Or do I need to compile from the command prompt. Also I did run the command you told me to run although I did not see a program start after it finished. All I was able to see was three items which were built but only a listed at the end of command prompt after the command finished doing what it needed to do! |
How would I run the program to see what it looks like after I do that command you provided. It did work although I did not see any programs run at the end! |
I also found the Win32 Folder in the GTK folder located at C:\gtk-build\gtk\Win32 this Win32 Folder has the files I would need to include at the top of my C file that I create in Microsoft Visual Studio 2013 I would assume I would need to include it with quotes "" instead of <> greater than and less than signs also I would need to tell the Microsoft Visual Studio 2013 GUI where to find these include header files in the Win32 folder located in the GTK location. Great so all I would need to do Is use only what I installed with your command and if I would like to use any other API's I would install them the same way I did this API. where would I find information that is related to this API I just installed with your command? |
https://developer.gnome.org/gtk3/stable/ I would assume this would be the GTK3 API and what would be the location of what is usable in the API with the Install command I put in COMMAND PROMPT which was spoken about in this entire comment section from top to bottom. The command I use which was COMMAND PROMPT = C:\gtk-build\github\gvsbuild> python .\build -p x86 --vs-ver 12 --vs-install-path "C:\Program Files (x86)\Microsoft Visual Studio 12.0" zlib |
This first command works |
This first command works although the second command c:\gtk-build\github\gvsbuild> .\build.py build -p x86 --vs-ver 12 --vs-install-path "C:\Program Files (x86)\Microsoft Visual Studio 12.0" gtk3 The second command gives me some type of issue! Gives me some type of issue? Cleaning up the build environment During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Any ideas on what I must have not completed before running the second command? |
Sorry, you also need to install git to fetch some of the projects (we
assume that, having the script & the patches, you also have git installed
but it's not always the case) so go for it and install it in a path with
the name git in it so it's kept when we launch the scripts
Il giorno gio 3 dic 2020 alle ore 02:11 Charles Victor Wright <
[email protected]> ha scritto:
… Any ideas on what I must have not completed before running the second
command?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#401 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4BXAOTJJE66ZLTQS5BCPLSS3QTXANCNFSM4UDWAZSA>
.
|
I installed GIT that went well and than the second command was working after I typed it in. It was working for a long time. It looks like it was installing many files. It looks as well it might have almost been finished installing but just at the end before it did finish I received this error! |
fcarch.c |
Error: fontconfig build failed |
This was the last line something about a fontconfig directory for Microsoft Visual Studio 2013! |
It was doing lots of installing before this error occur. It was at least for 5 min installing before this error occur! |
I was almost sure it was about to finish installing than this error occur! |
Any suggestions? |
Just making a post just to show that I am much aware of this blog comment and awaiting a response to the final part of this entire blog comment. For the suggestion of the Error! |
Just leaving a message to show that I am eager to hear from you when you get an opportunity to send me a response! Truly appreciate all your help! Thank You! |
Building project fontconfig (2.13.1) C:\gtk-build\github\gvsbuild> |
Building project fontconfig (2.13.1) |
Revert "fontconfig: update to version 2.13.1" Does it have anything to do with the Revert? Does this have anything to do with a faulty file in the installation or some type of misconfiguration with Visual Studio 2013? |
Now start a command-line window as a regular user. Go to the gvsbuild directory and start building with the script. For example, to build 32-bit GTK+ 3 and its dependencies with Visual Studio 2013 (the default), run: cd C:\gtk-build\github\gvsbuild To build the 64-bit version, run: cd C:\gtk-build\github\gvsbuild |
These are the two commands I have trouble with! I double checked the msys2 installation and confirmed that I did run the following commands from the msys2 console: Until further rerun not required may run more than twice: Install GTK3 with msys2 and two packages install with msys2 I do not know if I installed everything required so that I can run from command prompt the final two command prompt commands so that these command work. These two command prompt commands are for 64bit and 32bit which cause an error while installing called: Final two commands from command prompt: |
Still eager for a suggestion! Truly appreciate any help you could give. Meanwhile I will check other locations on the web to see what I could find regarding the issue! |
I simply install Visual Studio 2019 Professional. |
Question regarding building the python commands to run and build the necessary files to use GTK3 with Microsoft Visual Studio 2013 and make GUI or Graphics with the C Programming language!
What should I type so that I can prepare Microsoft Visual Studio 2013 to use GTK3 so that I can program with C Code and do graphics or make GUI interfaces?
STEP 4 gives the procedure to do this activity although there are many versions of Microsoft Visual Studio 2013, 2015, 2017, 2019. For example. And also to mention the two version types 32bit or 64bit.
Step_4 - Now start a command-line window as a regular user. Go to the gvsbuild directory and start building with the script. For example, to build 32-bit GTK+ 3 and its dependencies with Visual Studio 2013 (the default), run:
When the procedure above is complete the STACK will be complete!
When the script is done, your GTK+ stack will be found under C:\gtk-build\gtk. Enjoy!
Below is my screen shot for my version of Microsoft Visual Studio 2013!
Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.8.03761
Installed Version: Professional
Microsoft Office Developer Tools for Visual Studio 2013 ENU 06177-004-0447006-02534
Microsoft Office Developer Tools for Visual Studio 2013 ENU
Team Explorer for Visual Studio 2013 06177-004-0447006-02534
Microsoft Team Explorer for Visual Studio 2013
Visual Basic 2013 06177-004-0447006-02534
Microsoft Visual Basic 2013
Visual C# 2013 06177-004-0447006-02534
Microsoft Visual C# 2013
Visual C++ 2013 06177-004-0447006-02534
Microsoft Visual C++ 2013
Visual F# 2013 06177-004-0447006-02534
Microsoft Visual F# 2013
Visual Studio 2013 Code Analysis Spell Checker 06177-004-0447006-02534
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.0.11001.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.
Microsoft Web Developer Tools 2013 2.0.40926.0
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure
NuGet Package Manager 2.7.40911.287
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools
Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services Tools
Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.
Also I do not see were it would say 32bit or 64bit version of windows! It usually will say 32 or 64! I will find out while I wait for a response on where or how to get the command to build the GTK+ stack for my version of Microsoft Visual Studio 2013!
The text was updated successfully, but these errors were encountered: