Skip to content
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

Unable to make incognito.exe #2

Open
Gr1mmie opened this issue Aug 4, 2020 · 4 comments
Open

Unable to make incognito.exe #2

Gr1mmie opened this issue Aug 4, 2020 · 4 comments

Comments

@Gr1mmie
Copy link

Gr1mmie commented Aug 4, 2020

I'm trying to get incognito to run as the standalone exe but when I pull down the repo and try to run make I get the following issue
image

On the blog post showcasing v2.0 (https://labs.f-secure.com/archive/incognito-v2-0-released/) it seems to be running as an exe. Seeing as there is a makefile in the repo, I assumed make is used to compile it all into an exe. Is there another way to do this aside from using make?

@DarknightCanada
Copy link

@Gr1mmie were you able to solve the issue? I get the same error

@v1stra
Copy link

v1stra commented Nov 24, 2020

I was able to build it on windows using visual studio 2017 dev command prompt.

I had to add legacy_stdio_definitions.lib to LIBS in the makefile, and modify handle_arguments.c to use vsnprintf instead of _vsnprintf and to use gets_s instead of gets.

nmake /A

@maksyche
Copy link

@Gr1mmie @DarknightCanada @v1stra, Binaries were removed in the last commit (I don't know why, really), but they are available here 394545f. I use .exe file from this commit and it works fine for me.

@r3nt0n
Copy link

r3nt0n commented Apr 5, 2023

I was able to build it on windows using visual studio 2017 dev command prompt.

I had to add legacy_stdio_definitions.lib to LIBS in the makefile, and modify handle_arguments.c to use vsnprintf instead of _vsnprintf and to use gets_s instead of gets.

nmake /A

Hey thanks!

Just for completeness, in addition to changing the call from gets to gets_s, we need to add this required parameter, the function call should look like this:

ret_value = gets_s(string, sizeof(string))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants