Jump to content
_SCAR

config.cpp has externs but no RequiredAddons

Recommended Posts

Hello all,

I am using pboProject that I purchased from Mikero's website to create a map. This map has a dependency to CUP. In my config.cpp I define the required addons:

 

requiredAddons[] = {
			"A3_Data_F",
			"A3_Roads_F",
			"A3_Map_Data",
			"A3_Map_Stratis",
			
			"A3_Plants_F",
			"A3_Structures_F",
			"A3_Structures_F_Argo",
			"A3_Structures_F_EPB",
			"A3_Structures_F_EXP",
			"A3_Structures_F_Heli",
			
			"CUP_Buildings_Data",
			"CUP_Buildings2_Data",
			"CUP_CWA_Buildings",
			"CUP_CWA_Misc",
			"CUP_Models_DBE1_Data",
			"CUP_CAMisc",
			"CUP_Misc_e_Data",
			"CUP_CAMisc2",
			"CUP_Misc3_Data",
			"CUP_CA_Plants_E",
			"CUP_CASigns2",
			"CUP_Structures_Data",
			"CUP_Structures_e_Data"		
		};

However, the map fails to compile with this error:

 

File \ca\misc\config.cpp: config.cpp has externs but no RequiredAddons
ERROR: \ca\misc\config.cpp is faulty
The addon name for \ca\misc\popelnice.p3d cannot be determined

I don't know how I am supposed to fix a config.cpp file which is included with CUP. How can I proceed?

 

Thank you,

_SCAR.

Share this post


Link to post
Share on other sites

please paste the cfgPatches section of ca\misc\config.cpp for me to look at

 

  • Like 1

Share this post


Link to post
Share on other sites

Here it is:

class CfgPatches
{
	class CUP_CAMisc
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {};
	};
	class CUP_Misc_Data
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {};
	};
	class CAMisc
	{
		units[] = {"Barrel1","Barrel2","Barrel3","Barrel4","Barrel5","Barrel6","BarrelBase","Barrels","BlackhawkWreck","Camera1","ClutterCutter","Computer","Danger","DangerEAST","DangerGUE","DangerWest","Fence","FenceWood","FenceWoodPalet","Fire","FireLit","FlagCarrier","FlagCarrierCore","FlagCarrierEast","FlagCarrierNorth","FlagCarrierSouth","FlagCarrierWest","Heli_H_civil","Heli_H_rescue","HeliH","HeliHEmpty","JeepWreck1","JeepWreck2","JeepWreck3","Land_drevtank_ruin","Land_Fuel_tank_big","Land_fuel_tank_small","Land_Fuel_tank_stairs","Land_HiddenPath_5","Land_HiddenPath_corner","Land_houpacka","Land_jezekbeton","Land_kulata_prolezacka","Land_ladder","Land_ladder_half","Land_maly_kolotoc","Land_obihacka","Land_Piskoviste","Land_podlejzacka","Land_prebehlavka","Land_prolejzacka","Land_sloup_vn","Land_sloup_vn_drat","Land_sloup_vn_drat_d","Land_sloup_vn_dratZ","Land_strelecky_post_new","Land_vez_ropa","Land_water_tank","Land_water_tank2","LODy_test","M113Wreck","misc01","Paleta1","Paleta2","PaletaHelper","snow","snowman","Target","TargetTraining","TVStudio","Vec03","Vysilacka","WallMap","Wire","xxxPhotos"};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"CAData"};
	};
};

 

Share this post


Link to post
Share on other sites

yes ok, all good. by the time you read this the dll will have been updated.

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Thank you for the fast response! Will check this tomorrow and report if I still see issues.

Share this post


Link to post
Share on other sites

if there are any remaining 'issues' i will throw rocks at you,

 

in future, please post your support questions here:
 

 

  • Like 1

Share this post


Link to post
Share on other sites
11 hours ago, mikero said:

if there are any remaining 'issues' i will throw rocks at you,

 

...I'm sorry, what?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×