Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2023, 12:01 PM
EQBasic's Avatar
EQBasic
Fire Beetle
 
Join Date: Mar 2016
Location: Earth
Posts: 8
Default Compile error - syntax errors

Im able to compile the source code for version 9200 but this most recent source code (9236), it's having issues.
I looked on the docs site to see if I missed something, somewhere between the two, but nothing stood out.
I did notice a similiar issue posted on github about a couple weeks ago.

With the 9236 build, I am getting these 3 errors (each) repeatedly, for MOST of the files it tries to compile. (16,371 errors total)

Error C2059 syntax error: ','
Error C2143 syntax error: missing ';' before '{'
Error C2447 '{': missing function header (old-style formal list?)

Eventually for every compile, it spits out this:

fatal error C1003: error count exceeds 100; stopping compilation


========== Build: 14 succeeded, 10 failed, 0 up-to-date, 0 skipped ==========

Im using VS 2017 (with latest update 15.9.57) and Cmake 3.27.6
I've updated everything I could on my end, today and even re-pulled the source code from github again.


But from the version 9200 source compile today, all was (still) successful:

24>------ Build started: Project: ALL_BUILD, Configuration: RelWithDebInfo x64 ------
24>Building Custom Rule D:/source/CMakeLists.txt
========== Build: 24 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
thanks for any help if there is any.
Reply With Quote
  #2  
Old 11-08-2023, 10:01 PM
Tootsieroller
Fire Beetle
 
Join Date: May 2020
Posts: 2
Default Same Issue

I'm getting what seems like the exact same issue. For additional info, basically all error lines are like this:

10>c:\(account folder)\common\repositories/command_subsettings_repository.h(80): error C2143: syntax error: missing ';' before '{' (compiling source file C:\(account folder)\zone\spawngroup.cpp)

The .cpp file changes (e.g., spawngroup or spell_effects) but the "command_subsettings_repository.h" is the same for every error I can see.

The lines (e.g., 80 above) iterate between 51 and 84. It does 3 errors for each code line:

"error C2143: syntax error: missing ';' before '{'"
"error C2447: '{': missing function header (old-style formal list?)"
"error C2059: syntax error: ','"

That gives it the 100 errors to quit that file and move to the next.

I assume that it's either my compiler not reading it properly or some missing syntax causing cascading issues but I would appreciate any insight.
Reply With Quote
  #3  
Old 11-12-2023, 08:51 AM
Tootsieroller
Fire Beetle
 
Join Date: May 2020
Posts: 2
Default Fixed - Visual Studio 2019

In case anyone finds this in the future - I fixed my issue by uninstalling Visual Studio 2017 and using Visual Studio 2019 instead.
Reply With Quote
  #4  
Old 11-12-2023, 09:10 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Since you're upgrading, just jump straight to VS22
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:38 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3