Raised This Month: $7 Target: $400
 1% 

Setup Visual Studio for build module


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
karaulov
Senior Member
Join Date: Jul 2018
Old 10-17-2019 , 00:50   Setup Visual Studio for build module
Reply With Quote #1

How to configure Visual Studio 2019 and WSL for build 32bit elf modules for AMXX ?

Example module. (With sln project for LINUX, select 'release' and 'x86')
Attached Files
File Type: zip karaulov-module.zip (85.2 KB, 225 views)
karaulov is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 10-17-2019 , 04:15   Re: Setup Visual Studio for build module
Reply With Quote #2

11 downloads and no answers? (((

Please help) I got 32bit elf, but 'bad load'

0. Install Windows 10 x64
1. Install UBUNTU (for WSL)
2. Install clang++/g++ with 32 bit support to UBUNTU
3. Install Visual Studio 2019 with Linux support
4. Build this project, got 32 bit elf, but 'bad load' ((((

Last edited by karaulov; 10-17-2019 at 05:59.
karaulov is offline
karaulov
Senior Member
Join Date: Jul 2018
Old 10-19-2019 , 02:51   Re: Setup Visual Studio for build module
Reply With Quote #3

5. Choose g++ compiler
6. Add -static-##### to command line
7. Now all works!
karaulov is offline
Reply


Thread Tools
Display Modes

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 22:45.


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