Giter Club home page Giter Club logo

Comments (4)

danielga avatar danielga commented on May 24, 2024

This repo still uses the old project generator, but it should work fine since I made it backwards compatible this time. Have you tried opening a command line in that folder and running premake5 vsXXXX to get more output? That way, it should keep it open.

from gmsv_serversecure.

VaasKahnGrim avatar VaasKahnGrim commented on May 24, 2024

well I managed to get the error this time but it doesn't really make much sense to me.

C:\Users\cewei\Downloads\gmsv_serversecure-master (1)\gmsv_serversecure-master\projects>premake5 vs2019
Error: ...aster (1)/gmsv_serversecure-master/projects/premake5.lua:4: invalid escape sequence near '"C:\U'

and below is the lua code for the premake5.lua(I double checked the folderpath for garrysmod_common and it should be exactly as file explorer shows it)

I also tried with the file path for garrysmod_common set to "../dependancies/garrysmod_common" aswell just to see if it worked. but that one simply errors out on line 8 saying I didn't provide a path to garrysmod_common

newoption({
	trigger = "gmcommon",
	description = "Sets the path to the garrysmod_common (https://github.com/danielga/garrysmod_common) directory",
	value = "C:\Users\cewei\Downloads\rn_modules\garrysmod_common\garrysmod_common"
})

local gmcommon = _OPTIONS.gmcommon or os.getenv("GARRYSMOD_COMMON")
assert(gmcommon ~= nil, "you didn't provide a path to your garrysmod_common (https://github.com/danielga/garrysmod_common) directory")
include(gmcommon)

CreateWorkspace({name = "serversecure.core", abi_compatible = true})
	CreateProject({serverside = true})
		IncludeSDKCommon()
		IncludeSDKTier0()
		IncludeSDKTier1()
		IncludeSteamAPI()
		IncludeDetouring()
		IncludeScanning()
		files({
			"../source/netfilter/*.cpp",
			"../source/netfilter/*.hpp"
		})

from gmsv_serversecure.

VaasKahnGrim avatar VaasKahnGrim commented on May 24, 2024

well I managed to get past the issue with premake5 by manually editing the lua files for it to automatically point to the path.

tho now I'm unsure what to do with the new issue I have. I tried building it on release win32 with no edits made but I get this in my error console for vs https://pastebin.com/s6eV1K13

from gmsv_serversecure.

danielga avatar danielga commented on May 24, 2024

The path error is related to you editing the file directly and improperly. You're supposed to edit environment variables of your terminal/command line. GARRYSMOD_COMMON contains the path to your local copy of the garrysmod_common repository and SOURCE_SDK the path to your local copy of my sourcesdk-minimal repository.
Regarding that error, I've made a fix on garrysmod_common so make sure to pull the latest changes.

from gmsv_serversecure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.