Raised This Month: $51 Target: $400
 12% 

Add a flags update forward in 1.8.3


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-30-2017 , 09:26   Re: Add a flags update forward in 1.8.3
Reply With Quote #11

Thanks for the detailed insturctions. I'm familiar with git & pull requests, so don't worry about that part.

I installed Visual Studio 2017 and Python. I created a directory like you said, run the first command and got the "ambuild" directory. Then, I run the python command, but got these errors:

PHP Code:
OciXCrom MINGW64 /e/OciXCrom/Programs/CPPStuff
python ambuild/setup.py install
running install
running build
running build_py
package init file 
'ambuild\__init__.py' not found (or not a regular file)
creating build
creating build
\lib
creating build
\lib\ambuild
copying ambuild
\setup.py -> build\lib\ambuild
error
package directory 'ambuild2' does not exist 
It says the "ambuild\__init__.py" is not there, but it's definitely there.

PS: since I struggled quite a bit, if anyone else is doing this - when installing Python, make sure to check the "Add Python to PATH" box, otherwise you won't be able to run the python commands in the command line.
__________________

Last edited by OciXCrom; 12-30-2017 at 09:29.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-30-2017 , 09:39   Re: Add a flags update forward in 1.8.3
Reply With Quote #12

Try changing your working directory to CPPStuff/ambuild and then execute "python setup.py install".
__________________
klippy is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-30-2017 , 10:03   Re: Add a flags update forward in 1.8.3
Reply With Quote #13

If this is supposed to happen, I guess it worked. Thanks. Now I'm having problems with the "vcvars32" thing. How do I run it? Where do I find it? It's not in my Visual Studio install directory.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-30-2017 , 10:12   Re: Add a flags update forward in 1.8.3
Reply With Quote #14

Check out "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC" and see if there's "vcvarsall.bat". In case there is, execute
Code:
vcvarsall x86
Also check other VS directories, not just 14.0, if there are any. For example I have 11.0 and 12.0 too, but 14.0 is where all stuff is.
__________________

Last edited by klippy; 12-30-2017 at 10:14.
klippy is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-30-2017 , 10:22   Re: Add a flags update forward in 1.8.3
Reply With Quote #15

I don't even have a 14.0 directory. I have "Microsoft Visual Studio" and "Microsoft Visual Studio 8" directories. I even ran a search scan on the entire C: disk and didn't find "vcvarsall" nor "vcvars32" - https://i.imgur.com/J4OCs6l.png

Should I download an older VS version - 14/13?
__________________

Last edited by OciXCrom; 12-30-2017 at 10:25.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-30-2017 , 10:46   Re: Add a flags update forward in 1.8.3
Reply With Quote #16

Check all your disks for Visual Studio directories, also both "Program Files" and "Program Files (x86)" if you haven't already.
It could be that you didn't install Visual C++ while installing Visual Studio. I know that the installation process has changed a bit in 2017 compared to 2013 and 2015. You can go to "Add or remove programs", find Visual Studio and click "Modify", it should prompt you with a dialog where you can choose individual components to un/install.
__________________

Last edited by klippy; 12-30-2017 at 10:47.
klippy is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-30-2017 , 10:56   Re: Add a flags update forward in 1.8.3
Reply With Quote #17

Quote:
Originally Posted by KliPPy View Post
Check all your disks for Visual Studio directories, also both "Program Files" and "Program Files (x86)" if you haven't already.
It could be that you didn't install Visual C++ while installing Visual Studio. I know that the installation process has changed a bit in 2017 compared to 2013 and 2015. You can go to "Add or remove programs", find Visual Studio and click "Modify", it should prompt you with a dialog where you can choose individual components to un/install.
You can do that by going to file -> new project -> open visual studio installer.
__________________

Last edited by HamletEagle; 12-30-2017 at 10:56.
HamletEagle is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-30-2017 , 11:27   Re: Add a flags update forward in 1.8.3
Reply With Quote #18

Quote:
Originally Posted by HamletEagle View Post
You can do that by going to file -> new project -> open visual studio installer.
I prefer not opening that bloated mess. :p
__________________

Last edited by klippy; 12-30-2017 at 11:27.
klippy is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-30-2017 , 12:47   Re: Add a flags update forward in 1.8.3
Reply With Quote #19

Ugh - https://i.imgur.com/1LvjV5k.png

Which one do I need exactly? There are even more down on the picture.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-30-2017 , 13:07   Re: Add a flags update forward in 1.8.3
Reply With Quote #20

Probably just v140/v141 toolsets and Windows XP C++ support. Not sure because I am not using the 2017 version. AMXX is compiled with v120_xp, but XP support may be dropped at one point.
__________________

Last edited by klippy; 12-30-2017 at 13:08.
klippy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode