Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


ccode section compilation failed undefined symbol '_stricmp'

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dave_Scream
Cheater
Reputation: 0

Joined: 06 Dec 2009
Posts: 36

PostPosted: Sat May 11, 2024 5:15 am    Post subject: ccode section compilation failed undefined symbol '_stricmp' Reply with quote

I need VK_SHIFT value from windows headers. I put headers at the top:


{$c}
#include <windows.h>
#include <tchar.h>
#include <string.h>
/*
#include <windows.h>
#include <basetyps.h>
#include <winnt.h>
#include <basetsd.h>
#include <Winuser.h>
*/
#define SPEED_MULTIPLIER_HOTKEY VK_SHIFT

...
[ENABLE]
...
[DISABLE]

And getting error
<<ccode section compilation failed:tcc: error: undefined symbol '_strnicmp'
tcc: error: undefined symbol '_stricmp'
>>


how to fix?

UPD.
Found answer
Dark Byte wrote:
if you add
Code:

#define NO_OLDNAMES

you can ignore the _stricmp and _strnicmp which are used by string.h


https://forum.cheatengine.org/viewtopic.php?p=5788393#5788393
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites