Compiler Does't find defs.h and zconf.h

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
jack2018
Posts: 11
Joined: Sat Nov 03, 2018 9:29 am
Operating System: Windows 10

Re: Compiler Does't find defs.h and zconf.h

Post by jack2018 » Thu Nov 15, 2018 10:16 am

Hi, so... installed VC 8.... and
re-compiled Audacity 2.3.0 targetting VC8... and now arrived at the following LINK error:
______________________________
25> Création de la bibliothèque C:\audacity-Audacity-2.3.0\win\Release\Audacity.lib et de l'objet C:\audacity-Audacity-2.3.0\win\Release\Audacity.exp
25>AboutDialog.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __thiscall wxString::wxString(class wxString const &)" ([email protected]@[email protected]@@Z)

etc,etc,etc....
___________________________
and, more of that, this is the result of my "path" command:
________________________
jack>path
PATH=C:\ActiveTcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files (x86)\GitExtensions\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Users\jack\AppData\Local\Microsoft\WindowsApps;
___________________________
what's the hell! some new things??? some ideas? thanks!!!

jack2018
Posts: 11
Joined: Sat Nov 03, 2018 9:29 am
Operating System: Windows 10

Re: Compiler Does't find defs.h and zconf.h

Post by jack2018 » Thu Nov 15, 2018 5:17 pm

targetted the project on VS 2008
now new errors with the linker:
____________________
25> Création de la bibliothèque C:\audacity-Audacity-2.3.0\win\Release\Audacity.lib et de l'objet C:\audacity-Audacity-2.3.0\win\Release\Audacity.exp
25>AboutDialog.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __thiscall wxString::wxString(class wxString const &)" ([email protected]@[email protected]@@Z)
____________________________________
and my path is:
PATH=C:\ActiveTcl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files (x86)\GitExtensions\;C:\Program Files\Micro
soft SQL Server\130\Tools\Binn\;C:\Users\jack\AppData\Local\Microsoft\WindowsApps;
___________________
some idea please!!! ;)

steve
Site Admin
Posts: 49024
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Compiler Does't find defs.h and zconf.h

Post by steve » Thu Nov 15, 2018 6:21 pm

I don't understand why you think that VS2008 will work better than 2017, when the instructions clearly say to use 2017 :?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

jack2018
Posts: 11
Joined: Sat Nov 03, 2018 9:29 am
Operating System: Windows 10

Re: Compiler Does't find defs.h and zconf.h

Post by jack2018 » Thu Nov 15, 2018 9:51 pm

VC8 was only a try but I get the same fault with VC2017....
seems a lib not find??
AboutDialog.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __th etc...

jack2018
Posts: 11
Joined: Sat Nov 03, 2018 9:29 am
Operating System: Windows 10

Re: better but Compiler now Does't find .... setup.h???

Post by jack2018 » Mon Nov 26, 2018 10:35 am

Renewed configuration using V3.0.2 ... All is OK considering WXwidgets various compilations but error while compiling Audacity which want absolutely to use" include : '../../../lib/vc_dll/mswu/wx/setup.h" and this /vc_dll/etc... does'nt exist!!!??? even launching any dll & release build, no creation of this lib/vc_dll/etc...!!! grrrrr!!!
some more help???

jack2018
Posts: 11
Joined: Sat Nov 03, 2018 9:29 am
Operating System: Windows 10

Now vc_dll is OK...

Post by jack2018 » Tue Dec 04, 2018 4:32 pm

Strange VC2017!!!
so doing the wxwidgets dll-release manually ( nmake /f makefile.vc BUILD=release SHARED=1), the dll are correctly created in the vc_dll tree...
all the widgets are OK, demo and so on..
Now i have Audacity with the following linker fault :
_______________
1>------ Début de la génération : Projet : Audacity, Configuration : Release Win32 ------
1> Création de la bibliothèque C:\audacity-Audacity-2.3.0\win\Release\Audacity.lib et de l'objet C:\audacity-Audacity-2.3.0\win\Release\Audacity.exp
1>AboutDialog.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __thiscall wxString::wxString(class wxString const &)" ([email protected]@[email protected]@@Z)
________________________
Any idea? thanks all...

jack2018
Posts: 11
Joined: Sat Nov 03, 2018 9:29 am
Operating System: Windows 10

Re: CNow OK, compilation success!!!

Post by jack2018 » Wed Dec 05, 2018 10:45 am

Ok, a good night, some additions on external link/ reboot... and success compiling audacity debug mode and debug+dll mode!!!!
Ouf
BNut it seems that VC2017 has some unpredictable behaviour!!!!????


thanks all of you!!!
Now trying to compile with steinberg I/O!!!!!

Post Reply