News:

Download Pelles C here: http://www.pellesc.se

Main Menu

Recent posts

#41
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - July 19, 2026, 07:01:17 PM
I have found a simple solution to the current problem and the problem of Version 10 not working in Windows 11.

I uninstalled version 14.5, and installed version 11. Years ago, I had downloaded the setup.exe for version 11 and never installed it (ditto for version 12); I was perfectly happy with version 10.
#42
Beginner questions / Re: Unresolved External Symbol
Last post by StevenCooper - July 19, 2026, 06:35:43 PM
One of the first things I did was search my code for a reference to 'stod'; there are none. Next, I checked the help files for information about it...there is none.

You mentioned a macro reference to the atof() function; I looked it up in the help files to see what include file is required: "stdlib.h". It's always been included in the original code from the begining.

What has changed from version 10 to version 14 that this error is now occuring?

And how do I fix it?
#43
Beginner questions / Re: Just installed Pelles C an...
Last post by Vortex - July 19, 2026, 11:15:31 AM
Hi Pablo,

Did you remove the previous version of Pelles C? Any remnants from the old installation?
#44
Projects developed with Pelles C / Re: Simple Calendar
Last post by Marco - July 19, 2026, 10:22:53 AM
Hi John,

QuoteRight click in any open area of the controls line to set the Alert time to the current system time.
Thank you for taking the time to implement this feature.

QuoteI hope you don't mind that I acknowledge your assistance in the help file.
No problem at all! In fact, thank you. I do the same when a user reports a bug to me regarding WinContig.

Marco
#45
Beginner questions / Re: Just installed Pelles C an...
Last post by TimoVJL - July 19, 2026, 08:45:32 AM
Try it once with Admin account, if it check file like sysdefs.tag

An old Depends.exe might show if it fails with files.

#46
Beginner questions / Re: Unresolved External Symbol
Last post by TimoVJL - July 19, 2026, 08:36:12 AM
Just search it from a your code.
A macro atof use it in version 10.
/* internal stuff */
...
/* macro overrides */
#define atof(s)  __stod(s,0,0)

[155]extern _CRTIMP double __cdecl __stod(const char *, char **, long);
[172]#define atof(s)  __stod(s,0,0)
[177]#define strtod(s,endptr)  __stod(s,endptr,0)
#47
Beginner questions / Unresolved External Symbol
Last post by StevenCooper - July 19, 2026, 08:15:51 AM
I recently moved from a Windows 10 computer to a Windows 11 computer; I had previously been using Version 10 of Pelles C, but it wouldn't work in Windows 11, so I "jumped" all the way up to Pelles C Version 14.5.

Two programs I "test" compiled under version 14.5 compiled and linked just fine, no problems.

But a third program, that compiled just fine under version 10, is now getting the following error message under Version 14.5:

POLINK: error: Unresolved external symbol '__stod' - referenced from 'C:\Users\steco\Documents\Pelles C Projects\LotteryScratchOffs\output\LotteryScratchOffs.obj'.

I have searched this forum for information about this, but found only one refernce to it from 12 years ago.

I have also search the Internet and can find no information about this '__stod' symbol.

Can somebody help me, please?
#48
Beginner questions / Re: Just installed Pelles C an...
Last post by PabloMack - July 19, 2026, 05:17:02 AM
I am running Windows 10. I installed PellesC in an Admin account for everyone but I am trying to use it under a non-privilege account.
#49
Beginner questions / Re: Just installed Pelles C an...
Last post by John Z - July 19, 2026, 02:16:47 AM
Sage advice IF one uses various Pelles C tools outside of the IDE.

However if staying within the IDE I've never had an issue with installing Pelles C into directories with spaces, all the way back to at least Windows ME  :) .

My current install path C:\Program Files\PellesC_14_5\
My current source code path C:\Program Files\PellesC\Files\
even a path like C:\Program Files\PellesC\Files\BBBBuilder_PS - Copy (2) works without any problems.

I've never had Windows Defender flag Pelles C neither has my GData antivirus program. Although we've heard many stories about the 'free' antivirus programs flagging Pelles as well as programs built by Pelles C.


So just another viewpoint -

There is not enough information to be able to help Pablo until he posts more IMO.

John Z
#50
Beginner questions / Re: Just installed Pelles C an...
Last post by MrBcx - July 18, 2026, 04:13:31 PM
Hi Pablo,

For 20+ years, I've kept C:\Pellesc\ in the root of my drive and I tell
Windows to exclude that folder from Windows Defender wanting to scan it.

I never have problems using Pelles C with that arrangement.

The main thing is: DO NOT use spaces in your folder name.